Home
last modified time | relevance | path

Searched refs:ChunkHeader (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dallocators.h129 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()
234ChunkHeader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof( in AddChunk()
246 struct ChunkHeader { struct
[all …]