Home
last modified time | relevance | path

Searched refs:LIBCPP_ASSERT (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/
Dbucket_size.pass.cpp39 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
40 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
41 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
42 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
43 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
44 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
45 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
63 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
64 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
65 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
Drehash.pass.cpp58 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
63 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
67 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
89 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
94 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
98 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/
Dbucket_size.pass.cpp40 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
41 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
42 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
43 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
44 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
45 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
46 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
64 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
65 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
66 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multiset/
Dbucket_size.pass.cpp44 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
45 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
46 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
47 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
50 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
68 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
69 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
70 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
Drehash.pass.cpp59 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
64 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
68 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
90 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
95 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
99 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/
Dbucket_size.pass.cpp45 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
46 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
47 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
48 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
50 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
51 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
69 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
70 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
71 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
/external/llvm-project/libcxx/test/std/containers/unord/unord.set/
Dbucket_size.pass.cpp39 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
40 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
41 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
42 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
43 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
60 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
61 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
62 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
63 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
64 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
Drehash.pass.cpp58 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
63 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
67 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
89 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
94 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
98 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dbucket_size.pass.cpp44 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
45 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
46 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
47 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
65 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
66 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
67 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
68 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
69 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
Drehash.pass.cpp59 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
64 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
68 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
90 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
95 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
99 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/
Dbucket_size.pass.cpp40 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
41 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
42 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
43 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
44 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
62 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
63 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
64 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
65 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
66 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
Drehash.pass.cpp59 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
64 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
68 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
90 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
95 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
99 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/libcxx/test/std/containers/unord/unord.map/
Dbucket_size.pass.cpp45 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
46 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
47 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
67 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
68 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
69 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
70 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
71 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
Drehash.pass.cpp60 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
65 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
69 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
91 LIBCPP_ASSERT(c.bucket_count() == 5); in main()
96 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
100 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Demplace_hint.pass.cpp45 LIBCPP_ASSERT(r == next(c.begin())); in main()
52 LIBCPP_ASSERT(r == next(c.begin())); in main()
55 LIBCPP_ASSERT(r->second == Emplaceable()); in main()
58 LIBCPP_ASSERT(r->second == Emplaceable(5, 6)); in main()
76 LIBCPP_ASSERT(r == next(c.begin())); in main()
83 LIBCPP_ASSERT(r == next(c.begin())); in main()
86 LIBCPP_ASSERT(r->second == Emplaceable()); in main()
89 LIBCPP_ASSERT(r->second == Emplaceable(5, 6)); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Demplace_hint.pass.cpp46 LIBCPP_ASSERT(r == next(c.begin())); in main()
53 LIBCPP_ASSERT(r == next(c.begin())); in main()
56 LIBCPP_ASSERT(r->second == Emplaceable()); in main()
59 LIBCPP_ASSERT(r->second == Emplaceable(5, 6)); in main()
77 LIBCPP_ASSERT(r == next(c.begin())); in main()
84 LIBCPP_ASSERT(r == next(c.begin())); in main()
87 LIBCPP_ASSERT(r->second == Emplaceable()); in main()
90 LIBCPP_ASSERT(r->second == Emplaceable(5, 6)); in main()
/external/llvm-project/libcxx/test/std/re/re.const/re.err/
Derror_type.pass.cpp40 LIBCPP_ASSERT(std::regex_constants::error_collate != 0); in main()
41 LIBCPP_ASSERT(std::regex_constants::error_ctype != 0); in main()
42 LIBCPP_ASSERT(std::regex_constants::error_escape != 0); in main()
43 LIBCPP_ASSERT(std::regex_constants::error_backref != 0); in main()
44 LIBCPP_ASSERT(std::regex_constants::error_brack != 0); in main()
45 LIBCPP_ASSERT(std::regex_constants::error_paren != 0); in main()
46 LIBCPP_ASSERT(std::regex_constants::error_brace != 0); in main()
47 LIBCPP_ASSERT(std::regex_constants::error_badbrace != 0); in main()
48 LIBCPP_ASSERT(std::regex_constants::error_range != 0); in main()
49 LIBCPP_ASSERT(std::regex_constants::error_space != 0); in main()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dconstruct_default.pass.cpp35 LIBCPP_ASSERT(c.__invariants()); in test0()
38 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in test0()
41 LIBCPP_ASSERT(c1.__invariants()); in test0()
44 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c1)); in test0()
58 LIBCPP_ASSERT(c.__invariants()); in test1()
61 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in test1()
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/
Dconstruct_default.pass.cpp34 LIBCPP_ASSERT(c.__invariants()); in test0()
37 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in test0()
40 LIBCPP_ASSERT(c1.__invariants()); in test0()
43 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c1)); in test0()
57 LIBCPP_ASSERT(c.__invariants()); in test1()
60 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in test1()
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Dclear.pass.cpp29 LIBCPP_ASSERT(c.__invariants()); in main()
30 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in main()
39 LIBCPP_ASSERT(c.__invariants()); in main()
40 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in main()
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Dclear.pass.cpp28 LIBCPP_ASSERT(c.__invariants()); in main()
29 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in main()
38 LIBCPP_ASSERT(c.__invariants()); in main()
39 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in main()
/external/llvm-project/libcxx/test/std/thread/futures/futures.future_error/
Dwhat.pass.cpp34 LIBCPP_ASSERT(std::strcmp(f.what(), "The associated promise has been destructed prior " in main()
39 LIBCPP_ASSERT(std::strcmp(f.what(), "The future has already been retrieved from " in main()
44 LIBCPP_ASSERT(std::strcmp(f.what(), "The state of the promise has already been set.") == 0); in main()
48 LIBCPP_ASSERT(std::strcmp(f.what(), "Operation not permitted on an object without " in main()
/external/libcxx/test/std/thread/futures/futures.future_error/
Dwhat.pass.cpp37 LIBCPP_ASSERT(std::strcmp(f.what(), "The associated promise has been destructed prior " in main()
42 LIBCPP_ASSERT(std::strcmp(f.what(), "The future has already been retrieved from " in main()
47 LIBCPP_ASSERT(std::strcmp(f.what(), "The state of the promise has already been set.") == 0); in main()
51 LIBCPP_ASSERT(std::strcmp(f.what(), "Operation not permitted on an object without " in main()
/external/libcxx/test/std/containers/sequences/array/array.data/
Ddata.pass.cpp45 LIBCPP_ASSERT(p != nullptr); in main()
53 LIBCPP_ASSERT(p != nullptr); in main()
60 LIBCPP_ASSERT(p != nullptr); in main()
69 LIBCPP_ASSERT(p != nullptr); in main()
/external/llvm-project/libcxx/test/std/containers/associative/map/map.cons/
Dassign_initializer_list.pass.cpp79 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()
81 LIBCPP_ASSERT(test_alloc_base::alloc_count == 3); in duplicate_keys_test()
83 LIBCPP_ASSERT(test_alloc_base::alloc_count == 1); in duplicate_keys_test()
87 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()

12345678910>>...22