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

Function poolStoreString

Utilities/cmexpat/lib/xmlparse.c:8066–8075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8064}
8065
8066static XML_Char *
8067poolStoreString(STRING_POOL *pool, const ENCODING *enc, const char *ptr,
8068 const char *end) {
8069 if (! poolAppend(pool, enc, ptr, end))
8070 return NULL;
8071 if (pool->ptr == pool->end && ! poolGrow(pool))
8072 return NULL;
8073 *(pool->ptr)++ = 0;
8074 return pool->start;
8075}
8076
8077static size_t
8078poolBytesToAllocateFor(int blockSize) {

Callers 10

doContentFunction · 0.85
storeAttsFunction · 0.85
processXmlDeclFunction · 0.85
doPrologFunction · 0.85
appendAttributeValueFunction · 0.85
storeEntityValueFunction · 0.85
reportCommentFunction · 0.85
getAttributeIdFunction · 0.85
getElementTypeFunction · 0.85

Calls 2

poolAppendFunction · 0.85
poolGrowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…