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

Function poolStoreString

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

Source from the content-addressed store, hash-verified

8080}
8081
8082static XML_Char *
8083poolStoreString(STRING_POOL *pool, const ENCODING *enc, const char *ptr,
8084 const char *end) {
8085 if (! poolAppend(pool, enc, ptr, end))
8086 return NULL;
8087 if (pool->ptr == pool->end && ! poolGrow(pool))
8088 return NULL;
8089 *(pool->ptr)++ = 0;
8090 return pool->start;
8091}
8092
8093static size_t
8094poolBytesToAllocateFor(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