/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_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/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/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/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.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.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.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/libcxx/test/std/strings/basic.string/string.cons/ |
D | T_size_size.pass.cpp | 28 template <class S, class SV> 30 test(SV sv, std::size_t pos, std::size_t n) in test() 62 template <class S, class SV> 64 test(SV sv, std::size_t pos, std::size_t n, const typename S::allocator_type& a) in test() 100 typedef std::basic_string_view<char, std::char_traits<char> > SV; in main() typedef 103 test<S,SV>(SV(), 0, 0); in main() 104 test<S,SV>(SV(), 0, 1); in main() 105 test<S,SV>(SV(), 1, 0); in main() 106 test<S,SV>(SV(), 1, 1); in main() 107 test<S,SV>(SV(), 1, 2); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
D | string_view.pass.cpp | 23 template <class S, class SV> 25 test(S s, SV sv, S expected) in test() 32 template <class S, class SV> 34 testAlloc(S s, SV sv, const typename S::allocator_type& a) in testAlloc() 46 typedef std::string_view SV; in main() typedef 47 test(S(), SV(), S()); in main() 48 test(S(), SV("12345"), S("12345")); in main() 49 test(S(), SV("1234567890"), S("1234567890")); in main() 50 test(S(), SV("12345678901234567890"), S("12345678901234567890")); in main() 52 test(S("12345"), SV(), S()); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_oplt/ |
D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(S(""), SV(""), false); in main() 32 test(S(""), SV("abcde"), true); in main() 33 test(S(""), SV("abcdefghij"), true); in main() 34 test(S(""), SV("abcdefghijklmnopqrst"), true); in main() 35 test(S("abcde"), SV(""), false); in main() 36 test(S("abcde"), SV("abcde"), false); in main() 37 test(S("abcde"), SV("abcdefghij"), true); in main() [all …]
|
D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(SV(""), S(""), false); in main() 32 test(SV(""), S("abcde"), true); in main() 33 test(SV(""), S("abcdefghij"), true); in main() 34 test(SV(""), S("abcdefghijklmnopqrst"), true); in main() 35 test(SV("abcde"), S(""), false); in main() 36 test(SV("abcde"), S("abcde"), false); in main() 37 test(SV("abcde"), S("abcdefghij"), true); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_opgt=/ |
D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(SV(""), S(""), true); in main() 32 test(SV(""), S("abcde"), false); in main() 33 test(SV(""), S("abcdefghij"), false); in main() 34 test(SV(""), S("abcdefghijklmnopqrst"), false); in main() 35 test(SV("abcde"), S(""), true); in main() 36 test(SV("abcde"), S("abcde"), true); in main() 37 test(SV("abcde"), S("abcdefghij"), false); in main() [all …]
|
D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(S(""), SV(""), true); in main() 32 test(S(""), SV("abcde"), false); in main() 33 test(S(""), SV("abcdefghij"), false); in main() 34 test(S(""), SV("abcdefghijklmnopqrst"), false); in main() 35 test(S("abcde"), SV(""), true); in main() 36 test(S("abcde"), SV("abcde"), true); in main() 37 test(S("abcde"), SV("abcdefghij"), false); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_opgt/ |
D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(SV(""), S(""), false); in main() 32 test(SV(""), S("abcde"), false); in main() 33 test(SV(""), S("abcdefghij"), false); in main() 34 test(SV(""), S("abcdefghijklmnopqrst"), false); in main() 35 test(SV("abcde"), S(""), true); in main() 36 test(SV("abcde"), S("abcde"), false); in main() 37 test(SV("abcde"), S("abcdefghij"), false); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/ |
D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(S(""), SV(""), true); in main() 32 test(S(""), SV("abcde"), false); in main() 33 test(S(""), SV("abcdefghij"), false); in main() 34 test(S(""), SV("abcdefghijklmnopqrst"), false); in main() 35 test(S("abcde"), SV(""), false); in main() 36 test(S("abcde"), SV("abcde"), true); in main() 37 test(S("abcde"), SV("abcdefghij"), false); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_op!=/ |
D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(SV(""), S(""), false); in main() 32 test(SV(""), S("abcde"), true); in main() 33 test(SV(""), S("abcdefghij"), true); in main() 34 test(SV(""), S("abcdefghijklmnopqrst"), true); in main() 35 test(SV("abcde"), S(""), true); in main() 36 test(SV("abcde"), S("abcde"), false); in main() 37 test(SV("abcde"), S("abcdefghij"), true); in main() [all …]
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string_oplt=/ |
D | string_view_string.pass.cpp | 19 template <class S, class SV> 21 test(SV lhs, const S& rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(SV(""), S(""), true); in main() 32 test(SV(""), S("abcde"), true); in main() 33 test(SV(""), S("abcdefghij"), true); in main() 34 test(SV(""), S("abcdefghijklmnopqrst"), true); in main() 35 test(SV("abcde"), S(""), false); in main() 36 test(SV("abcde"), S("abcde"), true); in main() 37 test(SV("abcde"), S("abcdefghij"), true); in main() [all …]
|
D | string_string_view.pass.cpp | 19 template <class S, class SV> 21 test(const S& lhs, SV rhs, bool x) in test() 30 typedef std::string_view SV; in main() typedef 31 test(S(""), SV(""), true); in main() 32 test(S(""), SV("abcde"), true); in main() 33 test(S(""), SV("abcdefghij"), true); in main() 34 test(S(""), SV("abcdefghijklmnopqrst"), true); in main() 35 test(S("abcde"), SV(""), false); in main() 36 test(S("abcde"), SV("abcde"), true); in main() 37 test(S("abcde"), SV("abcdefghij"), true); in main() [all …]
|