Lines Matching refs:stack_size
36 const int stack_size = 3;
37 StackVector<int, stack_size> vect;
40 // The initial |stack_size| elements should appear in the stack buffer.
41 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity());
42 for (int i = 0; i < stack_size; i++) {
49 for (int i = 0; i < stack_size; i++) {
50 vect.container().push_back(i + stack_size);
56 for (int i = 0; i < stack_size * 2; i++)
63 vect.container().resize(stack_size);
64 vect.container().reserve(stack_size * 2);
70 std::vector<int, StackAllocator<int, stack_size> > other(vect.container());
73 for (int i = 0; i < stack_size; i++)