Home
last modified time | relevance | path

Searched refs:i2 (Results 1 – 22 of 22) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op==/
Dequal.pass.cpp28 std::istreambuf_iterator<char> i2(inf2); in main() local
33 assert( (i1 == i2)); in main()
37 assert( (i2 == i1)); in main()
38 assert( (i2 == i2)); in main()
39 assert(!(i2 == i3)); in main()
40 assert(!(i2 == i4)); in main()
43 assert(!(i3 == i2)); in main()
48 assert(!(i4 == i2)); in main()
56 std::istreambuf_iterator<wchar_t> i2(inf2); in main() local
61 assert( (i1 == i2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_op!=/
Dnot_equal.pass.cpp28 std::istreambuf_iterator<char> i2(inf2); in main() local
33 assert(!(i1 != i2)); in main()
37 assert(!(i2 != i1)); in main()
38 assert(!(i2 != i2)); in main()
39 assert( (i2 != i3)); in main()
40 assert( (i2 != i4)); in main()
43 assert( (i3 != i2)); in main()
48 assert( (i4 != i2)); in main()
56 std::istreambuf_iterator<wchar_t> i2(inf2); in main() local
61 assert(!(i1 != i2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/
Dequal.pass.cpp26 std::istreambuf_iterator<char> i2(inf2); in main() local
31 assert( i1.equal(i2)); in main()
35 assert( i2.equal(i1)); in main()
36 assert( i2.equal(i2)); in main()
37 assert(!i2.equal(i3)); in main()
38 assert(!i2.equal(i4)); in main()
41 assert(!i3.equal(i2)); in main()
46 assert(!i4.equal(i2)); in main()
54 std::istreambuf_iterator<wchar_t> i2(inf2); in main() local
59 assert( i1.equal(i2)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/stream.iterators/istream.iterator/istream.iterator.ops/
Dequal.pass.cpp31 std::istream_iterator<int> i2(inf1); in main() local
36 assert(i1 == i2); in main()
41 assert(i2 == i2); in main()
42 assert(i2 != i3); in main()
43 assert(i2 != i4); in main()
44 assert(i2 != i5); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.iter/re.tokiter/re.tokiter.comp/
Dequal.pass.cpp29 std::cregex_token_iterator i2 = i; in main() local
30 assert(i2 == i); in main()
31 assert(!(i2 != i)); in main()
33 assert(!(i2 == i)); in main()
34 assert(i2 != i); in main()
/ndk/sources/cxx-stl/stlport/src/
Dlocale.cpp300 _Locale_impl* i2 = L2._M_impl; in locale() local
309 impl->insert( i2, _STLP_STD::collate<char>::id); in locale()
311 impl->insert( i2, _STLP_STD::collate<wchar_t>::id); in locale()
315 impl->insert( i2, _STLP_STD::ctype<char>::id); in locale()
316 impl->insert( i2, _STLP_STD::codecvt<char, char, mbstate_t>::id); in locale()
318 impl->insert( i2, _STLP_STD::ctype<wchar_t>::id); in locale()
319 impl->insert( i2, _STLP_STD::codecvt<wchar_t, char, mbstate_t>::id); in locale()
323 impl->insert( i2, _STLP_STD::moneypunct<char, true>::id); in locale()
324 impl->insert( i2, _STLP_STD::moneypunct<char, false>::id); in locale()
325 … impl->insert( i2, _STLP_STD::money_get<char, istreambuf_iterator<char, char_traits<char> > >::id); in locale()
[all …]
Dlocale_impl.cpp155 _Locale_impl* i2 = locale::classic()._M_impl; in insert_ctype_facets() local
156 this->insert(i2, ctype<char>::id); in insert_ctype_facets()
157 this->insert(i2, codecvt<char, char, mbstate_t>::id); in insert_ctype_facets()
159 this->insert(i2, ctype<wchar_t>::id); in insert_ctype_facets()
160 this->insert(i2, codecvt<wchar_t, char, mbstate_t>::id); in insert_ctype_facets()
226 _Locale_impl* i2 = locale::classic()._M_impl; in insert_numeric_facets() local
229 this->insert(i2, in insert_numeric_facets()
231 this->insert(i2, in insert_numeric_facets()
234 this->insert(i2, in insert_numeric_facets()
236 this->insert(i2, in insert_numeric_facets()
[all …]
/ndk/tests/device/test-stlport_shared-exception/jni/
Deh18.cpp17 D(int i1, int i2) : VB(i2) { j = i1; } in D() argument
25 pD(int i1, int i2) : VB(i2) { j = i1; } in pD() argument
Deh3.cpp7 int r, i1 = 1, i2 = 2, i3 = 3, i4 = 4, i5 = 5; variable
11 ~S() { r = i1 + i2 + i3 + i4 + i5; } in ~S()
/ndk/tests/device/test-stlport_static-exception/jni/
Deh18.cpp17 D(int i1, int i2) : VB(i2) { j = i1; } in D() argument
25 pD(int i1, int i2) : VB(i2) { j = i1; } in pD() argument
Deh3.cpp7 int r, i1 = 1, i2 = 2, i3 = 3, i4 = 4, i5 = 5; variable
11 ~S() { r = i1 + i2 + i3 + i4 + i5; } in ~S()
/ndk/tests/device/test-gnustl-full/unit/
Diter_test.cpp132 vector<bool>::iterator i2 = boolVector.begin(); in iterswp2() local
133 ++i2; in iterswp2()
136 bool v1 = *i2; in iterswp2()
138 iter_swap( i1, i2 ); in iterswp2()
140 CPPUNIT_ASSERT(( *i1 == v1 && *i2 == v0 )); in iterswp2()
Dlist_test.cpp63 list<int>::iterator i2 = l2.begin(); in list1() local
76 CPPUNIT_ASSERT( i2 == l1.begin() ); in list1()
/ndk/tests/device/test-stlport/unit/
Diter_test.cpp132 vector<bool>::iterator i2 = boolVector.begin(); in iterswp2() local
133 ++i2; in iterswp2()
136 bool v1 = *i2; in iterswp2()
138 iter_swap( i1, i2 ); in iterswp2()
140 CPPUNIT_ASSERT(( *i1 == v1 && *i2 == v0 )); in iterswp2()
Dlist_test.cpp63 list<int>::iterator i2 = l2.begin(); in list1() local
76 CPPUNIT_ASSERT( i2 == l1.begin() ); in list1()
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/c.files/
Dcinttypes.pass.cpp879 std::int16_t i2 = 0; in main() local
885 std::uint16_t i2 = 0; in main() local
891 std::int_least16_t i2 = 0; in main() local
897 std::uint_least16_t i2 = 0; in main() local
903 std::int_fast16_t i2 = 0; in main() local
909 std::uint_fast16_t i2 = 0; in main() local
915 std::uintptr_t i2 = 0; in main() local
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c1056 Idx i1, i2, is, id, delta, sbase; in re_node_set_add_intersect() local
1076 i2 = src2->nelem - 1; in re_node_set_add_intersect()
1080 if (src1->elems[i1] == src2->elems[i2]) in re_node_set_add_intersect()
1089 if (! REG_VALID_INDEX (--i1) || ! REG_VALID_INDEX (--i2)) in re_node_set_add_intersect()
1094 else if (src1->elems[i1] < src2->elems[i2]) in re_node_set_add_intersect()
1096 if (! REG_VALID_INDEX (--i2)) in re_node_set_add_intersect()
1147 Idx i1, i2, id; in re_node_set_init_union() local
1165 for (i1 = i2 = id = 0 ; i1 < src1->nelem && i2 < src2->nelem ;) in re_node_set_init_union()
1167 if (src1->elems[i1] > src2->elems[i2]) in re_node_set_init_union()
1169 dest->elems[id++] = src2->elems[i2++]; in re_node_set_init_union()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.heap.operations/is.heap/
Dis_heap.pass.cpp25 int i2[] = {0, 1}; in test() local
28 assert(std::is_heap(i2, i2+2) == (std::is_heap_until(i2, i2+2) == i2+2)); in test()
Dis_heap_until.pass.cpp25 int i2[] = {0, 1}; in test() local
28 assert(std::is_heap_until(i2, i2+2) == i2+1); in test()
Dis_heap_until_comp.pass.cpp26 int i2[] = {0, 1}; in test() local
29 assert(std::is_heap_until(i2, i2+2, std::greater<int>()) == i2+2); in test()
Dis_heap_comp.pass.cpp26 int i2[] = {0, 1}; in test() local
29 …assert(std::is_heap(i2, i2+2, std::greater<int>()) == (std::is_heap_until(i2, i2+2, std::greater<i… in test()
/ndk/sources/cxx-stl/llvm-libc++/include/
Dstring211 basic_string& replace(const_iterator i1, const_iterator i2, const basic_string& str);
212 basic_string& replace(const_iterator i1, const_iterator i2, const_pointer s, size_type n);
213 basic_string& replace(const_iterator i1, const_iterator i2, const_pointer s);
214 basic_string& replace(const_iterator i1, const_iterator i2, size_type n, value_type c);
216 … basic_string& replace(const_iterator i1, const_iterator i2, InputIterator j1, InputIterator j2);
217 basic_string& replace(const_iterator i1, const_iterator i2, initializer_list<value_type>);