Home
last modified time | relevance | path

Searched refs:AllocatorCache (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/msan/
Dmsan_allocator.cc62 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/
Dsanitizer_allocator_test.cc411 <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 …]
Dsanitizer_allocator_testlib.cc41 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef
43 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache,
48 static THREADLOCAL AllocatorCache cache;
/external/compiler-rt/lib/asan/
Dasan_allocator.h140 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef
142 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache,
148 AllocatorCache allocator_cache;
Dasan_allocator.cc132 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/
Dlsan_allocator.cc51 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef
53 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache,
57 static THREADLOCAL AllocatorCache cache;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h322 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/
Dtsan_rtl.h72 typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef
74 typedef CombinedAllocator<PrimaryAllocator, AllocatorCache,
362 AllocatorCache alloc_cache;