Home
last modified time | relevance | path

Searched refs:canCache (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dsecondary_test.cpp49 if (!L->canCache(Size)) { in testSecondaryBasic()
178 if (Allocator->canCache(0U)) { in TEST_F()
183 EXPECT_TRUE(Allocator->canCache(1UL << 18)); in TEST_F()
186 EXPECT_FALSE(Allocator->canCache(1UL << 18)); in TEST_F()
187 EXPECT_TRUE(Allocator->canCache(1UL << 16)); in TEST_F()
189 EXPECT_FALSE(Allocator->canCache(1UL << 16)); in TEST_F()
193 EXPECT_TRUE(Allocator->canCache(1UL << 16)); in TEST_F()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dsecondary.h80 bool canCache(UNUSED uptr Size) { return false; } in canCache() function
146 if (!canCache(H->CommitSize)) in store()
287 bool canCache(uptr Size) { in canCache() function
462 bool canCache(uptr Size) { return Cache.canCache(Size); } in canCache() function
511 if (Alignment < PageSize && Cache.canCache(RoundedSize)) { in allocate()