Home
last modified time | relevance | path

Searched refs:vect (Results 1 – 6 of 6) sorted by relevance

/external/chromium/base/
Dstack_container_unittest.cc34 StackVector<int, stack_size> vect; in TEST() local
35 const int* stack_buffer = &vect.stack_data().stack_buffer()[0]; in TEST()
38 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); in TEST()
40 vect.container().push_back(i); in TEST()
41 EXPECT_EQ(stack_buffer, &vect.container()[0]); in TEST()
42 EXPECT_TRUE(vect.stack_data().used_stack_buffer_); in TEST()
47 vect.container().push_back(i + stack_size); in TEST()
48 EXPECT_NE(stack_buffer, &vect.container()[0]); in TEST()
49 EXPECT_FALSE(vect.stack_data().used_stack_buffer_); in TEST()
54 EXPECT_EQ(i, vect.container()[i]); in TEST()
[all …]
/external/stlport/test/unit/
Dmvctor_traits_test.cpp90 vector<MovableStruct> vect; in move_traits_vec() local
91 vect.push_back(MovableStruct()); in move_traits_vec()
92 vect.push_back(MovableStruct()); in move_traits_vec()
93 vect.push_back(MovableStruct()); in move_traits_vec()
94 vect.push_back(MovableStruct()); in move_traits_vec()
126 vector<MovableStruct> v2 = vect; in move_traits_vec()
134 vect.insert(vect.begin() + 2, v2.begin(), v2.end() ); in move_traits_vec()
148 vect.erase(vect.begin(), vect.begin() + 2 ); in move_traits_vec()
160 vect.erase(vect.end() - 2, vect.end()); in move_traits_vec()
167 vect.erase(vect.begin()); in move_traits_vec()
[all …]
Dmvctor_test.cpp624 vector<vector<string> > vect(10, vector<string>(10, long_str)); in vector_test() local
628 vector<vector<string> >::iterator it(vect.begin()); in vector_test()
629 advance(it, index % vect.size()); in vector_test()
633 vect.erase(it); in vector_test()
634 if (vect.empty()) in vector_test()
649 vector<deque<string> > vect(10, deque<string>(10, long_str)); in vector_test() local
652 vector<deque<string> > vect(10, deq_str); in vector_test()
657 vector<deque<string> >::iterator it(vect.begin()); in vector_test()
658 advance(it, index % vect.size()); in vector_test()
662 vect.erase(it); in vector_test()
[all …]
Dvector_test.cpp85 vector<vector<int> > vect(10); in vec_test_1() local
86 vector<vector<int> >::iterator it(vect.begin()), end(vect.end()); in vec_test_1()
Duninitialized_test.cpp231 vector<TrivialInitStruct> vect(10); in copy_test() local
/external/dropbear/
Dscp.c717 char *last, *vect[1], path[1100]; in rsource() local
757 vect[0] = path; in rsource()
758 source(1, vect); in rsource()
835 char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; local
975 vect[0] = xstrdup(np);
976 sink(1, vect);
979 if (utimes(vect[0], tv) < 0)
981 vect[0], strerror(errno));
984 (void) chmod(vect[0], mode);
985 if (vect[0])
[all …]