/external/libxkbcommon/test/ |
D | keysym.c | 84 assert(expected != NULL); in test_utf8() 97 assert(test_string("i", XKB_KEY_i)); in test_github_issue_42() 98 assert(test_string("I", XKB_KEY_I)); in test_github_issue_42() 99 assert(test_casestring("i", XKB_KEY_i)); in test_github_issue_42() 100 assert(test_casestring("I", XKB_KEY_i)); in test_github_issue_42() 101 assert(xkb_keysym_to_upper(XKB_KEY_i) == XKB_KEY_I); in test_github_issue_42() 102 assert(xkb_keysym_to_lower(XKB_KEY_I) == XKB_KEY_i); in test_github_issue_42() 133 assert(test_string("Undo", 0xFF65)); in main() 134 assert(test_string("ThisKeyShouldNotExist", XKB_KEY_NoSymbol)); in main() 135 assert(test_string("XF86_Switch_VT_5", 0x1008FE05)); in main() [all …]
|
/external/llvm-project/libcxx/test/libcxx/containers/associative/ |
D | tree_remove.pass.cpp | 75 assert(std::__tree_invariant(root.__left_)); in test1() 77 assert(root.__parent_ == 0); in test1() 78 assert(root.__left_ == &d); in test1() 79 assert(root.__right_ == 0); in test1() 80 assert(root.__is_black_ == false); in test1() 82 assert(d.__parent_ == &root); in test1() 83 assert(d.__left_ == &b); in test1() 84 assert(d.__right_ == &e); in test1() 85 assert(d.__is_black_ == true); in test1() 87 assert(b.__parent_ == &d); in test1() [all …]
|
D | tree_balance_after_insert.pass.cpp | 68 assert(std::__tree_invariant(root.__left_)); in test1() 70 assert(root.__left_ == &c); in test1() 72 assert(c.__parent_ == &root); in test1() 73 assert(c.__left_ == &b); in test1() 74 assert(c.__right_ == &d); in test1() 75 assert(c.__is_black_ == true); in test1() 77 assert(b.__parent_ == &c); in test1() 78 assert(b.__left_ == &a); in test1() 79 assert(b.__right_ == 0); in test1() 80 assert(b.__is_black_ == true); in test1() [all …]
|
/external/libcxx/test/libcxx/containers/associative/ |
D | tree_remove.pass.cpp | 74 assert(std::__tree_invariant(root.__left_)); in test1() 76 assert(root.__parent_ == 0); in test1() 77 assert(root.__left_ == &d); in test1() 78 assert(root.__right_ == 0); in test1() 79 assert(root.__is_black_ == false); in test1() 81 assert(d.__parent_ == &root); in test1() 82 assert(d.__left_ == &b); in test1() 83 assert(d.__right_ == &e); in test1() 84 assert(d.__is_black_ == true); in test1() 86 assert(b.__parent_ == &d); in test1() [all …]
|
D | tree_balance_after_insert.pass.cpp | 67 assert(std::__tree_invariant(root.__left_)); in test1() 69 assert(root.__left_ == &c); in test1() 71 assert(c.__parent_ == &root); in test1() 72 assert(c.__left_ == &b); in test1() 73 assert(c.__right_ == &d); in test1() 74 assert(c.__is_black_ == true); in test1() 76 assert(b.__parent_ == &c); in test1() 77 assert(b.__left_ == &a); in test1() 78 assert(b.__right_ == 0); in test1() 79 assert(b.__is_black_ == true); in test1() [all …]
|
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
D | rotate.pass.cpp | 33 assert(base(r) == ia); in test() 34 assert(ia[0] == 0); in test() 36 assert(base(r) == ia+sa); in test() 37 assert(ia[0] == 0); in test() 39 assert(base(r) == ia); in test() 40 assert(ia[0] == 0); in test() 45 assert(base(r) == ib+sb); in test() 46 assert(ib[0] == 0); in test() 47 assert(ib[1] == 1); in test() 49 assert(base(r) == ib+1); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
D | rotate.pass.cpp | 30 assert(base(r) == ia); in test() 31 assert(ia[0] == 0); in test() 33 assert(base(r) == ia+sa); in test() 34 assert(ia[0] == 0); in test() 36 assert(base(r) == ia); in test() 37 assert(ia[0] == 0); in test() 42 assert(base(r) == ib+sb); in test() 43 assert(ib[0] == 0); in test() 44 assert(ib[1] == 1); in test() 46 assert(base(r) == ib+1); in test() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a"))); in main() 40 assert(m.size() == 1); in main() 41 assert(!m.empty()); in main() 42 assert(!m.prefix().matched); in main() 43 assert(m.prefix().first == s); in main() 44 assert(m.prefix().second == m[0].first); in main() 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 48 assert(m.length(0) == 1); in main() [all …]
|
D | awk.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main() 40 assert(m.size() == 1); in main() 41 assert(!m.empty()); in main() 42 assert(!m.prefix().matched); in main() 43 assert(m.prefix().first == s); in main() 44 assert(m.prefix().second == m[0].first); in main() 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 48 assert(m.length(0) == 1); in main() [all …]
|
D | extended.pass.cpp | 39 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main() 40 assert(m.size() == 1); in main() 41 assert(!m.empty()); in main() 42 assert(!m.prefix().matched); in main() 43 assert(m.prefix().first == s); in main() 44 assert(m.prefix().second == m[0].first); in main() 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 48 assert(m.length(0) == 1); in main() [all …]
|
D | basic.pass.cpp | 38 assert(!std::regex_search("a", m, std::regex())); in main() 39 assert(m.size() == 0); in main() 40 assert(m.empty()); in main() 45 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main() 46 assert(m.size() == 1); in main() 47 assert(!m.empty()); in main() 48 assert(!m.prefix().matched); in main() 49 assert(m.prefix().first == s); in main() 50 assert(m.prefix().second == m[0].first); in main() 51 assert(!m.suffix().matched); in main() [all …]
|
/external/llvm-project/libcxx/test/std/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 38 assert(std::regex_search(s, m, std::regex("a"))); in main() 39 assert(m.size() == 1); in main() 40 assert(!m.empty()); in main() 41 assert(!m.prefix().matched); in main() 42 assert(m.prefix().first == s); in main() 43 assert(m.prefix().second == m[0].first); in main() 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 47 assert(m.length(0) == 1); in main() [all …]
|
D | extended.pass.cpp | 38 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); in main() 39 assert(m.size() == 1); in main() 40 assert(!m.empty()); in main() 41 assert(!m.prefix().matched); in main() 42 assert(m.prefix().first == s); in main() 43 assert(m.prefix().second == m[0].first); in main() 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 47 assert(m.length(0) == 1); in main() [all …]
|
D | awk.pass.cpp | 38 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::awk))); in main() 39 assert(m.size() == 1); in main() 40 assert(!m.empty()); in main() 41 assert(!m.prefix().matched); in main() 42 assert(m.prefix().first == s); in main() 43 assert(m.prefix().second == m[0].first); in main() 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 47 assert(m.length(0) == 1); in main() [all …]
|
D | basic.pass.cpp | 37 assert(!std::regex_search("a", m, std::regex())); in main() 38 assert(m.size() == 0); in main() 39 assert(m.empty()); in main() 44 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::basic))); in main() 45 assert(m.size() == 1); in main() 46 assert(!m.empty()); in main() 47 assert(!m.prefix().matched); in main() 48 assert(m.prefix().first == s); in main() 49 assert(m.prefix().second == m[0].first); in main() 50 assert(!m.suffix().matched); in main() [all …]
|
/external/llvm-project/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/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/llvm-project/libcxx/test/std/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 38 assert(std::regex_match(s, m, std::regex("a"))); in main() 39 assert(m.size() == 1); in main() 40 assert(!m.empty()); in main() 41 assert(!m.prefix().matched); in main() 42 assert(m.prefix().first == s); in main() 43 assert(m.prefix().second == m[0].first); in main() 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 47 assert(m.length(0) == 1); in main() [all …]
|
D | extended.pass.cpp | 38 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::extended))); in main() 39 assert(m.size() == 1); in main() 40 assert(!m.empty()); in main() 41 assert(!m.prefix().matched); in main() 42 assert(m.prefix().first == s); in main() 43 assert(m.prefix().second == m[0].first); in main() 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 47 assert(m.length(0) == 1); in main() [all …]
|
D | awk.pass.cpp | 36 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main() 37 assert(m.size() == 1); in main() 38 assert(!m.empty()); in main() 39 assert(!m.prefix().matched); in main() 40 assert(m.prefix().first == s); in main() 41 assert(m.prefix().second == m[0].first); in main() 42 assert(!m.suffix().matched); in main() 43 assert(m.suffix().first == m[0].second); in main() 44 assert(m.suffix().second == s+1); in main() 45 assert(m.length(0) == 1); in main() [all …]
|
D | basic.pass.cpp | 37 assert(!std::regex_match("a", m, std::regex())); in main() 38 assert(m.size() == 0); in main() 39 assert(m.empty()); in main() 44 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::basic))); in main() 45 assert(m.size() == 1); in main() 46 assert(!m.empty()); in main() 47 assert(!m.prefix().matched); in main() 48 assert(m.prefix().first == s); in main() 49 assert(m.prefix().second == m[0].first); in main() 50 assert(!m.suffix().matched); in main() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | ecma.pass.cpp | 39 assert(std::regex_match(s, m, std::regex("a"))); in main() 40 assert(m.size() == 1); in main() 41 assert(!m.empty()); in main() 42 assert(!m.prefix().matched); in main() 43 assert(m.prefix().first == s); in main() 44 assert(m.prefix().second == m[0].first); in main() 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 48 assert(m.length(0) == 1); in main() [all …]
|
D | awk.pass.cpp | 33 assert(std::regex_match(s, m, std::regex("a", std::regex_constants::awk))); in main() 34 assert(m.size() == 1); in main() 35 assert(!m.empty()); in main() 36 assert(!m.prefix().matched); in main() 37 assert(m.prefix().first == s); in main() 38 assert(m.prefix().second == m[0].first); in main() 39 assert(!m.suffix().matched); in main() 40 assert(m.suffix().first == m[0].second); in main() 41 assert(m.suffix().second == s+1); in main() 42 assert(m.length(0) == 1); in main() [all …]
|
/external/libcxx/test/std/localization/locale.stdcvt/ |
D | codecvt_utf16_out.pass.cpp | 55 assert(r == std::codecvt_base::ok); in test() 56 assert(wp == &w + 1); in test() 57 assert(np == n + 4); in test() 58 assert(n[0] == char(0xD8)); in test() 59 assert(n[1] == char(0xC0)); in test() 60 assert(n[2] == char(0xDC)); in test() 61 assert(n[3] == char(0x03)); in test() 65 assert(r == std::codecvt_base::ok); in test() 66 assert(wp == &w + 1); in test() 67 assert(np == n + 2); in test() [all …]
|
/external/llvm-project/libcxx/test/std/localization/locale.stdcvt/ |
D | codecvt_utf16_out.pass.cpp | 56 assert(r == std::codecvt_base::ok); in test() 57 assert(wp == &w + 1); in test() 58 assert(np == n + 4); in test() 59 assert(n[0] == char(0xD8)); in test() 60 assert(n[1] == char(0xC0)); in test() 61 assert(n[2] == char(0xDC)); in test() 62 assert(n[3] == char(0x03)); in test() 66 assert(r == std::codecvt_base::ok); in test() 67 assert(wp == &w + 1); in test() 68 assert(np == n + 2); in test() [all …]
|