Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/
Diterator_concepts.hpp86 std::iter_swap(i1, i2); in BOOST_CONCEPT_USAGE()
90 Iterator i2;
207 void interop_single_pass_constraints(Iterator1 const& i1, Iterator2 const& i2)
210 b = i1 == i2;
211 b = i1 != i2;
213 b = i2 == i1;
214 b = i2 != i1;
220 Iterator1 const& i1, Iterator2 const& i2,
225 b = i1 < i2;
226 b = i1 <= i2;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.special/
Ddb_swap_1.pass.cpp33 std::vector<int>::iterator i2 = c2.begin(); in main() local
35 c1.erase(i2); in main()
47 std::vector<int, min_allocator<int>>::iterator i2 = c2.begin(); in main() local
49 c1.erase(i2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.special/
Ddb_swap_1.pass.cpp34 std::list<int>::iterator i2 = c2.begin(); in main() local
36 c1.erase(i2); in main()
49 std::list<int, min_allocator<int>>::iterator i2 = c2.begin(); in main() local
51 c1.erase(i2); in main()
/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/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/issue42891-boost-1_52/jni/boost/boost/range/
Dconcepts.hpp148 Iterator i2(++i); in BOOST_CONCEPT_USAGE() local
149 boost::ignore_unused_variable_warning(i2); in BOOST_CONCEPT_USAGE()
191 Iterator i2(i++); in BOOST_CONCEPT_USAGE() local
192 boost::ignore_unused_variable_warning(i2); in BOOST_CONCEPT_USAGE()
268 iterator i2 = boost::end(*m_range); in BOOST_CONCEPT_USAGE() local
271 ignore_unused_variable_warning(i2); in BOOST_CONCEPT_USAGE()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dmock_object.hpp82 template<int i1, typename Base1,int i2, typename Base2> \
85 mock_object<i2,Base2> const& ) \
106 template<int i1, typename Base1,int i2, typename Base2> \
109 mock_object<i2,Base2> const& ) \
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
Diterator.hpp457 static Difference execute(Iterator i1, const Iterator i2, ...) in execute()
460 while (i1 != i2) in execute()
468 static Difference execute(Iterator i1, const Iterator i2, std::random_access_iterator_tag*) in execute()
470 return i2 - i1; in execute()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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()

12