| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/ |
| H A D | unicode.pass.cpp | 55 check.template operator()<"{:*^3}">(SV("* *"), SV(" ")); in test_single_code_point_fill() 56 check.template operator()<"{:*^3}">(SV("*~*"), SV("~")); in test_single_code_point_fill() 118 check.template operator()<"{:*^3.1}">(SV("* *"), SV(" ")); in test_single_code_point_truncate() 119 check.template operator()<"{:*^3.1}">(SV("*~*"), SV("~")); in test_single_code_point_truncate() 213 SV("***"), in test_P1868() 243 check.template operator()<"{:*^7}">(SV("*ZZZZ\x8f*"), SV("ZZZZ\x8f")); in test_malformed_code_point() 244 check.template operator()<"{:*^7}">(SV("*ZZZZ\xcf*"), SV("ZZZZ\xcf")); in test_malformed_code_point() 245 check.template operator()<"{:*^7}">(SV("*ZZZZ\xef*"), SV("ZZZZ\xef")); in test_malformed_code_point() 246 check.template operator()<"{:*^7}">(SV("*ZZZZ\xff*"), SV("ZZZZ\xff")); in test_malformed_code_point() 249 check.template operator()<"{:*^8}">(SV("*ZZZZ\x8fZ*"), SV("ZZZZ\x8fZ")); in test_malformed_code_point() [all …]
|
| H A D | locale-specific_form.pass.cpp | 282 test<"{:L}">(SV("0"), 0); in test_integer() 283 test<"{:L}">(SV("1"), 1); in test_integer() 284 test<"{:L}">(SV("10"), 10); in test_integer() 294 test<"{:L}">(SV("-1"), -1); in test_integer() 306 test<"{:L}">(SV("0"), 0); in test_integer() 307 test<"{:L}">(SV("1"), 1); in test_integer() 318 test<"{:L}">(SV("-1"), -1); in test_integer() 438 test<"{:Lo}">(SV("0"), 00); in test_integer() 439 test<"{:Lo}">(SV("1"), 01); in test_integer() 453 test<"{:Lo}">(SV("0"), 00); in test_integer() [all …]
|
| H A D | format_tests.h | 29 #define SV(S) MAKE_STRING_VIEW(CharT, S) macro 308 check.template operator()<"{:*^5}">(SV("*aßc*"), "aßc"); 338 check.template operator()<"{}">(SV("aßc"), STR("aßc")); 340 check.template operator()<"{:.3}">(SV("aßc"), STR("aßc")); 341 check.template operator()<"{:.2}">(SV("aß"), STR("aßc")); 342 check.template operator()<"{:.1}">(SV("a"), STR("aßc")); 345 check.template operator()<"{:2.2}">(SV("aß"), STR("aßc")); 346 check.template operator()<"{:1.1}">(SV("a"), STR("aßc")); 373 SV("*\u0041\u0301*"), 2561 check.template operator()<"{{">(SV("{")); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
| H A D | size_size_T_size_size.pass.cpp | 5958 SV sv = "CDEF"; in test56() 5984 test0<S, SV>(); in test() 5985 test1<S, SV>(); in test() 5986 test2<S, SV>(); in test() 5987 test3<S, SV>(); in test() 5988 test4<S, SV>(); in test() 5989 test5<S, SV>(); in test() 5990 test6<S, SV>(); in test() 5991 test7<S, SV>(); in test() 5992 test8<S, SV>(); in test() [all …]
|
| H A D | size_size_string_view.pass.cpp | 30 template <class S, class SV> 33 SV sv, int x) in test() 53 template <class S, class SV> 158 template <class S, class SV> 263 template <class S, class SV> 368 test0<S, SV>(); in test() 369 test1<S, SV>(); in test() 370 test2<S, SV>(); in test() 376 test0<S, SV>(); in test() 377 test1<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
| H A D | size_T_size_size.pass.cpp | 1833 test0<S, SV>(); in test() 1834 test1<S, SV>(); in test() 1835 test2<S, SV>(); in test() 1836 test3<S, SV>(); in test() 1837 test4<S, SV>(); in test() 1838 test5<S, SV>(); in test() 1839 test6<S, SV>(); in test() 1840 test7<S, SV>(); in test() 1841 test8<S, SV>(); in test() 1842 test9<S, SV>(); in test() [all …]
|
| H A D | string_view.pass.cpp | 21 template <class S, class SV> 53 typedef std::string_view SV; in test() typedef 54 test(S(""), 0, SV(""), S("")); in test() 55 test(S(""), 0, SV("12345"), S("12345")); in test() 62 test(S("abcde"), 0, SV(""), S("abcde")); in test() 66 test(S("abcde"), 1, SV(""), S("abcde")); in test() 70 test(S("abcde"), 2, SV(""), S("abcde")); in test() 74 test(S("abcde"), 4, SV(""), S("abcde")); in test() 78 test(S("abcde"), 5, SV(""), S("abcde")); in test() 138 typedef std::string_view SV; in test() typedef [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
| H A D | size_size_T_size_size.pass.cpp | 6021 test0<S, SV>(); in test() 6022 test1<S, SV>(); in test() 6023 test2<S, SV>(); in test() 6024 test3<S, SV>(); in test() 6025 test4<S, SV>(); in test() 6026 test5<S, SV>(); in test() 6027 test6<S, SV>(); in test() 6028 test7<S, SV>(); in test() 6029 test8<S, SV>(); in test() 6030 test9<S, SV>(); in test() [all …]
|
| H A D | size_size_string_view.pass.cpp | 22 template <class S, class SV> 54 template <class S, class SV> 57 test(S(""), 0, 0, SV(""), S("")); in test0() 61 test(S(""), 0, 1, SV(""), S("")); in test0() 161 template <class S, class SV> 268 template <class S, class SV> 374 typedef std::string_view SV; in test() typedef 375 test0<S, SV>(); in test() 376 test1<S, SV>(); in test() 377 test2<S, SV>(); in test() [all …]
|
| H A D | iter_iter_string_view.pass.cpp | 21 template <class S, class SV> 36 template <class S, class SV> 39 test(S(""), 0, 0, SV(""), S("")); in test0() 143 template <class S, class SV> 250 template <class S, class SV> 277 test0<S, SV>(); in test() 278 test1<S, SV>(); in test() 279 test2<S, SV>(); in test() 290 test0<S, SV>(); in test() 291 test1<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 50 test(S("fodgq"), SV(""), 0, 0); in test0() 124 template <class S, class SV> 131 test(S("nhmko"), SV(""), 4); in test1() 148 typedef std::string_view SV; in test() typedef 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_rfind/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 42 test(S(""), SV(""), 0, 0); in test0() 46 test(S(""), SV(""), 1, 0); in test0() 124 template <class S, class SV> 127 test(S(""), SV(""), 0); in test1() 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 50 test(S("fodgq"), SV(""), 0, 0); in test0() 124 template <class S, class SV> 131 test(S("nhmko"), SV(""), 0); in test1() 148 typedef std::string_view SV; in test() typedef 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 42 test(S(""), SV(""), 0, S::npos); in test0() 124 template <class S, class SV> 148 typedef std::string_view SV; in test() typedef 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 155 typedef std::string_view SV; in test() typedef 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 42 test(S(""), SV(""), 0, S::npos); in test0() 124 template <class S, class SV> 148 typedef std::string_view SV; in test() typedef 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 155 typedef std::string_view SV; in test() typedef 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
| H A D | string_view_size.pass.cpp | 19 template <class S, class SV> 29 template <class S, class SV> 39 template <class S, class SV> 42 test(S(""), SV(""), 0, 0); in test0() 124 template <class S, class SV> 127 test(S(""), SV(""), 0); in test1() 131 test(S("abcde"), SV(""), 0); in test1() 149 test0<S, SV>(); in test() 150 test1<S, SV>(); in test() 156 test0<S, SV>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.cons/ |
| H A D | T_size_size.pass.cpp | 100 test<S,SV>(SV(), 0, 0); in test() 101 test<S,SV>(SV(), 0, 1); in test() 102 test<S,SV>(SV(), 1, 0); in test() 103 test<S,SV>(SV(), 1, 1); in test() 104 test<S,SV>(SV(), 1, 2); in test() 105 test<S,SV>(SV("1"), 0, 0); in test() 131 test<S,SV>(SV(), 0, 0); in test() 132 test<S,SV>(SV(), 0, 1); in test() 133 test<S,SV>(SV(), 1, 0); in test() 134 test<S,SV>(SV(), 1, 1); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_oplt=/ |
| H A D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(S(""), SV(""), true); in test() 31 test(S(""), SV("abcde"), true); in test() 32 test(S(""), SV("abcdefghij"), true); in test() 34 test(S("abcde"), SV(""), false); in test() 35 test(S("abcde"), SV("abcde"), true); in test() 51 test(S(""), SV(""), true); in test() 52 test(S(""), SV("abcde"), true); in test() [all …]
|
| H A D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(SV(""), S(""), true); in test() 31 test(SV(""), S("abcde"), true); in test() 32 test(SV(""), S("abcdefghij"), true); in test() 34 test(SV("abcde"), S(""), false); in test() 35 test(SV("abcde"), S("abcde"), true); in test() 51 test(SV(""), S(""), true); in test() 52 test(SV(""), S("abcde"), true); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_opgt/ |
| H A D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(SV(""), S(""), false); in test() 31 test(SV(""), S("abcde"), false); in test() 32 test(SV(""), S("abcdefghij"), false); in test() 34 test(SV("abcde"), S(""), true); in test() 38 test(SV("abcdefghij"), S(""), true); in test() 51 test(SV(""), S(""), false); in test() 52 test(SV(""), S("abcde"), false); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/ |
| H A D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(SV(""), S(""), true); in test() 31 test(SV(""), S("abcde"), false); in test() 32 test(SV(""), S("abcdefghij"), false); in test() 34 test(SV("abcde"), S(""), false); in test() 35 test(SV("abcde"), S("abcde"), true); in test() 51 test(SV(""), S(""), true); in test() 52 test(SV(""), S("abcde"), false); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_opgt=/ |
| H A D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(S(""), SV(""), true); in test() 31 test(S(""), SV("abcde"), false); in test() 34 test(S("abcde"), SV(""), true); in test() 35 test(S("abcde"), SV("abcde"), true); in test() 38 test(S("abcdefghij"), SV(""), true); in test() 51 test(S(""), SV(""), true); in test() 52 test(S(""), SV("abcde"), false); in test() [all …]
|
| H A D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(SV(""), S(""), true); in test() 31 test(SV(""), S("abcde"), false); in test() 34 test(SV("abcde"), S(""), true); in test() 35 test(SV("abcde"), S("abcde"), true); in test() 38 test(SV("abcdefghij"), S(""), true); in test() 51 test(SV(""), S(""), true); in test() 52 test(SV(""), S("abcde"), false); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_oplt/ |
| H A D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(S(""), SV(""), false); in test() 31 test(S(""), SV("abcde"), true); in test() 32 test(S(""), SV("abcdefghij"), true); in test() 34 test(S("abcde"), SV(""), false); in test() 35 test(S("abcde"), SV("abcde"), false); in test() 51 test(S(""), SV(""), false); in test() 52 test(S(""), SV("abcde"), true); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.nonmembers/string_op!=/ |
| H A D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 29 typedef std::string_view SV; in test() typedef 30 test(SV(""), S(""), false); in test() 31 test(SV(""), S("abcde"), true); in test() 32 test(SV(""), S("abcdefghij"), true); in test() 34 test(SV("abcde"), S(""), true); in test() 38 test(SV("abcdefghij"), S(""), true); in test() 51 test(SV(""), S(""), false); in test() 52 test(SV(""), S("abcde"), true); in test() [all …]
|