Searched refs:thread_cache (Results 1 – 3 of 3) sorted by relevance
44 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena50 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena77 first_block->owner = &thread_cache(); in Init()187 if (thread_cache().last_lifecycle_id_seen == lifecycle_id_ && in AllocateAligned()188 thread_cache().last_block_used_ != NULL) { in AllocateAligned()189 if (thread_cache().last_block_used_->avail() < n) { in AllocateAligned()192 return AllocFromBlock(thread_cache().last_block_used_, n); in AllocateAligned()198 void* me = &thread_cache(); in AllocateAligned()216 void* me = &thread_cache(); in SlowAlloc()293 first_block->owner = &thread_cache(); in FreeBlocks()
560 static ThreadCache& thread_cache();564 static ThreadCache& thread_cache();567 static ThreadCache& thread_cache() { return thread_cache_; } in thread_cache() function875 thread_cache().last_block_used_ = block; in SetThreadCacheBlock()876 thread_cache().last_lifecycle_id_seen = lifecycle_id_; in SetThreadCacheBlock()
579 AllocatorCache *thread_cache; member587 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()604 params->thread_cache = &child_cache; in TEST()