MCPcopy Create free account
hub / github.com/Geant4/geant4 / poolCopyString

Function poolCopyString

source/externals/expat/src/xmlparse.c:7216–7225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7214}
7215
7216static const XML_Char *FASTCALL
7217poolCopyString(STRING_POOL *pool, const XML_Char *s) {
7218 do {
7219 if (! poolAppendChar(pool, *s))
7220 return NULL;
7221 } while (*s++);
7222 s = pool->start;
7223 poolFinish(pool);
7224 return s;
7225}
7226
7227static const XML_Char *
7228poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) {

Callers 5

XML_SetBaseFunction · 0.85
storeAttsFunction · 0.85
setContextFunction · 0.85
dtdCopyFunction · 0.85
copyEntityTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected