Home
last modified time | relevance | path

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

1234567891011

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.modifiers/
Derase_key.pass.cpp44 assert(m.begin()->second == 1.5); in main()
46 assert(next(m.begin())->second == 2.5); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
52 assert(next(m.begin(), 4)->second == 5.5); in main()
54 assert(next(m.begin(), 5)->second == 6.5); in main()
56 assert(next(m.begin(), 6)->second == 7.5); in main()
58 assert(next(m.begin(), 7)->second == 8.5); in main()
64 assert(m.begin()->second == 1.5); in main()
66 assert(next(m.begin())->second == 2.5); in main()
[all …]
Derase_iter.pass.cpp44 assert(m.begin()->second == 1.5); in main()
46 assert(next(m.begin())->second == 2.5); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
50 assert(next(m.begin(), 3)->second == 5.5); in main()
52 assert(next(m.begin(), 4)->second == 6.5); in main()
54 assert(next(m.begin(), 5)->second == 7.5); in main()
56 assert(next(m.begin(), 6)->second == 8.5); in main()
62 assert(m.begin()->second == 2.5); in main()
64 assert(next(m.begin())->second == 3.5); in main()
66 assert(next(m.begin(), 2)->second == 5.5); in main()
[all …]
Derase_iter_iter.pass.cpp44 assert(m.begin()->second == 1.5); in main()
46 assert(next(m.begin())->second == 2.5); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
52 assert(next(m.begin(), 4)->second == 5.5); in main()
54 assert(next(m.begin(), 5)->second == 6.5); in main()
56 assert(next(m.begin(), 6)->second == 7.5); in main()
58 assert(next(m.begin(), 7)->second == 8.5); in main()
64 assert(next(m.begin(), 0)->second == 3.5); in main()
66 assert(next(m.begin(), 1)->second == 4.5); in main()
[all …]
Dinsert_cv.pass.cpp28 assert(r.second); in main()
32 assert(r.first->second == 2.5); in main()
35 assert(r.second); in main()
39 assert(r.first->second == 1.5); in main()
42 assert(r.second); in main()
46 assert(r.first->second == 3.5); in main()
49 assert(!r.second); in main()
53 assert(r.first->second == 3.5); in main()
61 assert(r.second); in main()
65 assert(r.first->second == 2.5); in main()
[all …]
Dinsert_rv.pass.cpp31 assert(r.second); in main()
35 assert(r.first->second == 2); in main()
38 assert(r.second); in main()
42 assert(r.first->second == 1); in main()
45 assert(r.second); in main()
49 assert(r.first->second == 3); in main()
52 assert(!r.second); in main()
56 assert(r.first->second == 3); in main()
64 assert(r.second); in main()
68 assert(r.first->second == 2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unorder.map.modifiers/
Dinsert_rvalue.pass.cpp34 assert(r.second); in main()
37 assert(r.first->second == 3); in main()
40 assert(!r.second); in main()
43 assert(r.first->second == 3); in main()
46 assert(r.second); in main()
49 assert(r.first->second == 4); in main()
52 assert(r.second); in main()
55 assert(r.first->second == 4); in main()
64 assert(r.second); in main()
67 assert(r.first->second == 3); in main()
[all …]
Dinsert_const_lvalue.pass.cpp31 assert(r.second); in main()
34 assert(r.first->second == 3); in main()
37 assert(!r.second); in main()
40 assert(r.first->second == 3); in main()
43 assert(r.second); in main()
46 assert(r.first->second == 4); in main()
49 assert(r.second); in main()
52 assert(r.first->second == 4); in main()
62 assert(r.second); in main()
65 assert(r.first->second == 3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp45 assert(m.begin()->second == 1); in main()
47 assert(next(m.begin())->second == 1.5); in main()
49 assert(next(m.begin(), 2)->second == 2); in main()
51 assert(next(m.begin(), 3)->second == 1.5); in main()
53 assert(next(m.begin(), 4)->second == 2); in main()
55 assert(next(m.begin(), 5)->second == 1); in main()
57 assert(next(m.begin(), 6)->second == 1.5); in main()
59 assert(next(m.begin(), 7)->second == 2); in main()
65 assert(next(m.begin(), 0)->second == 1.5); in main()
67 assert(next(m.begin(), 1)->second == 2); in main()
[all …]
Derase_key.pass.cpp45 assert(next(m.begin(), 0)->second == 1); in main()
47 assert(next(m.begin(), 1)->second == 1.5); in main()
49 assert(next(m.begin(), 2)->second == 2); in main()
51 assert(next(m.begin(), 3)->second == 1); in main()
53 assert(next(m.begin(), 4)->second == 1.5); in main()
55 assert(next(m.begin(), 5)->second == 2); in main()
61 assert(next(m.begin(), 0)->second == 1); in main()
63 assert(next(m.begin(), 1)->second == 1.5); in main()
65 assert(next(m.begin(), 2)->second == 2); in main()
67 assert(next(m.begin(), 3)->second == 1); in main()
[all …]
Dinsert_iter_iter.pass.cpp44 assert(m.begin()->second == 1); in main()
46 assert(next(m.begin())->second == 1.5); in main()
48 assert(next(m.begin(), 2)->second == 2); in main()
50 assert(next(m.begin(), 3)->second == 1); in main()
52 assert(next(m.begin(), 4)->second == 1.5); in main()
54 assert(next(m.begin(), 5)->second == 2); in main()
56 assert(next(m.begin(), 6)->second == 1); in main()
58 assert(next(m.begin(), 7)->second == 1.5); in main()
60 assert(next(m.begin(), 8)->second == 2); in main()
82 assert(m.begin()->second == 1); in main()
[all …]
Derase_iter_iter.pass.cpp44 assert(m.begin()->second == 1.5); in main()
46 assert(next(m.begin())->second == 2.5); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
52 assert(next(m.begin(), 4)->second == 5.5); in main()
54 assert(next(m.begin(), 5)->second == 6.5); in main()
56 assert(next(m.begin(), 6)->second == 7.5); in main()
58 assert(next(m.begin(), 7)->second == 8.5); in main()
64 assert(next(m.begin(), 0)->second == 3.5); in main()
66 assert(next(m.begin(), 1)->second == 4.5); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dequal_range.pass.cpp44 assert(r.second == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
53 assert(r.second == next(m.begin(), 4)); in main()
56 assert(r.second == next(m.begin(), 5)); in main()
59 assert(r.second == next(m.begin(), 6)); in main()
62 assert(r.second == next(m.begin(), 7)); in main()
65 assert(r.second == next(m.begin(), 8)); in main()
68 assert(r.second == next(m.begin(), 0)); in main()
71 assert(r.second == next(m.begin(), 1)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.ops/
Dequal_range.pass.cpp44 assert(r.second == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
53 assert(r.second == next(m.begin(), 4)); in main()
56 assert(r.second == next(m.begin(), 5)); in main()
59 assert(r.second == next(m.begin(), 6)); in main()
62 assert(r.second == next(m.begin(), 7)); in main()
65 assert(r.second == next(m.begin(), 8)); in main()
68 assert(r.second == next(m.begin(), 0)); in main()
71 assert(r.second == next(m.begin(), 1)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_key.pass.cpp59 assert(std::distance(eq.first, eq.second) == 2); in main()
62 assert(k->second == "one"); in main()
65 assert(k->second == "four"); in main()
67 assert(std::distance(eq.first, eq.second) == 2); in main()
70 assert(k->second == "two"); in main()
73 assert(k->second == "four"); in main()
75 assert(std::distance(eq.first, eq.second) == 1); in main()
78 assert(k->second == "three"); in main()
80 assert(std::distance(eq.first, eq.second) == 1); in main()
83 assert(k->second == "four"); in main()
[all …]
Derase_range.pass.cpp46 assert(std::distance(eq.first, eq.second) == 2); in main()
49 assert(k->second == "one"); in main()
52 assert(k->second == "four"); in main()
54 assert(std::distance(eq.first, eq.second) == 2); in main()
57 assert(k->second == "two"); in main()
60 assert(k->second == "four"); in main()
62 assert(std::distance(eq.first, eq.second) == 1); in main()
65 assert(k->second == "three"); in main()
67 assert(std::distance(eq.first, eq.second) == 1); in main()
70 assert(k->second == "four"); in main()
[all …]
Dinsert_init.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
48 assert(k->second == "one"); in main()
51 assert(k->second == "four"); in main()
53 assert(std::distance(eq.first, eq.second) == 2); in main()
56 assert(k->second == "two"); in main()
59 assert(k->second == "four"); in main()
61 assert(std::distance(eq.first, eq.second) == 1); in main()
64 assert(k->second == "three"); in main()
66 assert(std::distance(eq.first, eq.second) == 1); in main()
69 assert(k->second == "four"); in main()
[all …]
Dinsert_range.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
48 assert(k->second == "one"); in main()
51 assert(k->second == "four"); in main()
53 assert(std::distance(eq.first, eq.second) == 2); in main()
56 assert(k->second == "two"); in main()
59 assert(k->second == "four"); in main()
61 assert(std::distance(eq.first, eq.second) == 1); in main()
64 assert(k->second == "three"); in main()
66 assert(std::distance(eq.first, eq.second) == 1); in main()
69 assert(k->second == "four"); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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 …]
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 …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dequal_range.pass.cpp45 assert(r.second == next(m.begin(), 0)); in main()
48 assert(r.second == next(m.begin(), 3)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
54 assert(r.second == next(m.begin(), 6)); in main()
57 assert(r.second == next(m.begin(), 6)); in main()
60 assert(r.second == next(m.begin(), 9)); in main()
63 assert(r.second == next(m.begin(), 9)); in main()
82 assert(r.second == next(m.begin(), 0)); in main()
85 assert(r.second == next(m.begin(), 3)); in main()
88 assert(r.second == next(m.begin(), 3)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/
Dinit.pass.cpp50 assert(std::distance(eq.first, eq.second) == 2); in main()
53 assert(i->second == "one"); in main()
56 assert(i->second == "four"); in main()
58 assert(std::distance(eq.first, eq.second) == 2); in main()
61 assert(i->second == "two"); in main()
64 assert(i->second == "four"); in main()
67 assert(std::distance(eq.first, eq.second) == 1); in main()
70 assert(i->second == "three"); in main()
72 assert(std::distance(eq.first, eq.second) == 1); in main()
75 assert(i->second == "four"); in main()
[all …]

1234567891011