Searched refs:ChunkHeader (Results 1 – 1 of 1) sorted by relevance
129 RAPIDJSON_ASSERT(size > sizeof(ChunkHeader));130 chunkHead_ = reinterpret_cast<ChunkHeader*>(buffer);131 chunkHead_->capacity = size - sizeof(ChunkHeader);147 ChunkHeader* next = chunkHead_->next; in Clear()160 for (ChunkHeader* c = chunkHead_; c != 0; c = c->next) in Capacity()170 for (ChunkHeader* c = chunkHead_; c != 0; c = c->next) in Size()184 …void *buffer = reinterpret_cast<char *>(chunkHead_) + RAPIDJSON_ALIGN(sizeof(ChunkHeader)) + chunk… in Malloc()202 …if (originalPtr == (char *)(chunkHead_) + RAPIDJSON_ALIGN(sizeof(ChunkHeader)) + chunkHead_->size … in Realloc()234 …ChunkHeader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof(… in AddChunk()246 struct ChunkHeader { struct[all …]