Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp27 typedef typename QuarantineT::CacheT CacheT; typedef
31 static void deallocateCache(CacheT *Cache) { in deallocateCache()
71 CacheT Cache; in TEST()
72 CacheT ToDeallocate; in TEST()
82 CacheT Cache; in TEST()
87 CacheT ToDeallocate; in TEST()
102 CacheT From; in TEST()
105 CacheT Cache; in TEST()
113 CacheT ToDeallocate; in TEST()
129 CacheT From; in TEST()
[all …]
H A Dprimary_test.cpp146 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
187 using TransferBatch = Primary::CacheT::TransferBatch; in TEST()
190 typename Primary::CacheT Cache; in TEST()
198 typename Primary::CacheT::CompactPtrT Blocks[TransferBatch::MaxNumCached]; in TEST()
230 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
272 static thread_local typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
316 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
332 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
H A Dtsd_test.cpp28 using CacheT = struct MockCache { typedef in MockAllocator
40 void initCache(CacheT *Cache) { *Cache = {}; } in initCache()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h172 typedef QuarantineCache<Callback> CacheT; typedef
194 void put(CacheT *C, Callback Cb, Node *Ptr, uptr Size) { in put()
200 void NOINLINE drain(CacheT *C, Callback Cb) { in drain()
209 void NOINLINE drainAndRecycle(CacheT *C, Callback Cb) { in drainAndRecycle()
239 CacheT Cache;
246 CacheT Tmp; in recycle()
276 void NOINLINE doRecycle(CacheT *C, Callback Cb) { in doRecycle()
H A Dprimary64.h51 typedef SizeClassAllocatorLocalCache<ThisT> CacheT; typedef
52 typedef typename CacheT::TransferBatch TransferBatch;
53 typedef typename CacheT::BatchGroup BatchGroup;
100 TransferBatch *popBatch(CacheT *C, uptr ClassId) { in popBatch()
117 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in pushBlocks()
404 void pushBlocksImpl(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size,
533 TransferBatch *popBatchImpl(CacheT *C, uptr ClassId) { in popBatchImpl()
563 NOINLINE bool populateFreeList(CacheT *C, uptr ClassId, RegionInfo *Region) { in populateFreeList()
H A Dprimary32.h53 typedef SizeClassAllocatorLocalCache<ThisT> CacheT; typedef
54 typedef typename CacheT::TransferBatch TransferBatch;
55 typedef typename CacheT::BatchGroup BatchGroup;
120 TransferBatch *popBatch(CacheT *C, uptr ClassId) { in popBatch()
137 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in pushBlocks()
398 void pushBlocksImpl(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size,
527 TransferBatch *popBatchImpl(CacheT *C, uptr ClassId) { in popBatchImpl()
556 NOINLINE bool populateFreeList(CacheT *C, uptr ClassId, SizeClassInfo *Sci) { in populateFreeList()
H A Dtsd.h27 typename Allocator::CacheT Cache;
H A Dcombined.h50 using CacheT = typename PrimaryT::CacheT; variable
59 explicit QuarantineCallback(ThisT &Instance, CacheT &LocalCache) in QuarantineCallback()
130 CacheT &Cache;
134 typedef typename QuarantineT::CacheT QuarantineCacheT;
244 void initCache(CacheT *Cache) { Cache->init(&Stats, &Primary); } in initCache()