Home
last modified time | relevance | path

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

1234567891011

/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()
Dreserve.pass.cpp67 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
71 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
95 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
99 LIBCPP_ASSERT(c.bucket_count() == 3); 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 …]
Drehash.pass.cpp104 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
109 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
113 LIBCPP_ASSERT(c.bucket_count() == 31); in main()
135 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
140 LIBCPP_ASSERT(c.bucket_count() == 3); in main()
144 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/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/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/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()
Dconstruct_size.pass.cpp29 LIBCPP_ASSERT(c.__invariants()); in test2()
32 LIBCPP_ASSERT(is_contiguous_container_asan_correct(c)); in test2()
46 LIBCPP_ASSERT(c.__invariants()); in test1()
49 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/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/libcxx/test/std/re/re.traits/
Dlookup_classname.pass.cpp48 LIBCPP_ASSERT((expected | std::regex_traits<char_type>::__regex_word) == result); in test_w()
61 LIBCPP_ASSERT((std::ctype_base::space & std::regex_traits<char>::__regex_word) == 0); in main()
62 LIBCPP_ASSERT((std::ctype_base::print & std::regex_traits<char>::__regex_word) == 0); in main()
63 LIBCPP_ASSERT((std::ctype_base::cntrl & std::regex_traits<char>::__regex_word) == 0); in main()
64 LIBCPP_ASSERT((std::ctype_base::upper & std::regex_traits<char>::__regex_word) == 0); in main()
65 LIBCPP_ASSERT((std::ctype_base::lower & std::regex_traits<char>::__regex_word) == 0); in main()
66 LIBCPP_ASSERT((std::ctype_base::alpha & std::regex_traits<char>::__regex_word) == 0); in main()
67 LIBCPP_ASSERT((std::ctype_base::digit & std::regex_traits<char>::__regex_word) == 0); in main()
68 LIBCPP_ASSERT((std::ctype_base::punct & std::regex_traits<char>::__regex_word) == 0); in main()
69 LIBCPP_ASSERT((std::ctype_base::xdigit & std::regex_traits<char>::__regex_word) == 0); in main()
[all …]
/external/libcxx/test/std/containers/views/span.sub/
Dsubspan.pass.cpp33 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset, Count>()))); in testConstexprSpan()
34 LIBCPP_ASSERT((noexcept(sp.subspan(Offset, Count)))); in testConstexprSpan()
52 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset>()))); in testConstexprSpan()
53 LIBCPP_ASSERT((noexcept(sp.subspan(Offset)))); in testConstexprSpan()
72 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset, Count>()))); in testRuntimeSpan()
73 LIBCPP_ASSERT((noexcept(sp.subspan(Offset, Count)))); in testRuntimeSpan()
91 LIBCPP_ASSERT((noexcept(sp.template subspan<Offset>()))); in testRuntimeSpan()
92 LIBCPP_ASSERT((noexcept(sp.subspan(Offset)))); in testRuntimeSpan()
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/
Ddefault.pass.cpp37 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
55 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
74 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
87 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
100 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
Ddefault.pass.cpp37 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
55 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
74 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
87 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
100 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/
Ddefault.pass.cpp38 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
58 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
78 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
91 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
104 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
Dallocator.pass.cpp38 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
58 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
77 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
97 LIBCPP_ASSERT(c.bucket_count() == 2); in main()
117 LIBCPP_ASSERT(c.bucket_count() == 2); in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Ddefault.pass.cpp38 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
58 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
78 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
91 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
104 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
Dallocator.pass.cpp38 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
58 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
77 LIBCPP_ASSERT(c.bucket_count() == 0); in main()
97 LIBCPP_ASSERT(c.bucket_count() == 2); in main()
117 LIBCPP_ASSERT(c.bucket_count() == 2); in main()
/external/libcxx/test/std/utilities/any/any.class/any.assign/
Dmove.pass.cpp52 LIBCPP_ASSERT(RHS::count == 2); // libc++ leaves the object empty in test_move_assign()
57 LIBCPP_ASSERT(!a2.has_value()); in test_move_assign()
75 LIBCPP_ASSERT(LHS::count == 1); in test_move_assign_empty()
80 LIBCPP_ASSERT(!a2.has_value()); in test_move_assign_empty()
/external/libcxx/test/std/strings/basic.string/string.cons/
Dalloc.pass.cpp32 LIBCPP_ASSERT(s.__invariants()); in test()
45 LIBCPP_ASSERT(s.__invariants()); in test()
66 LIBCPP_ASSERT(s.__invariants()); in test2()
79 LIBCPP_ASSERT(s.__invariants()); in test2()

1234567891011