Home
last modified time | relevance | path

Searched refs:thread_cache (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/
Darena.cc44 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena
50 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena
77 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()
Darena.h560 static ThreadCache& thread_cache();
564 static ThreadCache& thread_cache();
567 static ThreadCache& thread_cache() { return thread_cache_; } in thread_cache() function
875 thread_cache().last_block_used_ = block; in SetThreadCacheBlock()
876 thread_cache().last_lifecycle_id_seen = lifecycle_id_; in SetThreadCacheBlock()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc579 AllocatorCache *thread_cache; member
587 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()
604 params->thread_cache = &child_cache; in TEST()