Lines Matching refs:kStackPreallocCount
74 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()
123 autoMalloc.realloc(kStackPreallocCount + 1); in test_realloc_to_zero()
129 autoMalloc.realloc(kStackPreallocCount); in test_realloc_to_zero()
135 test_realloc_to_zero<SkAutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()