/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
D | size_size_T_size_size.pass.cpp | 34 template <class S, class SV> 37 SV sv, typename S::size_type pos2, typename S::size_type n2, int x) in test() 39 static_assert((!std::is_same<S, SV>::value), ""); in test() 58 template <class S, class SV> 61 SV sv, typename S::size_type pos2, int x) in test_npos() 63 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 82 template <class S, class SV> 85 test(S(""), 0, 0, SV(""), 0, 0, 0); in test0() 86 test(S(""), 0, 0, SV(""), 0, 1, 0); in test0() 87 test(S(""), 0, 0, SV(""), 1, 0, 0); in test0() [all …]
|
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> 56 test(S(""), 0, 0, SV(""), 0); in test0() 57 test(S(""), 0, 0, SV("abcde"), -5); in test0() 58 test(S(""), 0, 0, SV("abcdefghij"), -10); in test0() 59 test(S(""), 0, 0, SV("abcdefghijklmnopqrst"), -20); in test0() 60 test(S(""), 0, 1, SV(""), 0); in test0() 61 test(S(""), 0, 1, SV("abcde"), -5); in test0() 62 test(S(""), 0, 1, SV("abcdefghij"), -10); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
D | size_size_T_size_size.pass.cpp | 35 template <class S, class SV> 38 SV sv, typename S::size_type pos2, typename S::size_type n2, int x) in test() 40 static_assert((!std::is_same<S, SV>::value), ""); in test() 59 template <class S, class SV> 62 SV sv, typename S::size_type pos2, int x) in test_npos() 64 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 83 template <class S, class SV> 86 test(S(""), 0, 0, SV(""), 0, 0, 0); in test0() 87 test(S(""), 0, 0, SV(""), 0, 1, 0); in test0() 88 test(S(""), 0, 0, SV(""), 1, 0, 0); in test0() [all …]
|
D | size_size_string_view.pass.cpp | 31 template <class S, class SV> 34 SV sv, int x) in test() 54 template <class S, class SV> 57 test(S(""), 0, 0, SV(""), 0); in test0() 58 test(S(""), 0, 0, SV("abcde"), -5); in test0() 59 test(S(""), 0, 0, SV("abcdefghij"), -10); in test0() 60 test(S(""), 0, 0, SV("abcdefghijklmnopqrst"), -20); in test0() 61 test(S(""), 0, 1, SV(""), 0); in test0() 62 test(S(""), 0, 1, SV("abcde"), -5); in test0() 63 test(S(""), 0, 1, SV("abcdefghij"), -10); in test0() [all …]
|
/external/elfutils/backends/ |
D | sparc_cfi.c | 43 #define SV(n) DW_CFA_same_value, ULEB128_7 (n) in sparc_abi_cfi() macro 45 SV (0), SV (1), SV (2), SV (3), SV (4), SV (5), SV (6), SV (7), in sparc_abi_cfi() 47 SV (8), SV (9), SV (10), SV (11), SV (12), SV (13), SV (14), SV (15), in sparc_abi_cfi() 49 SV (16), SV (17), SV (18), SV (19), SV (20), SV (21), SV (22), SV (23), in sparc_abi_cfi() 51 SV (24), SV (25), SV (26), SV (27), SV (28), SV (29), SV (30), SV (31), in sparc_abi_cfi() 53 SV (32), SV (33), SV (34), SV (35), SV (36), SV (37), SV (38), SV (39), in sparc_abi_cfi() 54 SV (40), SV (41), SV (42), SV (43), SV (44), SV (45), SV (46), SV (47), in sparc_abi_cfi() 55 SV (48), SV (49), SV (50), SV (51), SV (52), SV (53), SV (54), SV (55), in sparc_abi_cfi() 56 SV (56), SV (57), SV (58), SV (59), SV (60), SV (61), SV (52), SV (63), in sparc_abi_cfi() 60 SV (64), SV (65), SV (66), SV (67), SV (68), SV (69), SV (70), SV (71), in sparc_abi_cfi() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
D | size_T_size_size.pass.cpp | 24 template <class S, class SV> 26 test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, in test() 29 static_assert((!std::is_same<S, SV>::value), ""); in test() 55 template <class S, class SV> 57 test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected) in test_npos() 59 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 86 template <class S, class SV> 89 test(S(""), 0, SV(""), 0, 0, S("")); in test0() 90 test(S(""), 0, SV(""), 0, 1, S("")); in test0() 91 test(S(""), 0, SV(""), 1, 0, S("can't happen")); in test0() [all …]
|
D | string_view.pass.cpp | 22 template <class S, class SV> 24 test(S s, typename S::size_type pos, SV sv, S expected) in test() 55 typedef std::string_view SV; in main() typedef 56 test(S(""), 0, SV(""), S("")); in main() 57 test(S(""), 0, SV("12345"), S("12345")); in main() 58 test(S(""), 0, SV("1234567890"), S("1234567890")); in main() 59 test(S(""), 0, SV("12345678901234567890"), S("12345678901234567890")); in main() 60 test(S(""), 1, SV(""), S("can't happen")); in main() 61 test(S(""), 1, SV("12345"), S("can't happen")); in main() 62 test(S(""), 1, SV("1234567890"), S("can't happen")); in main() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
D | size_T_size_size.pass.cpp | 23 template <class S, class SV> 25 test(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, in test() 28 static_assert((!std::is_same<S, SV>::value), ""); in test() 54 template <class S, class SV> 56 test_npos(S s, typename S::size_type pos1, SV sv, typename S::size_type pos2, S expected) in test_npos() 58 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 85 template <class S, class SV> 88 test(S(""), 0, SV(""), 0, 0, S("")); in test0() 89 test(S(""), 0, SV(""), 0, 1, S("")); in test0() 90 test(S(""), 0, SV(""), 1, 0, S("can't happen")); in test0() [all …]
|
D | string_view.pass.cpp | 21 template <class S, class SV> 23 test(S s, typename S::size_type pos, SV sv, S expected) in test() 54 typedef std::string_view SV; in main() typedef 55 test(S(""), 0, SV(""), S("")); in main() 56 test(S(""), 0, SV("12345"), S("12345")); in main() 57 test(S(""), 0, SV("1234567890"), S("1234567890")); in main() 58 test(S(""), 0, SV("12345678901234567890"), S("12345678901234567890")); in main() 59 test(S(""), 1, SV(""), S("can't happen")); in main() 60 test(S(""), 1, SV("12345"), S("can't happen")); in main() 61 test(S(""), 1, SV("1234567890"), S("can't happen")); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
D | size_size_T_size_size.pass.cpp | 26 template <class S, class SV> 29 SV sv, typename S::size_type pos2, typename S::size_type n2, in test() 33 static_assert((!std::is_same<S, SV>::value), ""); in test() 37 static_assert(sizeof(SizeT) == sizeof(typename SV::size_type), ""); in test() 67 template <class S, class SV> 70 SV sv, typename S::size_type pos2, in test_npos() 74 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 104 template <class S, class SV> 107 test(S(""), 0, 0, SV(""), 0, 0, S("")); in test0() 108 test(S(""), 0, 0, SV(""), 0, 1, S("")); in test0() [all …]
|
D | size_size_string_view.pass.cpp | 23 template <class S, class SV> 25 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) in test() 55 template <class S, class SV> 58 test(S(""), 0, 0, SV(""), S("")); in test0() 59 test(S(""), 0, 0, SV("12345"), S("12345")); in test0() 60 test(S(""), 0, 0, SV("1234567890"), S("1234567890")); in test0() 61 test(S(""), 0, 0, SV("12345678901234567890"), S("12345678901234567890")); in test0() 62 test(S(""), 0, 1, SV(""), S("")); in test0() 63 test(S(""), 0, 1, SV("12345"), S("12345")); in test0() 64 test(S(""), 0, 1, SV("1234567890"), S("1234567890")); in test0() [all …]
|
D | iter_iter_string_view.pass.cpp | 22 template <class S, class SV> 24 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) in test() 37 template <class S, class SV> 40 test(S(""), 0, 0, SV(""), S("")); in test0() 41 test(S(""), 0, 0, SV("12345"), S("12345")); in test0() 42 test(S(""), 0, 0, SV("1234567890"), S("1234567890")); in test0() 43 test(S(""), 0, 0, SV("12345678901234567890"), S("12345678901234567890")); in test0() 44 test(S("abcde"), 0, 0, SV(""), S("abcde")); in test0() 45 test(S("abcde"), 0, 0, SV("12345"), S("12345abcde")); in test0() 46 test(S("abcde"), 0, 0, SV("1234567890"), S("1234567890abcde")); in test0() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
D | size_size_T_size_size.pass.cpp | 25 template <class S, class SV> 28 SV sv, typename S::size_type pos2, typename S::size_type n2, in test() 32 static_assert((!std::is_same<S, SV>::value), ""); in test() 36 static_assert(sizeof(SizeT) == sizeof(typename SV::size_type), ""); in test() 66 template <class S, class SV> 69 SV sv, typename S::size_type pos2, in test_npos() 73 static_assert((!std::is_same<S, SV>::value), ""); in test_npos() 103 template <class S, class SV> 106 test(S(""), 0, 0, SV(""), 0, 0, S("")); in test0() 107 test(S(""), 0, 0, SV(""), 0, 1, S("")); in test0() [all …]
|
D | size_size_string_view.pass.cpp | 22 template <class S, class SV> 24 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) in test() 54 template <class S, class SV> 57 test(S(""), 0, 0, SV(""), S("")); in test0() 58 test(S(""), 0, 0, SV("12345"), S("12345")); in test0() 59 test(S(""), 0, 0, SV("1234567890"), S("1234567890")); in test0() 60 test(S(""), 0, 0, SV("12345678901234567890"), S("12345678901234567890")); in test0() 61 test(S(""), 0, 1, SV(""), S("")); in test0() 62 test(S(""), 0, 1, SV("12345"), S("12345")); in test0() 63 test(S(""), 0, 1, SV("1234567890"), S("1234567890")); in test0() [all …]
|
D | iter_iter_string_view.pass.cpp | 21 template <class S, class SV> 23 test(S s, typename S::size_type pos1, typename S::size_type n1, SV sv, S expected) in test() 36 template <class S, class SV> 39 test(S(""), 0, 0, SV(""), S("")); in test0() 40 test(S(""), 0, 0, SV("12345"), S("12345")); in test0() 41 test(S(""), 0, 0, SV("1234567890"), S("1234567890")); in test0() 42 test(S(""), 0, 0, SV("12345678901234567890"), S("12345678901234567890")); in test0() 43 test(S("abcde"), 0, 0, SV(""), S("abcde")); in test0() 44 test(S("abcde"), 0, 0, SV("12345"), S("12345abcde")); in test0() 45 test(S("abcde"), 0, 0, SV("1234567890"), S("1234567890abcde")); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_rfind/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, 0); in test0() 41 test(S(""), SV("abcde"), 0, S::npos); in test0() 42 test(S(""), SV("abcdeabcde"), 0, S::npos); in test0() 43 test(S(""), SV("abcdeabcdeabcdeabcde"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, 0); in test0() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_rfind/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, 0); in test0() 41 test(S(""), SV("abcde"), 0, S::npos); in test0() 42 test(S(""), SV("abcdeabcde"), 0, S::npos); in test0() 43 test(S(""), SV("abcdeabcdeabcdeabcde"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, 0); in test0() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, 0); in test0() 41 test(S(""), SV("abcde"), 0, S::npos); in test0() 42 test(S(""), SV("abcdeabcde"), 0, S::npos); in test0() 43 test(S(""), SV("abcdeabcdeabcdeabcde"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.ops/string_find/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, 0); in test0() 41 test(S(""), SV("abcde"), 0, S::npos); in test0() 42 test(S(""), SV("abcdeabcde"), 0, S::npos); in test0() 43 test(S(""), SV("abcdeabcdeabcdeabcde"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.first.not.of/ |
D | string_view_size.pass.cpp | 19 template <class S, class SV> 21 test(const S& s, SV sv, typename S::size_type pos, typename S::size_type x) in test() 28 template <class S, class SV> 30 test(const S& s, SV sv, typename S::size_type x) in test() 37 template <class S, class SV> 40 test(S(""), SV(""), 0, S::npos); in test0() 41 test(S(""), SV("laenf"), 0, S::npos); in test0() 42 test(S(""), SV("pqlnkmbdjo"), 0, S::npos); in test0() 43 test(S(""), SV("qkamfogpnljdcshbreti"), 0, S::npos); in test0() 44 test(S(""), SV(""), 1, S::npos); in test0() [all …]
|