Home
last modified time | relevance | path

Searched refs:thread_cache (Results 1 – 5 of 5) 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()
/external/libchrome/base/allocator/
DBUILD.gn195 "$tcmalloc_dir/src/thread_cache.cc",
196 "$tcmalloc_dir/src/thread_cache.h",
Dallocator.gyp214 '<(tcmalloc_dir)/src/thread_cache.cc',
215 '<(tcmalloc_dir)/src/thread_cache.h',