Searched refs:ChunkHandle (Results 1 – 2 of 2) sorted by relevance
135 typedef size_t ChunkHandle; typedef136 static constexpr ChunkHandle kInvalidChunkHandle = SIZE_MAX;176 ChunkHandle prev = kInvalidChunkHandle;181 ChunkHandle next = kInvalidChunkHandle;243 bool operator()(const ChunkHandle ha, in operator()244 const ChunkHandle hb) const TF_NO_THREAD_SAFETY_ANALYSIS { in operator()257 typedef std::set<ChunkHandle, ChunkComparator> FreeChunkSet;311 ChunkHandle get_handle(const void* p) const { in get_handle()314 void set_handle(const void* p, ChunkHandle h) { handles_[IndexFor(p)] = h; } in set_handle()341 std::vector<ChunkHandle> handles_;[all …]
37 constexpr BFCAllocator::ChunkHandle BFCAllocator::kInvalidChunkHandle;94 BFCAllocator::Chunk* BFCAllocator::ChunkFromHandle(ChunkHandle h) { in ChunkFromHandle()100 const BFCAllocator::Chunk* BFCAllocator::ChunkFromHandle(ChunkHandle h) const { in ChunkFromHandle()173 ChunkHandle h = AllocateChunk(); in Extend()187 ChunkHandle prev = in Extend()205 BFCAllocator::ChunkHandle BFCAllocator::AllocateChunk() { in AllocateChunk()207 ChunkHandle h = free_chunks_list_; in AllocateChunk()212 ChunkHandle h = chunks_.size(); in AllocateChunk()218 void BFCAllocator::DeallocateChunk(ChunkHandle h) { in DeallocateChunk()308 ChunkHandle h = region_manager_.get_handle(region.ptr()); in DeallocateFreeRegions()[all …]