Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.ops/
Dupper_bound.pass.cpp42 R r = m.upper_bound(5); in main() local
43 assert(r == next(m.begin(), 1)); in main()
44 r = m.upper_bound(7); in main()
45 assert(r == next(m.begin(), 2)); in main()
46 r = m.upper_bound(9); in main()
47 assert(r == next(m.begin(), 3)); in main()
48 r = m.upper_bound(11); in main()
49 assert(r == next(m.begin(), 4)); in main()
50 r = m.upper_bound(13); in main()
51 assert(r == next(m.begin(), 5)); in main()
[all …]
Dlower_bound.pass.cpp42 R r = m.lower_bound(5); in main() local
43 assert(r == m.begin()); in main()
44 r = m.lower_bound(7); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.lower_bound(9); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.lower_bound(11); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.lower_bound(13); in main()
51 assert(r == next(m.begin(), 4)); in main()
[all …]
Dequal_range.pass.cpp42 R r = m.equal_range(5); in main() local
43 assert(r.first == next(m.begin(), 0)); in main()
44 assert(r.second == next(m.begin(), 1)); in main()
45 r = m.equal_range(7); in main()
46 assert(r.first == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
48 r = m.equal_range(9); in main()
49 assert(r.first == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
51 r = m.equal_range(11); in main()
[all …]
Dfind.pass.cpp42 R r = m.find(5); in main() local
43 assert(r == m.begin()); in main()
44 r = m.find(6); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.find(7); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.find(8); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.find(9); in main()
51 assert(r == next(m.begin(), 4)); in main()
[all …]
Dcount.pass.cpp40 R r = m.count(5); in main() local
41 assert(r == 1); in main()
42 r = m.count(6); in main()
43 assert(r == 1); in main()
44 r = m.count(7); in main()
45 assert(r == 1); in main()
46 r = m.count(8); in main()
47 assert(r == 1); in main()
48 r = m.count(9); in main()
49 assert(r == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dupper_bound.pass.cpp42 R r = m.upper_bound(5); in main() local
43 assert(r == next(m.begin(), 1)); in main()
44 r = m.upper_bound(7); in main()
45 assert(r == next(m.begin(), 2)); in main()
46 r = m.upper_bound(9); in main()
47 assert(r == next(m.begin(), 3)); in main()
48 r = m.upper_bound(11); in main()
49 assert(r == next(m.begin(), 4)); in main()
50 r = m.upper_bound(13); in main()
51 assert(r == next(m.begin(), 5)); in main()
[all …]
Dlower_bound.pass.cpp42 R r = m.lower_bound(5); in main() local
43 assert(r == m.begin()); in main()
44 r = m.lower_bound(7); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.lower_bound(9); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.lower_bound(11); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.lower_bound(13); in main()
51 assert(r == next(m.begin(), 4)); in main()
[all …]
Dequal_range.pass.cpp42 R r = m.equal_range(5); in main() local
43 assert(r.first == next(m.begin(), 0)); in main()
44 assert(r.second == next(m.begin(), 1)); in main()
45 r = m.equal_range(7); in main()
46 assert(r.first == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
48 r = m.equal_range(9); in main()
49 assert(r.first == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
51 r = m.equal_range(11); in main()
[all …]
Dfind.pass.cpp42 R r = m.find(5); in main() local
43 assert(r == m.begin()); in main()
44 r = m.find(6); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.find(7); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.find(8); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.find(9); in main()
51 assert(r == next(m.begin(), 4)); in main()
[all …]
Dcount.pass.cpp39 R r = m.count(5); in main() local
40 assert(r == 1); in main()
41 r = m.count(6); in main()
42 assert(r == 1); in main()
43 r = m.count(7); in main()
44 assert(r == 1); in main()
45 r = m.count(8); in main()
46 assert(r == 1); in main()
47 r = m.count(9); in main()
48 assert(r == 1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dfind.pass.cpp42 R r = m.find(5); in main() local
43 assert(r == m.begin()); in main()
44 r = m.find(6); in main()
45 assert(r == next(m.begin())); in main()
46 r = m.find(7); in main()
47 assert(r == next(m.begin(), 2)); in main()
48 r = m.find(8); in main()
49 assert(r == next(m.begin(), 3)); in main()
50 r = m.find(9); in main()
51 assert(r == next(m.begin(), 4)); in main()
[all …]
Dupper_bound.pass.cpp43 R r = m.upper_bound(4); in main() local
44 assert(r == next(m.begin(), 0)); in main()
45 r = m.upper_bound(5); in main()
46 assert(r == next(m.begin(), 3)); in main()
47 r = m.upper_bound(6); in main()
48 assert(r == next(m.begin(), 3)); in main()
49 r = m.upper_bound(7); in main()
50 assert(r == next(m.begin(), 6)); in main()
51 r = m.upper_bound(8); in main()
52 assert(r == next(m.begin(), 6)); in main()
[all …]
Dlower_bound.pass.cpp43 R r = m.lower_bound(4); in main() local
44 assert(r == next(m.begin(), 0)); in main()
45 r = m.lower_bound(5); in main()
46 assert(r == next(m.begin(), 0)); in main()
47 r = m.lower_bound(6); in main()
48 assert(r == next(m.begin(), 3)); in main()
49 r = m.lower_bound(7); in main()
50 assert(r == next(m.begin(), 3)); in main()
51 r = m.lower_bound(8); in main()
52 assert(r == next(m.begin(), 6)); in main()
[all …]
Dequal_range.pass.cpp43 R r = m.equal_range(4); in main() local
44 assert(r.first == next(m.begin(), 0)); in main()
45 assert(r.second == next(m.begin(), 0)); in main()
46 r = m.equal_range(5); in main()
47 assert(r.first == next(m.begin(), 0)); in main()
48 assert(r.second == next(m.begin(), 3)); in main()
49 r = m.equal_range(6); in main()
50 assert(r.first == next(m.begin(), 3)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
52 r = m.equal_range(7); in main()
[all …]
Dcount.pass.cpp41 R r = m.count(4); in main() local
42 assert(r == 0); in main()
43 r = m.count(5); in main()
44 assert(r == 4); in main()
45 r = m.count(6); in main()
46 assert(r == 0); in main()
47 r = m.count(7); in main()
48 assert(r == 3); in main()
49 r = m.count(8); in main()
50 assert(r == 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/
Dcodecvt_utf16_length.pass.cpp33 int r = c.length(m, n, n+4, 2); in main() local
34 assert(r == 4); in main()
38 r = c.length(m, n, n+2, 2); in main()
39 assert(r == 2); in main()
43 r = c.length(m, n, n+2, 2); in main()
44 assert(r == 2); in main()
48 r = c.length(m, n, n+2, 2); in main()
49 assert(r == 2); in main()
56 int r = c.length(m, n, n+4, 2); in main() local
57 assert(r == 0); in main()
[all …]
Dcodecvt_utf8_utf16_length.pass.cpp33 int r = c.length(m, n, n+4, 2); in main() local
34 assert(r == 4); in main()
39 r = c.length(m, n, n+3, 2); in main()
40 assert(r == 3); in main()
44 r = c.length(m, n, n+2, 2); in main()
45 assert(r == 2); in main()
48 r = c.length(m, n, n+1, 2); in main()
49 assert(r == 1); in main()
56 int r = c.length(m, n, n+4, 2); in main() local
57 assert(r == 0); in main()
[all …]
Dcodecvt_utf8_length.pass.cpp33 int r = c.length(m, n, n+4, 1); in main() local
34 assert(r == 4); in main()
39 r = c.length(m, n, n+3, 2); in main()
40 assert(r == 3); in main()
44 r = c.length(m, n, n+2, 3); in main()
45 assert(r == 2); in main()
48 r = c.length(m, n, n+1, 3); in main()
49 assert(r == 1); in main()
56 int r = c.length(m, n, n+4, 1); in main() local
57 assert(r == 0); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unorder.map.modifiers/
Dinsert_rvalue.pass.cpp33 R r = c.insert(P(3.5, 3)); in main() local
34 assert(r.second); in main()
36 assert(r.first->first == 3.5); in main()
37 assert(r.first->second == 3); in main()
39 r = c.insert(P(3.5, 4)); in main()
40 assert(!r.second); in main()
42 assert(r.first->first == 3.5); in main()
43 assert(r.first->second == 3); in main()
45 r = c.insert(P(4.5, 4)); in main()
46 assert(r.second); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.ops/
Dequal_range.pass.cpp43 R r = m.equal_range(4); in main() local
44 assert(r.first == m.begin()); in main()
45 assert(r.second == m.begin()); in main()
46 r = m.equal_range(5); in main()
47 assert(r.first == m.begin()); in main()
48 assert(r.second == next(m.begin(), 3)); in main()
49 r = m.equal_range(6); in main()
50 assert(r.first == next(m.begin(), 3)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
52 r = m.equal_range(7); in main()
[all …]
Dlower_bound.pass.cpp43 R r = m.lower_bound(4); in main() local
44 assert(r == m.begin()); in main()
45 r = m.lower_bound(5); in main()
46 assert(r == m.begin()); in main()
47 r = m.lower_bound(6); in main()
48 assert(r == next(m.begin(), 3)); in main()
49 r = m.lower_bound(7); in main()
50 assert(r == next(m.begin(), 3)); in main()
51 r = m.lower_bound(8); in main()
52 assert(r == next(m.begin(), 6)); in main()
[all …]
Dupper_bound.pass.cpp43 R r = m.upper_bound(4); in main() local
44 assert(r == m.begin()); in main()
45 r = m.upper_bound(5); in main()
46 assert(r == next(m.begin(), 3)); in main()
47 r = m.upper_bound(6); in main()
48 assert(r == next(m.begin(), 3)); in main()
49 r = m.upper_bound(7); in main()
50 assert(r == next(m.begin(), 6)); in main()
51 r = m.upper_bound(8); in main()
52 assert(r == next(m.begin(), 6)); in main()
[all …]
Dfind.pass.cpp43 R r = m.find(5); in main() local
44 assert(r == m.begin()); in main()
45 r = m.find(6); in main()
46 assert(r == m.end()); in main()
47 r = m.find(7); in main()
48 assert(r == next(m.begin(), 3)); in main()
49 r = m.find(8); in main()
50 assert(r == m.end()); in main()
51 r = m.find(9); in main()
52 assert(r == next(m.begin(), 6)); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/
Diterator_range_core.hpp54 static IteratorT adl_begin( ForwardRange& r ) in adl_begin()
56 return static_cast<IteratorT>( boost::begin( r ) ); in adl_begin()
60 static IteratorT adl_end( ForwardRange& r ) in adl_end()
62 return static_cast<IteratorT>( boost::end( r ) ); in adl_end()
67 inline bool less_than( const Left& l, const Right& r ) in less_than() argument
71 boost::begin(r), in less_than()
72 boost::end(r) ); in less_than()
76 inline bool greater_than( const Left& l, const Right& r ) in greater_than() argument
78 return less_than(r,l); in greater_than()
82 inline bool less_or_equal_than( const Left& l, const Right& r ) in less_or_equal_than() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dinsert_rvalue.pass.cpp31 R r = c.insert(P(3.5)); in main() local
33 assert(*r.first == 3.5); in main()
34 assert(r.second); in main()
36 r = c.insert(P(3.5)); in main()
38 assert(*r.first == 3.5); in main()
39 assert(!r.second); in main()
41 r = c.insert(P(4.5)); in main()
43 assert(*r.first == 4.5); in main()
44 assert(r.second); in main()
46 r = c.insert(P(5.5)); in main()
[all …]

12345678910>>...21