Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/tests/
H A DTemplatesTest.cpp79 constexpr int static kStackPreallocCount = 10; variable
88 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).get()); in test_container_apis()
89 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).data()); in test_container_apis()
90 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).get()); in test_container_apis()
91 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).data()); in test_container_apis()
100 container.reset((TCount)kStackPreallocCount); in test_container_apis()
104 container.reset((TCount)kStackPreallocCount + 1); in test_container_apis()
115 test_container_apis<AutoSTArray<kStackPreallocCount, int>, int>(reporter); in DEF_TEST()
117 test_container_apis<AutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
122 TAutoMalloc autoMalloc(kStackPreallocCount); in test_realloc_to_zero()
[all …]
/aosp_15_r20/external/skia/src/gpu/tessellate/
H A DMiddleOutPolygonTriangulator.h131 if (maxStackDepth > kStackPreallocCount) {
192 constexpr static int kStackPreallocCount = 32;
193 skia_private::AutoSTMalloc<kStackPreallocCount, StackVertex> fVertexStack;