Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 122) sorted by relevance

12345

/ndk/tests/device/test-gnustl-full/unit/
Dmvctor_test.cpp31 vector<int> const ref_vec(10, 0); in move_construct_test()
32 vector<vector<int> > v_v_ints(1, ref_vec); in move_construct_test()
65 vector<string> vec_strs(1, ref_str); in move_construct_test()
96 vector<int> elem1(10, 0), elem2(10, 0); in move_construct_test()
107 vector<bool> bit_vec(5, true); in move_construct_test()
109 vector<vector<bool> > v_v_bits(1, bit_vec); in move_construct_test()
178 deque<vector<int> > vect_deque; in deque_test()
179 vector<int*> bufs; in deque_test()
180 vect_deque.assign(3, vector<int>(10)); in deque_test()
189 vector<vector<int> > vect_vect(2, vector<int>(10)); in deque_test()
[all …]
Duninitialized_test.cpp92 vector<NotTrivialCopyStruct> src(10); in copy_test()
93 vector<NotTrivialCopyStruct> dst(10); in copy_test()
95 vector<NotTrivialCopyStruct>::const_iterator it(dst.begin()), end(dst.end()); in copy_test()
129 vector<NotTrivialCopyStruct> src(10); in copy_test()
146 vector<NotTrivialCopyStruct> dst(10); in copy_test()
148 vector<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end()); in copy_test()
165 vector<int> src; in copy_test()
172 vector<unsigned int> dst(src.begin(), src.end()); in copy_test()
173 vector<unsigned int>::const_iterator it(dst.begin()); in copy_test()
180 vector<char> src; in copy_test()
[all …]
Dvector_test.cpp71 vector<int> v1; // Empty vector of integers. in vec_test_1()
85 vector<vector<int> > vect(10); in vec_test_1()
86 vector<vector<int> >::iterator it(vect.begin()), end(vect.end()); in vec_test_1()
98 vector<double> v1; // Empty vector of doubles. in vec_test_2()
101 vector<double> v2; // Another empty vector of doubles. in vec_test_2()
132 typedef vector<char> vec_type; in vec_test_3()
156 vector<int> v(4); in vec_test_4()
181 vector<int> v(array, array + 4); in vec_test_5()
195 vector<int> v(array, array + 6); in vec_test_6()
196 vector<int>::iterator vit; in vec_test_6()
[all …]
Diter_test.cpp45 vector<const char*> v; // Vector of character strings. in iter1()
48 typedef vector<const char*> vec; in iter1()
65 typedef vector<const char*> Vec; in iter3()
86 vector<int> v; // Empty vector of integers. in iter4()
91 vector<int>::iterator i = v.end(); in iter4()
113 vector<int> v1(6); in iterswp1()
126 vector<bool> boolVector; in iterswp2()
131 vector<bool>::iterator i1 = boolVector.begin(); in iterswp2()
132 vector<bool>::iterator i2 = boolVector.begin(); in iterswp2()
146 vector<int> vvref(10, 10); in iterswp3()
[all …]
Dalg_test.cpp74 vector<int> i; in count_test()
94 vector<int> years; in sort_test()
223 vector<int> intv; in find_first_of_test()
229 vector<int>::iterator first; in find_first_of_test()
235 vector<int> intv; in find_first_of_test()
241 vector<int>::iterator first; in find_first_of_test()
253 vector<int> intv; in find_first_of_test()
259 vector<int>::iterator first; in find_first_of_test()
265 vector<int> intv; in find_first_of_test()
271 vector<int>::iterator first; in find_first_of_test()
[all …]
Dpartial_test.cpp82 vector <int> v1(numbers, numbers+10); in parsrt1()
102 vector <char const*> v1(nameSize); in parsrt2()
142 vector <int> v1(numbers, numbers+10); in parsrtc1()
143 vector <int> result(5); in parsrtc1()
158 vector <char const*> v1(nameSize); in parsrtc2()
161 vector <char const*> result(3); in parsrtc2()
189 vector<int> result(s); in bad_predicate_detected()
218 vector <int> v1(10); in partsum1()
220 vector <int> v2(v1.size()); in partsum1()
238 vector <int> v1(5); in partsum2()
[all …]
Dmerge_test.cpp56 vector<int> v1(5); in merge1()
57 vector<int> v2(v1.size()); in merge1()
61 vector <int> result(v1.size() + v2.size()); in merge1()
78 vector <int> v1(5); in merge2()
79 vector <int> v2(v1.size()); in merge2()
84 vector<int> result(v1.size() + v2.size()); in merge2()
Dbsearch_test.cpp32 int vector[100]; in bsearch1() local
34 vector[i] = i; in bsearch1()
35 CPPUNIT_ASSERT(binary_search(vector, vector + 100, 42)); in bsearch1()
Dcopy_test.cpp86 vector<int> v1(10); in copy_vector()
90 vector<int> v2(v1.size()); in copy_vector()
97 vector<int> v1(10); in copy_insert()
100 vector<int> v2; in copy_insert()
101 insert_iterator<vector<int> > i(v2, v2.begin()); in copy_insert()
109 vector<int> v1(10); in copy_back()
112 vector<int> v2(v1.size()); in copy_back()
Dequal_test.cpp51 typedef vector <int> IntVec; in equal_range1()
105 vector<Test> tv; in equal_range2()
106 vector<Test>::iterator it; in equal_range2()
107 pair<vector<Test>::iterator, vector<Test>::iterator> p; in equal_range2()
141 vector <int> v1(10); in equal1()
144 vector <int> v2(10); in equal1()
153 vector <int> v1(10); in equal2()
154 vector <int> v2(10); in equal2()
Dsetdiff_test.cpp58 vector<int> v1(10); in setsymd1()
60 vector<int> v2(10); in setsymd1()
63 vector<int> diff; in setsymd1()
110 vector<int> v1(10); in setdiff1()
112 vector<int> v2(10); in setdiff1()
115 vector<int> diff; in setdiff1()
/ndk/tests/device/test-stlport/unit/
Dmvctor_test.cpp31 vector<int> const ref_vec(10, 0); in move_construct_test()
32 vector<vector<int> > v_v_ints(1, ref_vec); in move_construct_test()
65 vector<string> vec_strs(1, ref_str); in move_construct_test()
96 vector<int> elem1(10, 0), elem2(10, 0); in move_construct_test()
107 vector<bool> bit_vec(5, true); in move_construct_test()
109 vector<vector<bool> > v_v_bits(1, bit_vec); in move_construct_test()
178 deque<vector<int> > vect_deque; in deque_test()
179 vector<int*> bufs; in deque_test()
180 vect_deque.assign(3, vector<int>(10)); in deque_test()
189 vector<vector<int> > vect_vect(2, vector<int>(10)); in deque_test()
[all …]
Duninitialized_test.cpp92 vector<NotTrivialCopyStruct> src(10); in copy_test()
93 vector<NotTrivialCopyStruct> dst(10); in copy_test()
95 vector<NotTrivialCopyStruct>::const_iterator it(dst.begin()), end(dst.end()); in copy_test()
129 vector<NotTrivialCopyStruct> src(10); in copy_test()
146 vector<NotTrivialCopyStruct> dst(10); in copy_test()
148 vector<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end()); in copy_test()
165 vector<int> src; in copy_test()
172 vector<unsigned int> dst(src.begin(), src.end()); in copy_test()
173 vector<unsigned int>::const_iterator it(dst.begin()); in copy_test()
180 vector<char> src; in copy_test()
[all …]
Dvector_test.cpp71 vector<int> v1; // Empty vector of integers. in vec_test_1()
85 vector<vector<int> > vect(10); in vec_test_1()
86 vector<vector<int> >::iterator it(vect.begin()), end(vect.end()); in vec_test_1()
98 vector<double> v1; // Empty vector of doubles. in vec_test_2()
101 vector<double> v2; // Another empty vector of doubles. in vec_test_2()
132 typedef vector<char> vec_type; in vec_test_3()
156 vector<int> v(4); in vec_test_4()
181 vector<int> v(array, array + 4); in vec_test_5()
195 vector<int> v(array, array + 6); in vec_test_6()
196 vector<int>::iterator vit; in vec_test_6()
[all …]
Diter_test.cpp45 vector<const char*> v; // Vector of character strings. in iter1()
48 typedef vector<const char*> vec; in iter1()
65 typedef vector<const char*> Vec; in iter3()
86 vector<int> v; // Empty vector of integers. in iter4()
91 vector<int>::iterator i = v.end(); in iter4()
113 vector<int> v1(6); in iterswp1()
126 vector<bool> boolVector; in iterswp2()
131 vector<bool>::iterator i1 = boolVector.begin(); in iterswp2()
132 vector<bool>::iterator i2 = boolVector.begin(); in iterswp2()
146 vector<int> vvref(10, 10); in iterswp3()
[all …]
Dalg_test.cpp74 vector<int> i; in count_test()
94 vector<int> years; in sort_test()
223 vector<int> intv; in find_first_of_test()
229 vector<int>::iterator first; in find_first_of_test()
235 vector<int> intv; in find_first_of_test()
241 vector<int>::iterator first; in find_first_of_test()
253 vector<int> intv; in find_first_of_test()
259 vector<int>::iterator first; in find_first_of_test()
265 vector<int> intv; in find_first_of_test()
271 vector<int>::iterator first; in find_first_of_test()
[all …]
Dpartial_test.cpp82 vector <int> v1(numbers, numbers+10); in parsrt1()
102 vector <char const*> v1(nameSize); in parsrt2()
142 vector <int> v1(numbers, numbers+10); in parsrtc1()
143 vector <int> result(5); in parsrtc1()
158 vector <char const*> v1(nameSize); in parsrtc2()
161 vector <char const*> result(3); in parsrtc2()
189 vector<int> result(s); in bad_predicate_detected()
218 vector <int> v1(10); in partsum1()
220 vector <int> v2(v1.size()); in partsum1()
238 vector <int> v1(5); in partsum2()
[all …]
Dmerge_test.cpp56 vector<int> v1(5); in merge1()
57 vector<int> v2(v1.size()); in merge1()
61 vector <int> result(v1.size() + v2.size()); in merge1()
78 vector <int> v1(5); in merge2()
79 vector <int> v2(v1.size()); in merge2()
84 vector<int> result(v1.size() + v2.size()); in merge2()
Dbsearch_test.cpp32 int vector[100]; in bsearch1() local
34 vector[i] = i; in bsearch1()
35 CPPUNIT_ASSERT(binary_search(vector, vector + 100, 42)); in bsearch1()
Dcopy_test.cpp86 vector<int> v1(10); in copy_vector()
90 vector<int> v2(v1.size()); in copy_vector()
97 vector<int> v1(10); in copy_insert()
100 vector<int> v2; in copy_insert()
101 insert_iterator<vector<int> > i(v2, v2.begin()); in copy_insert()
109 vector<int> v1(10); in copy_back()
112 vector<int> v2(v1.size()); in copy_back()
Dequal_test.cpp51 typedef vector <int> IntVec; in equal_range1()
105 vector<Test> tv; in equal_range2()
106 vector<Test>::iterator it; in equal_range2()
107 pair<vector<Test>::iterator, vector<Test>::iterator> p; in equal_range2()
141 vector <int> v1(10); in equal1()
144 vector <int> v2(10); in equal1()
153 vector <int> v1(10); in equal2()
154 vector <int> v2(10); in equal2()
Dsetdiff_test.cpp58 vector<int> v1(10); in setsymd1()
60 vector<int> v2(10); in setsymd1()
63 vector<int> diff; in setsymd1()
110 vector<int> v1(10); in setdiff1()
112 vector<int> v2(10); in setdiff1()
115 vector<int> diff; in setdiff1()
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_vector.h29 #define VECTOR_IMPL _STLP_PTR_IMPL_NAME(vector)
37 # define vector _STLP_NON_DBG_NAME(vector) macro
42 class vector
43 #if defined (_STLP_USE_PARTIAL_SPEC_WORKAROUND) && !defined (vector)
44 : public __stlport_class<vector<_Tp, _Alloc> >
56 typedef vector<_Tp, _Alloc> _Self;
106 explicit vector(const allocator_type& __a = allocator_type())
110 explicit vector(size_type __n, const value_type& __val = _STLP_DEFAULT_CONSTRUCTED(value_type),
112 vector(size_type __n, const value_type& __val,
119 explicit vector(size_type __n) in vector() function
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_vector.c48 # define vector _STLP_PTR_IMPL_NAME(vector) macro
50 # define vector _STLP_NON_DBG_NAME(vector) macro
58 # define __iterator__ _STLP_TYPENAME_ON_RETURN_TYPE vector<_Tp, _Alloc>::iterator
62 void vector<_Tp, _Alloc>::reserve(size_type __n) { in reserve()
81 void vector<_Tp, _Alloc>::_M_insert_overflow_aux(pointer __pos, const _Tp& __x, const __false_type&… in _M_insert_overflow_aux()
108 void vector<_Tp, _Alloc>::_M_insert_overflow(pointer __pos, const _Tp& __x, const __true_type& /*_T… in _M_insert_overflow()
122 void vector<_Tp, _Alloc>::_M_fill_insert_aux(iterator __pos, size_type __n, in _M_fill_insert_aux()
140 void vector<_Tp, _Alloc>::_M_fill_insert_aux (iterator __pos, size_type __n, in _M_fill_insert_aux()
166 void vector<_Tp, _Alloc>::_M_fill_insert(iterator __pos, in _M_fill_insert()
182 vector<_Tp, _Alloc>& vector<_Tp, _Alloc>::operator = (const vector<_Tp, _Alloc>& __x) {
[all …]
/ndk/sources/host-tools/sed-4.2.1/sed/
Dsed.h34 struct vector { struct
192 struct vector *compile_string P_((struct vector *, char *str, size_t len));
193 struct vector *compile_file P_((struct vector *, const char *cmdfile));
194 void check_final_program P_((struct vector *));
196 void finish_program P_((struct vector *));
206 int process_files P_((struct vector *, char **argv));

12345