Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dsecondary_test.cpp33 if (!L->canCache(Size)) in testSecondaryBasic()
129 if (L->canCache(0U)) { in TEST()
133 EXPECT_TRUE(L->canCache(1UL << 18)); in TEST()
135 EXPECT_FALSE(L->canCache(1UL << 18)); in TEST()
136 EXPECT_TRUE(L->canCache(1UL << 16)); in TEST()
138 EXPECT_FALSE(L->canCache(1UL << 16)); in TEST()
141 EXPECT_TRUE(L->canCache(1UL << 16)); in TEST()
/external/scudo/standalone/tests/
Dsecondary_test.cpp36 if (!L->canCache(Size)) in testSecondaryBasic()
147 if (L->canCache(0U)) { in TEST()
151 EXPECT_TRUE(L->canCache(1UL << 18)); in TEST()
153 EXPECT_FALSE(L->canCache(1UL << 18)); in TEST()
154 EXPECT_TRUE(L->canCache(1UL << 16)); in TEST()
156 EXPECT_FALSE(L->canCache(1UL << 16)); in TEST()
159 EXPECT_TRUE(L->canCache(1UL << 16)); in TEST()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dsecondary.h60 bool canCache(UNUSED uptr Size) { return false; } in canCache() function
157 bool canCache(uptr Size) { in canCache() function
292 uptr canCache(uptr Size) { return Cache.canCache(Size); } in canCache() function
331 if (AlignmentHint < PageSize && Cache.canCache(RoundedSize)) { in allocate()
426 if (Cache.canCache(CommitSize) && Cache.store(H)) in deallocate()
/external/scudo/standalone/
Dsecondary.h76 bool canCache(UNUSED uptr Size) { return false; } in canCache() function
131 if (!canCache(H->CommitSize)) in store()
272 bool canCache(uptr Size) { in canCache() function
446 uptr canCache(uptr Size) { return Cache.canCache(Size); } in canCache() function
493 if (Alignment < PageSize && Cache.canCache(RoundedSize)) { in allocate()
/external/skia/src/core/
DSkGlyphRun.h83 bool canCache() const { return fOriginalTextBlob != nullptr; } in canCache() function
/external/skqp/src/core/
DSkGlyphRun.h81 bool canCache() const { return fOriginalTextBlob != nullptr; } in canCache() function
DSkGlyphRunPainter.cpp527 bool canCache = glyphRunList.canCache() && !(listPaint.getPathEffect() || in drawGlyphRunList() local
536 if (canCache) { in drawGlyphRunList()
584 if (canCache) { in drawGlyphRunList()
/external/skia/src/gpu/text/
DGrTextBlob.cpp1381 bool canCache = glyphRunList.canCache() && in Make() local
1393 if (canCache) { in Make()
1438 return {canCache, key}; in Make()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp388 auto [canCache, key] = GrTextBlob::Key::Make(glyphRunList, in drawGlyphRunListWithCache()
397 if (canCache) { in drawGlyphRunListWithCache()
411 if (canCache) { in drawGlyphRunListWithCache()