Home
last modified time | relevance | path

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

/external/skia/tests/
DTemplatesTest.cpp74 constexpr int static kStackPreallocCount = 10; variable
83 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).get()); in test_container_apis()
84 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).data()); in test_container_apis()
85 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).get()); in test_container_apis()
86 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).data()); in test_container_apis()
95 container.reset((TCount)kStackPreallocCount); in test_container_apis()
99 container.reset((TCount)kStackPreallocCount + 1); in test_container_apis()
110 test_container_apis<SkAutoSTArray<kStackPreallocCount, int>, int>(reporter); in DEF_TEST()
112 test_container_apis<SkAutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
117 TAutoMalloc autoMalloc(kStackPreallocCount); in test_realloc_to_zero()
[all …]
/external/skqp/tests/
DTemplatesTest.cpp74 constexpr int static kStackPreallocCount = 10; variable
81 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount).get()); in test_container_apis()
82 REPORTER_ASSERT(reporter, TContainer((TCount)kStackPreallocCount + 1).get()); in test_container_apis()
90 container.reset((TCount)kStackPreallocCount); in test_container_apis()
93 container.reset((TCount)kStackPreallocCount + 1); in test_container_apis()
102 test_container_apis<SkAutoSTArray<kStackPreallocCount, int>, int>(reporter); in DEF_TEST()
104 test_container_apis<SkAutoSTMalloc<kStackPreallocCount, int>, size_t>(reporter); in DEF_TEST()
109 TAutoMalloc autoMalloc(kStackPreallocCount); in test_realloc_to_zero()
115 autoMalloc.realloc(kStackPreallocCount + 1); in test_realloc_to_zero()
121 autoMalloc.realloc(kStackPreallocCount); in test_realloc_to_zero()
[all …]
/external/skia/src/gpu/tessellate/
DGrMiddleOutPolygonTriangulator.h51 if (maxStackDepth > kStackPreallocCount) { in GrMiddleOutPolygonTriangulator()
172 constexpr static int kStackPreallocCount = 32; variable
173 SkAutoSTMalloc<kStackPreallocCount, StackVertex> fVertexStack;