/external/libcxx/test/std/containers/associative/ |
D | tree_remove.pass.cpp | 71 assert(std::__tree_invariant(root.__left_)); in test1() 73 assert(root.__parent_ == 0); in test1() 74 assert(root.__left_ == &d); in test1() 75 assert(root.__right_ == 0); in test1() 76 assert(root.__is_black_ == false); in test1() 78 assert(d.__parent_ == &root); in test1() 79 assert(d.__left_ == &b); in test1() 80 assert(d.__right_ == &e); in test1() 81 assert(d.__is_black_ == true); in test1() 83 assert(b.__parent_ == &d); in test1() [all …]
|
D | tree_balance_after_insert.pass.cpp | 64 assert(std::__tree_invariant(root.__left_)); in test1() 66 assert(root.__left_ == &c); in test1() 68 assert(c.__parent_ == &root); in test1() 69 assert(c.__left_ == &b); in test1() 70 assert(c.__right_ == &d); in test1() 71 assert(c.__is_black_ == true); in test1() 73 assert(b.__parent_ == &c); in test1() 74 assert(b.__left_ == &a); in test1() 75 assert(b.__right_ == 0); in test1() 76 assert(b.__is_black_ == true); in test1() [all …]
|
/external/libcxx/test/std/localization/locale.stdcvt/ |
D | codecvt_utf8_out.pass.cpp | 39 assert(r == std::codecvt_base::ok); in main() 40 assert(wp == &w+1); in main() 41 assert(np == n+4); in main() 42 assert(n[0] == char(0xF1)); in main() 43 assert(n[1] == char(0x80)); in main() 44 assert(n[2] == char(0x80)); in main() 45 assert(n[3] == char(0x83)); in main() 49 assert(r == std::codecvt_base::ok); in main() 50 assert(wp == &w+1); in main() 51 assert(np == n+3); in main() [all …]
|
D | codecvt_utf16_out.pass.cpp | 39 assert(r == std::codecvt_base::ok); in main() 40 assert(wp == &w+1); in main() 41 assert(np == n+4); in main() 42 assert(n[0] == char(0xD8)); in main() 43 assert(n[1] == char(0xC0)); in main() 44 assert(n[2] == char(0xDC)); in main() 45 assert(n[3] == char(0x03)); in main() 49 assert(r == std::codecvt_base::ok); in main() 50 assert(wp == &w+1); in main() 51 assert(np == n+2); in main() [all …]
|
D | codecvt_utf8_utf16_out.pass.cpp | 39 assert(r == std::codecvt_base::ok); in main() 40 assert(wp == w+2); in main() 41 assert(np == n+4); in main() 42 assert(n[0] == char(0xF1)); in main() 43 assert(n[1] == char(0x80)); in main() 44 assert(n[2] == char(0x80)); in main() 45 assert(n[3] == char(0x83)); in main() 49 assert(r == std::codecvt_base::ok); in main() 50 assert(wp == w+1); in main() 51 assert(np == n+3); in main() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 35 assert(std::regex_match(s, m, std::regex("a"))); in main() 36 assert(m.size() == 1); in main() 37 assert(!m.empty()); in main() 38 assert(!m.prefix().matched); in main() 39 assert(m.prefix().first == s); in main() 40 assert(m.prefix().second == m[0].first); in main() 41 assert(!m.suffix().matched); in main() 42 assert(m.suffix().first == m[0].second); in main() 43 assert(m.suffix().second == s+1); in main() 44 assert(m.length(0) == 1); in main() [all …]
|
D | extended.pass.cpp | 35 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main() 36 assert(m.size() == 1); in main() 37 assert(!m.empty()); in main() 38 assert(!m.prefix().matched); in main() 39 assert(m.prefix().first == s); in main() 40 assert(m.prefix().second == m[0].first); in main() 41 assert(!m.suffix().matched); in main() 42 assert(m.suffix().first == m[0].second); in main() 43 assert(m.suffix().second == s+1); in main() 44 assert(m.length(0) == 1); in main() [all …]
|
D | basic.pass.cpp | 34 assert(!std::regex_match("a", m, std::regex())); in main() 35 assert(m.size() == 0); in main() 36 assert(m.empty()); in main() 41 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main() 42 assert(m.size() == 1); in main() 43 assert(!m.empty()); in main() 44 assert(!m.prefix().matched); in main() 45 assert(m.prefix().first == s); in main() 46 assert(m.prefix().second == m[0].first); in main() 47 assert(!m.suffix().matched); in main() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
D | basic.pass.cpp | 34 assert(!std::regex_search("a", m, std::regex())); in main() 35 assert(m.size() == 0); in main() 36 assert(m.empty()); in main() 41 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main() 42 assert(m.size() == 1); in main() 43 assert(!m.empty()); in main() 44 assert(!m.prefix().matched); in main() 45 assert(m.prefix().first == s); in main() 46 assert(m.prefix().second == m[0].first); in main() 47 assert(!m.suffix().matched); in main() [all …]
|
D | ecma.pass.cpp | 35 assert(std::regex_search(s, m, std::regex("a"))); in main() 36 assert(m.size() == 1); in main() 37 assert(!m.empty()); in main() 38 assert(!m.prefix().matched); in main() 39 assert(m.prefix().first == s); in main() 40 assert(m.prefix().second == m[0].first); in main() 41 assert(!m.suffix().matched); in main() 42 assert(m.suffix().first == m[0].second); in main() 43 assert(m.suffix().second == s+1); in main() 44 assert(m.length(0) == 1); in main() [all …]
|
D | awk.pass.cpp | 35 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main() 36 assert(m.size() == 1); in main() 37 assert(!m.empty()); in main() 38 assert(!m.prefix().matched); in main() 39 assert(m.prefix().first == s); in main() 40 assert(m.prefix().second == m[0].first); in main() 41 assert(!m.suffix().matched); in main() 42 assert(m.suffix().first == m[0].second); in main() 43 assert(m.suffix().second == s+1); in main() 44 assert(m.length(0) == 1); in main() [all …]
|
D | extended.pass.cpp | 35 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main() 36 assert(m.size() == 1); in main() 37 assert(!m.empty()); in main() 38 assert(!m.prefix().matched); in main() 39 assert(m.prefix().first == s); in main() 40 assert(m.prefix().second == m[0].first); in main() 41 assert(!m.suffix().matched); in main() 42 assert(m.suffix().first == m[0].second); in main() 43 assert(m.suffix().second == s+1); in main() 44 assert(m.length(0) == 1); in main() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
D | rotate.pass.cpp | 31 assert(base(r) == ia); in test() 32 assert(ia[0] == 0); in test() 34 assert(base(r) == ia+sa); in test() 35 assert(ia[0] == 0); in test() 37 assert(base(r) == ia); in test() 38 assert(ia[0] == 0); in test() 43 assert(base(r) == ib+sb); in test() 44 assert(ib[0] == 0); in test() 45 assert(ib[1] == 1); in test() 47 assert(base(r) == ib+1); in test() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/ |
D | is_many.pass.cpp | 37 assert(h == in.data() + in.size()); in main() 40 assert(!(m[0] & F::space)); in main() 41 assert( (m[0] & F::print)); in main() 42 assert(!(m[0] & F::cntrl)); in main() 43 assert( (m[0] & F::upper)); in main() 44 assert(!(m[0] & F::lower)); in main() 45 assert( (m[0] & F::alpha)); in main() 46 assert(!(m[0] & F::digit)); in main() 47 assert(!(m[0] & F::punct)); in main() 48 assert(!(m[0] & F::xdigit)); in main() [all …]
|
/external/libcxx/test/std/containers/associative/map/map.modifiers/ |
D | erase_key.pass.cpp | 39 assert(m.size() == 8); in main() 41 assert(s == 0); in main() 42 assert(m.size() == 8); 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() [all …]
|
D | erase_iter.pass.cpp | 47 assert(m.size() == 8); in main() 49 assert(m.size() == 7); in main() 50 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() [all …]
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 64 assert(obj == true); in main() 66 assert(obj == false); in main() 68 assert(obj == true); in main() 72 assert(obj == false); in main() 74 assert(obj == true); in main() 75 assert(obj.load() == true); in main() 76 assert(obj.load(std::memory_order_acquire) == true); in main() 77 assert(obj.exchange(false) == true); in main() 78 assert(obj == false); in main() 79 assert(obj.exchange(true, std::memory_order_relaxed) == false); in main() [all …]
|
/external/libcxx/test/std/language.support/support.exception/propagation/ |
D | current_exception.pass.cpp | 32 assert(p == nullptr); in main() 37 assert(A::constructed == 0); in main() 39 assert(false); in main() 43 assert(A::constructed == 1); in main() 45 assert(A::constructed == 0); in main() 47 assert(A::constructed == 0); in main() 52 assert(A::constructed == 0); in main() 54 assert(false); in main() 59 assert(A::constructed == 1); in main() 60 assert(p != nullptr); in main() [all …]
|
/external/libcxx/test/std/containers/associative/set/ |
D | erase_key.pass.cpp | 39 assert(m.size() == 8); in main() 41 assert(m.size() == 8); in main() 42 assert(i == 0); in main() 43 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() [all …]
|
/external/libcxxabi/test/ |
D | dynamic_cast14.pass.cpp | 230 assert(dynamic_cast<A3*>(a3.getA1_3()) == a3.getA3()); in test() 231 assert(dynamic_cast<A3*>(a3.getA2()) == a3.getA3()); in test() 233 assert(dynamic_cast<A3*>(a4.getA1_4()) == 0); in test() 234 assert(dynamic_cast<A3*>(a4.getA2()) == 0); in test() 235 assert(dynamic_cast<A4*>(a4.getA1_4()) == a4.getA4()); in test() 236 assert(dynamic_cast<A4*>(a4.getA2()) == a4.getA4()); in test() 238 assert(dynamic_cast<A3*>(a5.getA1_3()) == a5.getA3()); in test() 239 assert(dynamic_cast<A3*>(a5.getA2()) == a5.getA3()); in test() 241 assert(dynamic_cast<A4*>(a5.getA1_3()) == a5.getA4()); in test() 242 assert(dynamic_cast<A4*>(a5.getA1_4()) == a5.getA4()); in test() [all …]
|
D | dynamic_cast5.pass.cpp | 79 assert(dynamic_cast<A1*>(a1.getA1()) == a1.getA1()); in test() 80 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test() 81 assert(dynamic_cast<A1*>(a3.getA1()) == a3.getA1()); in test() 82 assert(dynamic_cast<A1*>(a3.getA2()) == 0); in test() 83 assert(dynamic_cast<A1*>(a3.getA3()) == a3.getA1()); in test() 84 assert(dynamic_cast<A1*>(a4.getA1()) == a4.getA1()); in test() 85 assert(dynamic_cast<A1*>(a4.getA2()) == 0); in test() 86 assert(dynamic_cast<A1*>(a4.getA3()) == a4.getA1()); in test() 87 assert(dynamic_cast<A1*>(a4.getA4()) == a4.getA1()); in test() 88 assert(dynamic_cast<A1*>(a5.getA1()) == a5.getA1()); in test() [all …]
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
D | try_lock.pass.cpp | 79 assert(std::try_lock(l0, l1) == -1); in main() 80 assert(l0.locked()); in main() 81 assert(l1.locked()); in main() 86 assert(std::try_lock(l0, l1) == 1); in main() 87 assert(!l0.locked()); in main() 88 assert(!l1.locked()); in main() 93 assert(std::try_lock(l0, l1) == 0); in main() 94 assert(!l0.locked()); in main() 95 assert(!l1.locked()); in main() 103 assert(false); in main() [all …]
|
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
D | erase_iter.pass.cpp | 48 assert(m.size() == 9); in main() 50 assert(m.size() == 8); in main() 51 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() [all …]
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/ |
D | swap.pass.cpp | 75 assert(static_cast<bool>(opt1) == false); in main() 76 assert(static_cast<bool>(opt2) == false); in main() 78 assert(static_cast<bool>(opt1) == false); in main() 79 assert(static_cast<bool>(opt2) == false); in main() 85 assert(static_cast<bool>(opt1) == true); in main() 86 assert(*opt1 == 1); in main() 87 assert(static_cast<bool>(opt2) == false); in main() 89 assert(static_cast<bool>(opt1) == false); in main() 90 assert(static_cast<bool>(opt2) == true); in main() 91 assert(*opt2 == 1); in main() [all …]
|
/external/libcxx/test/std/experimental/optional/optional.specalg/ |
D | swap.pass.cpp | 74 assert(static_cast<bool>(opt1) == false); in main() 75 assert(static_cast<bool>(opt2) == false); in main() 77 assert(static_cast<bool>(opt1) == false); in main() 78 assert(static_cast<bool>(opt2) == false); in main() 84 assert(static_cast<bool>(opt1) == true); in main() 85 assert(*opt1 == 1); in main() 86 assert(static_cast<bool>(opt2) == false); in main() 88 assert(static_cast<bool>(opt1) == false); in main() 89 assert(static_cast<bool>(opt2) == true); in main() 90 assert(*opt2 == 1); in main() [all …]
|