Searched refs:RAPIDJSON_ALIGN (Results 1 – 2 of 2) sorted by relevance
180 size = RAPIDJSON_ALIGN(size); in Malloc()185 …void *buffer = reinterpret_cast<char *>(chunkHead_) + RAPIDJSON_ALIGN(sizeof(ChunkHeader)) + chunk… in Malloc()198 originalSize = RAPIDJSON_ALIGN(originalSize); in Realloc()199 newSize = RAPIDJSON_ALIGN(newSize); in Realloc()206 …if (originalPtr == reinterpret_cast<char *>(chunkHead_) + RAPIDJSON_ALIGN(sizeof(ChunkHeader)) + c… in Realloc()240 …eader* chunk = reinterpret_cast<ChunkHeader*>(baseAllocator_->Malloc(RAPIDJSON_ALIGN(sizeof(ChunkH… in AddChunk()
271 #ifndef RAPIDJSON_ALIGN273 #define RAPIDJSON_ALIGN(x) (((x) + static_cast<uint64_t>(7u)) & ~static_cast<uint64_t>(7u)) macro275 #define RAPIDJSON_ALIGN(x) (((x) + 3u) & ~3u) macro