Lines Matching refs:bytesToAllocate
1921 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local
1922 if (bytesToAllocate > 0) { in XML_Parse()
1923 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse()
1932 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse()
6948 const int bytesToAllocate = (int)( in poolBytesToAllocateFor() local
6950 if (bytesToAllocate < 0) in poolBytesToAllocateFor()
6953 return (size_t)bytesToAllocate; in poolBytesToAllocateFor()
6986 size_t bytesToAllocate; in poolGrow() local
7002 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow()
7003 if (bytesToAllocate == 0) in poolGrow()
7007 pool->mem->realloc_fcn(pool->blocks, (unsigned)bytesToAllocate); in poolGrow()
7019 size_t bytesToAllocate; in poolGrow() local
7044 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow()
7045 if (bytesToAllocate == 0) in poolGrow()
7048 tem = (BLOCK *)pool->mem->malloc_fcn(bytesToAllocate); in poolGrow()