Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 274) sorted by relevance

1234567891011

/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.modifiers/
Derase_key.pass.cpp42 assert(m.begin()->second == 1.5); in main()
44 assert(next(m.begin())->second == 2.5); in main()
46 assert(next(m.begin(), 2)->second == 3.5); in main()
48 assert(next(m.begin(), 3)->second == 4.5); in main()
50 assert(next(m.begin(), 4)->second == 5.5); in main()
52 assert(next(m.begin(), 5)->second == 6.5); in main()
54 assert(next(m.begin(), 6)->second == 7.5); in main()
56 assert(next(m.begin(), 7)->second == 8.5); in main()
62 assert(m.begin()->second == 1.5); in main()
64 assert(next(m.begin())->second == 2.5); in main()
[all …]
Derase_iter.pass.cpp42 assert(m.begin()->second == 1.5); in main()
44 assert(next(m.begin())->second == 2.5); in main()
46 assert(next(m.begin(), 2)->second == 3.5); in main()
48 assert(next(m.begin(), 3)->second == 5.5); in main()
50 assert(next(m.begin(), 4)->second == 6.5); in main()
52 assert(next(m.begin(), 5)->second == 7.5); in main()
54 assert(next(m.begin(), 6)->second == 8.5); in main()
60 assert(m.begin()->second == 2.5); in main()
62 assert(next(m.begin())->second == 3.5); in main()
64 assert(next(m.begin(), 2)->second == 5.5); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(m.begin()->second == 1.5); in main()
44 assert(next(m.begin())->second == 2.5); in main()
46 assert(next(m.begin(), 2)->second == 3.5); in main()
48 assert(next(m.begin(), 3)->second == 4.5); in main()
50 assert(next(m.begin(), 4)->second == 5.5); in main()
52 assert(next(m.begin(), 5)->second == 6.5); in main()
54 assert(next(m.begin(), 6)->second == 7.5); in main()
56 assert(next(m.begin(), 7)->second == 8.5); in main()
62 assert(next(m.begin(), 0)->second == 3.5); in main()
64 assert(next(m.begin(), 1)->second == 4.5); in main()
[all …]
Demplace.pass.cpp33 assert(r.second); in main()
37 assert(m.begin()->second == DefaultOnly()); in main()
40 assert(r.second); in main()
44 assert(next(m.begin())->second == DefaultOnly()); in main()
47 assert(!r.second); in main()
51 assert(next(m.begin())->second == DefaultOnly()); in main()
60 assert(r.second); in main()
64 assert(m.begin()->second == Emplaceable()); in main()
67 assert(r.second); in main()
71 assert(m.begin()->second == Emplaceable(2, 3.5)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp43 assert(m.begin()->second == 1); in main()
45 assert(next(m.begin())->second == 1.5); in main()
47 assert(next(m.begin(), 2)->second == 2); in main()
49 assert(next(m.begin(), 3)->second == 1.5); in main()
51 assert(next(m.begin(), 4)->second == 2); in main()
53 assert(next(m.begin(), 5)->second == 1); in main()
55 assert(next(m.begin(), 6)->second == 1.5); in main()
57 assert(next(m.begin(), 7)->second == 2); in main()
63 assert(next(m.begin(), 0)->second == 1.5); in main()
65 assert(next(m.begin(), 1)->second == 2); in main()
[all …]
Derase_key.pass.cpp43 assert(next(m.begin(), 0)->second == 1); in main()
45 assert(next(m.begin(), 1)->second == 1.5); in main()
47 assert(next(m.begin(), 2)->second == 2); in main()
49 assert(next(m.begin(), 3)->second == 1); in main()
51 assert(next(m.begin(), 4)->second == 1.5); in main()
53 assert(next(m.begin(), 5)->second == 2); in main()
59 assert(next(m.begin(), 0)->second == 1); in main()
61 assert(next(m.begin(), 1)->second == 1.5); in main()
63 assert(next(m.begin(), 2)->second == 2); in main()
65 assert(next(m.begin(), 3)->second == 1); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(m.begin()->second == 1.5); in main()
44 assert(next(m.begin())->second == 2.5); in main()
46 assert(next(m.begin(), 2)->second == 3.5); in main()
48 assert(next(m.begin(), 3)->second == 4.5); in main()
50 assert(next(m.begin(), 4)->second == 5.5); in main()
52 assert(next(m.begin(), 5)->second == 6.5); in main()
54 assert(next(m.begin(), 6)->second == 7.5); in main()
56 assert(next(m.begin(), 7)->second == 8.5); in main()
62 assert(next(m.begin(), 0)->second == 3.5); in main()
64 assert(next(m.begin(), 1)->second == 4.5); in main()
[all …]
Dinsert_iter_iter.pass.cpp43 assert(m.begin()->second == 1); in main()
45 assert(next(m.begin())->second == 1.5); in main()
47 assert(next(m.begin(), 2)->second == 2); in main()
49 assert(next(m.begin(), 3)->second == 1); in main()
51 assert(next(m.begin(), 4)->second == 1.5); in main()
53 assert(next(m.begin(), 5)->second == 2); in main()
55 assert(next(m.begin(), 6)->second == 1); in main()
57 assert(next(m.begin(), 7)->second == 1.5); in main()
59 assert(next(m.begin(), 8)->second == 2); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/unorder.map.modifiers/
Dinsert_rvalue.pass.cpp33 assert(r.second); in main()
36 assert(r.first->second == 3); in main()
39 assert(!r.second); in main()
42 assert(r.first->second == 3); in main()
45 assert(r.second); in main()
48 assert(r.first->second == 4); in main()
51 assert(r.second); in main()
54 assert(r.first->second == 4); in main()
63 assert(r.second); in main()
66 assert(r.first->second == 3); in main()
[all …]
Dinsert_const_lvalue.pass.cpp29 assert(r.second); in main()
32 assert(r.first->second == 3); in main()
35 assert(!r.second); in main()
38 assert(r.first->second == 3); in main()
41 assert(r.second); in main()
44 assert(r.first->second == 4); in main()
47 assert(r.second); in main()
50 assert(r.first->second == 4); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_key.pass.cpp41 assert(std::distance(eq.first, eq.second) == 2); in main()
44 assert(k->second == "one"); in main()
47 assert(k->second == "four"); in main()
49 assert(std::distance(eq.first, eq.second) == 2); in main()
52 assert(k->second == "two"); in main()
55 assert(k->second == "four"); in main()
57 assert(std::distance(eq.first, eq.second) == 1); in main()
60 assert(k->second == "three"); in main()
62 assert(std::distance(eq.first, eq.second) == 1); in main()
65 assert(k->second == "four"); in main()
[all …]
Derase_range.pass.cpp44 assert(std::distance(eq.first, eq.second) == 2); in main()
47 assert(k->second == "one"); in main()
50 assert(k->second == "four"); in main()
52 assert(std::distance(eq.first, eq.second) == 2); in main()
55 assert(k->second == "two"); in main()
58 assert(k->second == "four"); in main()
60 assert(std::distance(eq.first, eq.second) == 1); in main()
63 assert(k->second == "three"); in main()
65 assert(std::distance(eq.first, eq.second) == 1); in main()
68 assert(k->second == "four"); in main()
[all …]
Dinsert_init.pass.cpp44 assert(std::distance(eq.first, eq.second) == 2); in main()
47 assert(k->second == "one"); in main()
50 assert(k->second == "four"); in main()
52 assert(std::distance(eq.first, eq.second) == 2); in main()
55 assert(k->second == "two"); in main()
58 assert(k->second == "four"); in main()
60 assert(std::distance(eq.first, eq.second) == 1); in main()
63 assert(k->second == "three"); in main()
65 assert(std::distance(eq.first, eq.second) == 1); in main()
68 assert(k->second == "four"); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/set/
Dequal_range.pass.cpp40 assert(r.second == next(m.begin(), 1)); in main()
43 assert(r.second == next(m.begin(), 2)); in main()
46 assert(r.second == next(m.begin(), 3)); in main()
49 assert(r.second == next(m.begin(), 4)); in main()
52 assert(r.second == next(m.begin(), 5)); in main()
55 assert(r.second == next(m.begin(), 6)); in main()
58 assert(r.second == next(m.begin(), 7)); in main()
61 assert(r.second == next(m.begin(), 8)); in main()
64 assert(r.second == next(m.begin(), 0)); in main()
67 assert(r.second == next(m.begin(), 1)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.ops/
Dequal_range.pass.cpp40 assert(r.second == next(m.begin(), 1)); in main()
43 assert(r.second == next(m.begin(), 2)); in main()
46 assert(r.second == next(m.begin(), 3)); in main()
49 assert(r.second == next(m.begin(), 4)); in main()
52 assert(r.second == next(m.begin(), 5)); in main()
55 assert(r.second == next(m.begin(), 6)); in main()
58 assert(r.second == next(m.begin(), 7)); in main()
61 assert(r.second == next(m.begin(), 8)); in main()
64 assert(r.second == next(m.begin(), 0)); in main()
67 assert(r.second == next(m.begin(), 1)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.search/
Dbasic.pass.cpp40 assert(m.prefix().second == m[0].first); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
55 assert(m.prefix().second == m[0].first); in main()
57 assert(m.suffix().first == m[0].second); in main()
58 assert(m.suffix().second == s+2); in main()
77 assert(m.prefix().second == m[0].first); in main()
79 assert(m.suffix().first == m[0].second); in main()
80 assert(m.suffix().second == s+3); in main()
99 assert(m.prefix().second == m[0].first); in main()
[all …]
Decma.pass.cpp34 assert(m.prefix().second == m[0].first); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
49 assert(m.prefix().second == m[0].first); in main()
51 assert(m.suffix().first == m[0].second); in main()
52 assert(m.suffix().second == s+2); in main()
71 assert(m.prefix().second == m[0].first); in main()
73 assert(m.suffix().first == m[0].second); in main()
74 assert(m.suffix().second == s+3); in main()
93 assert(m.prefix().second == m[0].first); in main()
[all …]
Dawk.pass.cpp34 assert(m.prefix().second == m[0].first); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
49 assert(m.prefix().second == m[0].first); in main()
51 assert(m.suffix().first == m[0].second); in main()
52 assert(m.suffix().second == s+2); in main()
71 assert(m.prefix().second == m[0].first); in main()
73 assert(m.suffix().first == m[0].second); in main()
74 assert(m.suffix().second == s+3); in main()
93 assert(m.prefix().second == m[0].first); in main()
[all …]
Dextended.pass.cpp34 assert(m.prefix().second == m[0].first); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
49 assert(m.prefix().second == m[0].first); in main()
51 assert(m.suffix().first == m[0].second); in main()
52 assert(m.suffix().second == s+2); in main()
71 assert(m.prefix().second == m[0].first); in main()
73 assert(m.suffix().first == m[0].second); in main()
74 assert(m.suffix().second == s+3); in main()
93 assert(m.prefix().second == m[0].first); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.match/
Decma.pass.cpp34 assert(m.prefix().second == m[0].first); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
49 assert(m.prefix().second == m[0].first); in main()
51 assert(m.suffix().first == m[0].second); in main()
52 assert(m.suffix().second == s+2); in main()
90 assert(m.prefix().second == m[0].first); in main()
92 assert(m.suffix().first == m[0].second); in main()
93 assert(m.suffix().second == s+4); in main()
105 assert(m.prefix().second == m[0].first); in main()
[all …]
Dawk.pass.cpp35 assert(m.prefix().second == m[0].first); in main()
37 assert(m.suffix().first == m[0].second); in main()
38 assert(m.suffix().second == s+1); in main()
50 assert(m.prefix().second == m[0].first); in main()
52 assert(m.suffix().first == m[0].second); in main()
53 assert(m.suffix().second == s+2); in main()
91 assert(m.prefix().second == m[0].first); in main()
93 assert(m.suffix().first == m[0].second); in main()
94 assert(m.suffix().second == s+4); in main()
106 assert(m.prefix().second == m[0].first); in main()
[all …]
Dextended.pass.cpp34 assert(m.prefix().second == m[0].first); in main()
36 assert(m.suffix().first == m[0].second); in main()
37 assert(m.suffix().second == s+1); in main()
49 assert(m.prefix().second == m[0].first); in main()
51 assert(m.suffix().first == m[0].second); in main()
52 assert(m.suffix().second == s+2); in main()
90 assert(m.prefix().second == m[0].first); in main()
92 assert(m.suffix().first == m[0].second); in main()
93 assert(m.suffix().second == s+4); in main()
105 assert(m.prefix().second == m[0].first); in main()
[all …]
Dbasic.pass.cpp40 assert(m.prefix().second == m[0].first); in main()
42 assert(m.suffix().first == m[0].second); in main()
43 assert(m.suffix().second == s+1); in main()
55 assert(m.prefix().second == m[0].first); in main()
57 assert(m.suffix().first == m[0].second); in main()
58 assert(m.suffix().second == s+2); in main()
96 assert(m.prefix().second == m[0].first); in main()
98 assert(m.suffix().first == m[0].second); in main()
99 assert(m.suffix().second == s+4); in main()
111 assert(m.prefix().second == m[0].first); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.cnstr/
Dassign_move.pass.cpp64 assert(std::distance(eq.first, eq.second) == 2); in main()
67 assert(i->second == "one"); in main()
70 assert(i->second == "four"); in main()
72 assert(std::distance(eq.first, eq.second) == 2); in main()
75 assert(i->second == "two"); in main()
78 assert(i->second == "four"); in main()
81 assert(std::distance(eq.first, eq.second) == 1); in main()
84 assert(i->second == "three"); in main()
86 assert(std::distance(eq.first, eq.second) == 1); in main()
89 assert(i->second == "four"); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multiset/
Dequal_range.pass.cpp41 assert(r.second == next(m.begin(), 0)); in main()
44 assert(r.second == next(m.begin(), 3)); in main()
47 assert(r.second == next(m.begin(), 3)); in main()
50 assert(r.second == next(m.begin(), 6)); in main()
53 assert(r.second == next(m.begin(), 6)); in main()
56 assert(r.second == next(m.begin(), 9)); in main()
59 assert(r.second == next(m.begin(), 9)); in main()
78 assert(r.second == next(m.begin(), 0)); in main()
81 assert(r.second == next(m.begin(), 3)); in main()
84 assert(r.second == next(m.begin(), 3)); in main()
[all …]

1234567891011