Lines Matching refs:Cache
122 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
123 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
132 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
137 Cache.deallocate(ClassId, Pointers[J]); in SCUDO_TYPED_TEST()
139 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
165 typename Primary::CacheT Cache; in TEST() local
168 Cache.init(&Stats, &Allocator); in TEST()
174 TransferBatch *B = Allocator.popBatch(&Cache, ClassId); in TEST()
187 Cache.destroy(nullptr); in TEST()
200 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
201 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
206 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
222 Cache.deallocate(Pair.first, Pair.second); in SCUDO_TYPED_TEST()
225 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
242 static thread_local typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
243 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
255 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
261 Cache.deallocate(Pair.first, Pair.second); in SCUDO_TYPED_TEST()
264 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()
286 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST() local
287 Cache.init(nullptr, Allocator.get()); in SCUDO_TYPED_TEST()
291 void *P = Cache.allocate(ClassId); in SCUDO_TYPED_TEST()
293 Cache.deallocate(ClassId, P); in SCUDO_TYPED_TEST()
294 Cache.destroy(nullptr); in SCUDO_TYPED_TEST()