Searched refs:AllocatorCache (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 87 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 89 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 93 static AllocatorCache fallback_allocator_cache; 100 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 102 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache() 103 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache); in GetAllocatorCache() 120 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate() 124 AllocatorCache *cache = &fallback_allocator_cache; in MsanAllocate() 162 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate() 166 AllocatorCache *cache = &fallback_allocator_cache; in MsanDeallocate()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 421 <class PrimaryAllocator, class SecondaryAllocator, class AllocatorCache> 424 CombinedAllocator<PrimaryAllocator, AllocatorCache, SecondaryAllocator> in TestCombinedAllocator() 429 AllocatorCache cache; in TestCombinedAllocator() 496 template <class AllocatorCache> 498 AllocatorCache cache; in TestSizeClassAllocatorLocalCache() 499 typedef typename AllocatorCache::Allocator Allocator; in TestSizeClassAllocatorLocalCache() 548 typedef SizeClassAllocatorLocalCache<Allocator64> AllocatorCache; typedef 549 static AllocatorCache static_allocator_cache; 552 typedef AllocatorCache::Allocator Allocator; in AllocatorLeakTestWorker() 560 typedef AllocatorCache::Allocator Allocator; in TEST() [all …]
|
D | sanitizer_allocator_testlib.cc | 43 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 45 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 50 static THREADLOCAL AllocatorCache cache;
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 148 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 150 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 156 AllocatorCache allocator_cache;
|
D | asan_allocator.cc | 132 explicit QuarantineCallback(AllocatorCache *cache) in QuarantineCallback() 170 AllocatorCache *cache_; 197 AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 233 AllocatorCache fallback_allocator_cache; 366 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in Allocate() 371 AllocatorCache *cache = &fallback_allocator_cache; in Allocate() 500 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk() 505 AllocatorCache *ac = &fallback_allocator_cache; in QuarantineChunk() 583 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 40 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 42 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, SecondaryAllocator> 161 static thread_local AllocatorCache Cache; 206 explicit QuarantineCallback(AllocatorCache *Cache) in QuarantineCallback() 239 AllocatorCache *Cache_; 276 AllocatorCache FallbackAllocatorCache;
|
/external/compiler-rt/lib/lsan/ |
D | lsan_allocator.cc | 51 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 53 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 57 static THREADLOCAL AllocatorCache cache;
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 323 typedef SizeClassAllocatorLocalCache<ThisT> AllocatorCache; typedef 353 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 538 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList() 716 typedef SizeClassAllocatorLocalCache<ThisT> AllocatorCache; typedef 751 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 894 void PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList() 1289 template <class PrimaryAllocator, class AllocatorCache, 1310 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment, 1358 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() 1366 void *Reallocate(AllocatorCache *cache, void *p, uptr new_size, in Reallocate() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 73 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 75 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 339 AllocatorCache alloc_cache;
|