Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 9599) sorted by relevance

12345678910>>...384

/external/llvm-project/libcxx/test/std/containers/associative/map/map.modifiers/
Derase_key.pass.cpp43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
52 assert(next(m.begin(), 4)->second == 5.5); in main()
[all …]
Derase_iter.pass.cpp50 assert(i == next(m.begin(), 3)); in main()
51 assert(m.begin()->first == 1); in main()
52 assert(m.begin()->second == 1.5); in main()
53 assert(next(m.begin())->first == 2); in main()
54 assert(next(m.begin())->second == 2.5); in main()
55 assert(next(m.begin(), 2)->first == 3); in main()
56 assert(next(m.begin(), 2)->second == 3.5); in main()
57 assert(next(m.begin(), 3)->first == 5); in main()
58 assert(next(m.begin(), 3)->second == 5.5); in main()
59 assert(next(m.begin(), 4)->first == 6); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(i == m.begin()); in main()
43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Derase_key.pass.cpp43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
52 assert(next(m.begin(), 4)->second == 5.5); in main()
[all …]
Derase_iter.pass.cpp50 assert(i == next(m.begin(), 3)); in main()
51 assert(m.begin()->first == 1); in main()
52 assert(m.begin()->second == 1.5); in main()
53 assert(next(m.begin())->first == 2); in main()
54 assert(next(m.begin())->second == 2.5); in main()
55 assert(next(m.begin(), 2)->first == 3); in main()
56 assert(next(m.begin(), 2)->second == 3.5); in main()
57 assert(next(m.begin(), 3)->first == 5); in main()
58 assert(next(m.begin(), 3)->second == 5.5); in main()
59 assert(next(m.begin(), 4)->first == 6); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(i == m.begin()); in main()
43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp51 assert(i == next(m.begin(), 3)); in main()
52 assert(m.begin()->first == 1); in main()
53 assert(m.begin()->second == 1); in main()
54 assert(next(m.begin())->first == 1); in main()
55 assert(next(m.begin())->second == 1.5); in main()
56 assert(next(m.begin(), 2)->first == 1); in main()
57 assert(next(m.begin(), 2)->second == 2); in main()
58 assert(next(m.begin(), 3)->first == 2); in main()
59 assert(next(m.begin(), 3)->second == 1.5); in main()
60 assert(next(m.begin(), 4)->first == 2); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(i == m.begin()); in main()
43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp51 assert(i == next(m.begin(), 3)); in main()
52 assert(m.begin()->first == 1); in main()
53 assert(m.begin()->second == 1); in main()
54 assert(next(m.begin())->first == 1); in main()
55 assert(next(m.begin())->second == 1.5); in main()
56 assert(next(m.begin(), 2)->first == 1); in main()
57 assert(next(m.begin(), 2)->second == 2); in main()
58 assert(next(m.begin(), 3)->first == 2); in main()
59 assert(next(m.begin(), 3)->second == 1.5); in main()
60 assert(next(m.begin(), 4)->first == 2); in main()
[all …]
Derase_iter_iter.pass.cpp42 assert(i == m.begin()); in main()
43 assert(m.begin()->first == 1); in main()
44 assert(m.begin()->second == 1.5); in main()
45 assert(next(m.begin())->first == 2); in main()
46 assert(next(m.begin())->second == 2.5); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
48 assert(next(m.begin(), 2)->second == 3.5); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
50 assert(next(m.begin(), 3)->second == 4.5); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
Derase_after_many.pass.cpp25 C c(std::begin(t), std::end(t)); in main()
29 assert(distance(c.begin(), c.end()) == 10); in main()
30 assert(*next(c.begin(), 0) == 0); in main()
31 assert(*next(c.begin(), 1) == 1); in main()
32 assert(*next(c.begin(), 2) == 2); in main()
33 assert(*next(c.begin(), 3) == 3); in main()
34 assert(*next(c.begin(), 4) == 4); in main()
35 assert(*next(c.begin(), 5) == 5); in main()
36 assert(*next(c.begin(), 6) == 6); in main()
37 assert(*next(c.begin(), 7) == 7); in main()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
Derase_after_many.pass.cpp25 C c(std::begin(t), std::end(t)); in main()
29 assert(distance(c.begin(), c.end()) == 10); in main()
30 assert(*next(c.begin(), 0) == 0); in main()
31 assert(*next(c.begin(), 1) == 1); in main()
32 assert(*next(c.begin(), 2) == 2); in main()
33 assert(*next(c.begin(), 3) == 3); in main()
34 assert(*next(c.begin(), 4) == 4); in main()
35 assert(*next(c.begin(), 5) == 5); in main()
36 assert(*next(c.begin(), 6) == 6); in main()
37 assert(*next(c.begin(), 7) == 7); in main()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dequal_range.pass.cpp44 assert(r.first == next(m.begin(), 0)); in main()
45 assert(r.second == next(m.begin(), 1)); in main()
47 assert(r.first == next(m.begin(), 1)); in main()
48 assert(r.second == next(m.begin(), 2)); in main()
50 assert(r.first == next(m.begin(), 2)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
53 assert(r.first == next(m.begin(), 3)); in main()
54 assert(r.second == next(m.begin(), 4)); in main()
56 assert(r.first == next(m.begin(), 4)); in main()
57 assert(r.second == next(m.begin(), 5)); in main()
[all …]
Derase_key.pass.cpp43 assert(*next(m.begin(), 0) == 1); in main()
44 assert(*next(m.begin(), 1) == 2); in main()
45 assert(*next(m.begin(), 2) == 3); in main()
46 assert(*next(m.begin(), 3) == 4); in main()
47 assert(*next(m.begin(), 4) == 5); in main()
48 assert(*next(m.begin(), 5) == 6); in main()
49 assert(*next(m.begin(), 6) == 7); in main()
50 assert(*next(m.begin(), 7) == 8); in main()
55 assert(*next(m.begin(), 0) == 1); in main()
56 assert(*next(m.begin(), 1) == 2); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/set/
Dequal_range.pass.cpp43 assert(r.first == next(m.begin(), 0)); in main()
44 assert(r.second == next(m.begin(), 1)); in main()
46 assert(r.first == next(m.begin(), 1)); in main()
47 assert(r.second == next(m.begin(), 2)); in main()
49 assert(r.first == next(m.begin(), 2)); in main()
50 assert(r.second == next(m.begin(), 3)); in main()
52 assert(r.first == next(m.begin(), 3)); in main()
53 assert(r.second == next(m.begin(), 4)); in main()
55 assert(r.first == next(m.begin(), 4)); in main()
56 assert(r.second == next(m.begin(), 5)); in main()
[all …]
Derase_key.pass.cpp43 assert(*next(m.begin(), 0) == 1); in main()
44 assert(*next(m.begin(), 1) == 2); in main()
45 assert(*next(m.begin(), 2) == 3); in main()
46 assert(*next(m.begin(), 3) == 4); in main()
47 assert(*next(m.begin(), 4) == 5); in main()
48 assert(*next(m.begin(), 5) == 6); in main()
49 assert(*next(m.begin(), 6) == 7); in main()
50 assert(*next(m.begin(), 7) == 8); in main()
55 assert(*next(m.begin(), 0) == 1); in main()
56 assert(*next(m.begin(), 1) == 2); in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.ops/
Dequal_range.pass.cpp45 assert(r.first == next(m.begin(), 0)); in main()
46 assert(r.second == next(m.begin(), 1)); in main()
48 assert(r.first == next(m.begin(), 1)); in main()
49 assert(r.second == next(m.begin(), 2)); in main()
51 assert(r.first == next(m.begin(), 2)); in main()
52 assert(r.second == next(m.begin(), 3)); in main()
54 assert(r.first == next(m.begin(), 3)); in main()
55 assert(r.second == next(m.begin(), 4)); in main()
57 assert(r.first == next(m.begin(), 4)); in main()
58 assert(r.second == next(m.begin(), 5)); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/map/map.ops/
Dequal_range.pass.cpp44 assert(r.first == next(m.begin(), 0)); in main()
45 assert(r.second == next(m.begin(), 1)); in main()
47 assert(r.first == next(m.begin(), 1)); in main()
48 assert(r.second == next(m.begin(), 2)); in main()
50 assert(r.first == next(m.begin(), 2)); in main()
51 assert(r.second == next(m.begin(), 3)); in main()
53 assert(r.first == next(m.begin(), 3)); in main()
54 assert(r.second == next(m.begin(), 4)); in main()
56 assert(r.first == next(m.begin(), 4)); in main()
57 assert(r.second == next(m.begin(), 5)); in main()
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcharconv_parse.cc249 int ConsumeDigits(const char* begin, const char* end, int max_digits, T* out, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse.cc249 int ConsumeDigits(const char* begin, const char* end, int max_digits, T* out, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse.cc249 std::size_t ConsumeDigits(const char* begin, const char* end, int max_digits, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcharconv_parse.cc249 std::size_t ConsumeDigits(const char* begin, const char* end, int max_digits, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/abseil-cpp/absl/strings/internal/
Dcharconv_parse.cc249 std::size_t ConsumeDigits(const char* begin, const char* end, int max_digits, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse.cc249 std::size_t ConsumeDigits(const char* begin, const char* end, int max_digits, in ConsumeDigits() argument
256 const char* const original_begin = begin; in ConsumeDigits()
261 while (!*out && end != begin && *begin == '0') ++begin; in ConsumeDigits()
265 (end - begin > max_digits) ? begin + max_digits : end; in ConsumeDigits()
266 while (begin < significant_digits_end && IsDigit<base>(*begin)) { in ConsumeDigits()
269 auto digit = static_cast<T>(ToDigit<base>(*begin)); in ConsumeDigits()
274 ++begin; in ConsumeDigits()
277 while (begin < end && IsDigit<base>(*begin)) { in ConsumeDigits()
278 dropped_nonzero = dropped_nonzero || (*begin != '0'); in ConsumeDigits()
279 ++begin; in ConsumeDigits()
[all …]
/external/llvm-project/libcxx/test/std/containers/associative/multiset/
Derase_iter.pass.cpp50 assert(i == next(m.begin(), 3)); in main()
51 assert(*next(m.begin(), 0) == 1); in main()
52 assert(*next(m.begin(), 1) == 2); in main()
53 assert(*next(m.begin(), 2) == 3); in main()
54 assert(*next(m.begin(), 3) == 5); in main()
55 assert(*next(m.begin(), 4) == 6); in main()
56 assert(*next(m.begin(), 5) == 7); in main()
57 assert(*next(m.begin(), 6) == 8); in main()
61 assert(i == m.begin()); in main()
62 assert(*next(m.begin(), 0) == 2); in main()
[all …]

12345678910>>...384