MCPcopy Create free account
hub / github.com/CLD2Owners/cld2 / ReadEntity

Function ReadEntity

internal/getonescriptspan.cc:393–449  ·  view source on GitHub ↗

Unescape the current character pointed to by src. SETS the number of chars read for the conversion (in UTF8). If src isn't a valid entity, just consume the & and RETURN -1. If src doesn't point to & -- which it should -- set src_consumed to 0 and RETURN -1.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

EntityToBufferFunction · 0.85

Calls 4

strto32_base16Function · 0.85
strto32_base10Function · 0.85
ascii_isalnumFunction · 0.85
LookupEntityFunction · 0.85

Tested by

no test coverage detected