MCPcopy Create free account
hub / github.com/Kitware/CMake / poolCopyString

Function poolCopyString

Utilities/cmexpat/lib/xmlparse.c:8020–8029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8018}
8019
8020static const XML_Char *FASTCALL
8021poolCopyString(STRING_POOL *pool, const XML_Char *s) {
8022 do {
8023 if (! poolAppendChar(pool, *s))
8024 return NULL;
8025 } while (*s++);
8026 s = pool->start;
8027 poolFinish(pool);
8028 return s;
8029}
8030
8031static const XML_Char *
8032poolCopyStringN(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

Used in the wild real call sites across dependent graphs

searching dependent graphs…