Lines Matching refs:Cache
106 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
107 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
116 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
121 Cache.deallocate(ClassId, Pointers[J]); in SCUDO_TYPED_TEST()
123 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
147 typename Primary::CacheT Cache; in TEST() local
150 Cache.init(&Stats, &Allocator); in TEST()
156 TransferBatch *B = Allocator.popBatch(&Cache, ClassId); in TEST()
169 Cache.destroy(nullptr); in TEST()
182 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
183 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
188 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
204 Cache.deallocate(Pair.first, Pair.second); in SCUDO_TYPED_TEST()
207 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
224 static thread_local typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
225 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
237 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
243 Cache.deallocate(Pair.first, Pair.second); in SCUDO_TYPED_TEST()
246 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
268 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
269 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
273 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
275 Cache.deallocate(ClassId, P); in SCUDO_TYPED_TEST()
276 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()