Green’s Dictionary of Slang

codes n.

(UK gang) postcodes, i.e. areas where specific gangs predominate and to which they identify.

[UK]T. Thorne (ed.) ‘Drill Slang Glossary’ at Forensic Linguistic Databank 🌐 Codes – ‘postcode areas’, zones where gangs dominate.