Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dallocators.h180 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()
H A Drapidjson.h271 #ifndef RAPIDJSON_ALIGN
273 #define RAPIDJSON_ALIGN(x) (((x) + static_cast<uint64_t>(7u)) & ~static_cast<uint64_t>(7u)) macro
275 #define RAPIDJSON_ALIGN(x) (((x) + 3u) & ~3u) macro