Searched refs:AllocatorCache (Results 1 – 8 of 8) sorted by relevance
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 62 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 64 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 68 static AllocatorCache fallback_allocator_cache; 80 AllocatorCache *GetAllocatorCache(MsanThreadLocalMallocStorage *ms) { in GetAllocatorCache() 82 CHECK_LE(sizeof(AllocatorCache), sizeof(ms->allocator_cache)); in GetAllocatorCache() 83 return reinterpret_cast<AllocatorCache *>(ms->allocator_cache); in GetAllocatorCache() 101 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanAllocate() 105 AllocatorCache *cache = &fallback_allocator_cache; in MsanAllocate() 144 AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage()); in MsanDeallocate() 148 AllocatorCache *cache = &fallback_allocator_cache; in MsanDeallocate()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 411 <class PrimaryAllocator, class SecondaryAllocator, class AllocatorCache> 414 CombinedAllocator<PrimaryAllocator, AllocatorCache, SecondaryAllocator> in TestCombinedAllocator() 419 AllocatorCache cache; in TestCombinedAllocator() 488 template <class AllocatorCache> 490 AllocatorCache cache; in TestSizeClassAllocatorLocalCache() 491 typedef typename AllocatorCache::Allocator Allocator; in TestSizeClassAllocatorLocalCache() 540 typedef SizeClassAllocatorLocalCache<Allocator64> AllocatorCache; typedef 541 static AllocatorCache static_allocator_cache; 544 typedef AllocatorCache::Allocator Allocator; in AllocatorLeakTestWorker() 552 typedef AllocatorCache::Allocator Allocator; in TEST() [all …]
|
D | sanitizer_allocator_testlib.cc | 41 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 43 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 48 static THREADLOCAL AllocatorCache cache;
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.h | 140 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 142 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 148 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() 502 AllocatorCache *ac = GetAllocatorCache(ms); in QuarantineChunk() 507 AllocatorCache *ac = &fallback_allocator_cache; in QuarantineChunk() 574 AllocatorCache *ac = GetAllocatorCache(ms); in CommitBack()
|
/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 | 322 typedef SizeClassAllocatorLocalCache<ThisT> AllocatorCache; typedef 345 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 517 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList() 694 typedef SizeClassAllocatorLocalCache<ThisT> AllocatorCache; typedef 729 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch() 865 void PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList() 1260 template <class PrimaryAllocator, class AllocatorCache, 1281 void *Allocate(AllocatorCache *cache, uptr size, uptr alignment, 1329 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() 1337 void *Reallocate(AllocatorCache *cache, void *p, uptr new_size, in Reallocate() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 72 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef 74 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache, 362 AllocatorCache alloc_cache;
|