Lines Matching refs:kStackPreallocCount
79 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()
128 autoMalloc.realloc(kStackPreallocCount + 1); in test_realloc_to_zero()
134 autoMalloc.realloc(kStackPreallocCount); in test_realloc_to_zero()
140 test_realloc_to_zero<AutoSTMalloc<kStackPreallocCount, int> >(reporter); in DEF_TEST()