Searched refs:originalPtr (Results 1 – 2 of 2) sorted by relevance
71 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) { in Realloc() argument74 std::free(originalPtr); in Realloc()77 return std::realloc(originalPtr, newSize); in Realloc()190 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) { in Realloc() argument191 if (originalPtr == 0) in Realloc()199 return originalPtr; in Realloc()202 …if (originalPtr == (char *)(chunkHead_) + RAPIDJSON_ALIGN(sizeof(ChunkHeader)) + chunkHead_->size … in Realloc()207 return originalPtr; in Realloc()215 std::memcpy(newBuffer, originalPtr, originalSize); in Realloc()
142 // \param originalPtr The pointer to current memory block. Null pointer is permitted.145 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize);