Searched refs:ChunkPrefix (Results 1 – 1 of 1) sorted by relevance
65 struct ChunkPrefix { struct70 static const int kPoolAlignment = sizeof(ChunkPrefix);73 ChunkPrefix* cp = reinterpret_cast<ChunkPrefix*>(chunk); in PrepareChunk()82 (reinterpret_cast<ChunkPrefix*>(user_ptr) - 1)->chunk_ptr = chunk; in PrepareChunk()85 CHECK_GE(user_ptr, reinterpret_cast<ChunkPrefix*>(chunk) + 1); in PrepareChunk()89 ChunkPrefix* FindPrefix(void* user_ptr) { in FindPrefix()90 ChunkPrefix* cp = reinterpret_cast<ChunkPrefix*>(user_ptr) - 1; in FindPrefix()91 return reinterpret_cast<ChunkPrefix*>(cp->chunk_ptr); in FindPrefix()104 num_bytes += sizeof(ChunkPrefix); in AllocateRaw()137 ChunkPrefix* cp = FindPrefix(ptr); in DeallocateRaw()