MCPcopy Create free account
hub / github.com/WinMerge/winmerge / poolCopyString

Function poolCopyString

Externals/poco/XML/src/xmlparse.cpp:8036–8045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8034}
8035
8036static const XML_Char *FASTCALL
8037poolCopyString(STRING_POOL *pool, const XML_Char *s) {
8038 do {
8039 if (! poolAppendChar(pool, *s))
8040 return NULL;
8041 } while (*s++);
8042 s = pool->start;
8043 poolFinish(pool);
8044 return s;
8045}
8046
8047static const XML_Char *
8048poolCopyStringN(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