/minix/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
H A D | size_size_string_size_size.pass.cpp | 78 test(S(""), 0, 0, S(""), 0, 0, S("")); in test0() 79 test(S(""), 0, 0, S(""), 0, 1, S("")); in test0() 81 test(S(""), 0, 0, S("12345"), 0, 0, S("")); in test0() 82 test(S(""), 0, 0, S("12345"), 0, 1, S("1")); in test0() 87 test(S(""), 0, 0, S("12345"), 1, 0, S("")); in test0() 88 test(S(""), 0, 0, S("12345"), 1, 1, S("2")); in test0() 93 test(S(""), 0, 0, S("12345"), 2, 0, S("")); in test0() 98 test(S(""), 0, 0, S("12345"), 4, 0, S("")); in test0() 101 test(S(""), 0, 0, S("12345"), 5, 0, S("")); in test0() 152 test(S(""), 0, 1, S(""), 0, 0, S("")); in test0() [all …]
|
H A D | size_size_string.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) in test() 48 test(S(""), 0, 0, S(""), S("")); in test0() 49 test(S(""), 0, 0, S("12345"), S("12345")); in test0() 52 test(S(""), 0, 1, S(""), S("")); in test0() 53 test(S(""), 0, 1, S("12345"), S("12345")); in test0() 60 test(S("abcde"), 0, 0, S(""), S("abcde")); in test0() 64 test(S("abcde"), 0, 1, S(""), S("bcde")); in test0() 68 test(S("abcde"), 0, 2, S(""), S("cde")); in test0() 72 test(S("abcde"), 0, 4, S(""), S("e")); in test0() 76 test(S("abcde"), 0, 5, S(""), S("")); in test0() [all …]
|
H A D | iter_iter_pointer_size.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() 26 typename S::size_type n2, S expected) in test() 42 test(S(""), 0, 0, "", 0, S("")); in test0() 43 test(S(""), 0, 0, "12345", 0, S("")); in test0() 44 test(S(""), 0, 0, "12345", 1, S("1")); in test0() 45 test(S(""), 0, 0, "12345", 2, S("12")); in test0() 46 test(S(""), 0, 0, "12345", 4, S("1234")); in test0() 47 test(S(""), 0, 0, "12345", 5, S("12345")); in test0() 48 test(S(""), 0, 0, "1234567890", 0, S("")); in test0() 106 test(S("abcde"), 0, 4, "", 0, S("e")); in test0() [all …]
|
H A D | size_size_pointer_size.pass.cpp | 26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() 52 test(S(""), 0, 0, "", 0, S("")); in test0() 53 test(S(""), 0, 0, "12345", 0, S("")); in test0() 54 test(S(""), 0, 0, "12345", 1, S("1")); in test0() 55 test(S(""), 0, 0, "12345", 2, S("12")); in test0() 56 test(S(""), 0, 0, "12345", 4, S("1234")); in test0() 57 test(S(""), 0, 0, "12345", 5, S("12345")); in test0() 68 test(S(""), 0, 1, "", 0, S("")); in test0() 69 test(S(""), 0, 1, "12345", 0, S("")); in test0() 70 test(S(""), 0, 1, "12345", 1, S("1")); in test0() [all …]
|
H A D | iter_iter_string.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) in test() 41 test(S(""), 0, 0, S(""), S("")); in test0() 42 test(S(""), 0, 0, S("12345"), S("12345")); in test0() 45 test(S("abcde"), 0, 0, S(""), S("abcde")); in test0() 49 test(S("abcde"), 0, 1, S(""), S("bcde")); in test0() 53 test(S("abcde"), 0, 2, S(""), S("cde")); in test0() 57 test(S("abcde"), 0, 4, S(""), S("e")); in test0() 61 test(S("abcde"), 0, 5, S(""), S("")); in test0() 73 test(S("abcde"), 1, 2, S(""), S("ade")); in test0() 77 test(S("abcde"), 1, 3, S(""), S("ae")); in test0() [all …]
|
H A D | size_size_pointer.pass.cpp | 26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() 51 test(S(""), 0, 0, "", S("")); in test0() 52 test(S(""), 0, 0, "12345", S("12345")); in test0() 55 test(S(""), 0, 1, "", S("")); in test0() 56 test(S(""), 0, 1, "12345", S("12345")); in test0() 71 test(S("abcde"), 0, 2, "", S("cde")); in test0() 75 test(S("abcde"), 0, 4, "", S("e")); in test0() 79 test(S("abcde"), 0, 5, "", S("")); in test0() 83 test(S("abcde"), 0, 6, "", S("")); in test0() 103 test(S("abcde"), 1, 4, "", S("a")); in test0() [all …]
|
H A D | size_size_size_char.pass.cpp | 24 test(S s, typename S::size_type pos, typename S::size_type n1, in test() 50 test(S(""), 0, 0, 0, '2', S("")); in test0() 51 test(S(""), 0, 0, 5, '2', S("22222")); in test0() 54 test(S(""), 0, 1, 0, '2', S("")); in test0() 55 test(S(""), 0, 1, 5, '2', S("22222")); in test0() 70 test(S("abcde"), 0, 2, 0, '2', S("cde")); in test0() 74 test(S("abcde"), 0, 4, 0, '2', S("e")); in test0() 78 test(S("abcde"), 0, 5, 0, '2', S("")); in test0() 82 test(S("abcde"), 0, 6, 0, '2', S("")); in test0() 102 test(S("abcde"), 1, 4, 0, '2', S("a")); in test0() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.modifiers/string_replace/ |
H A D | size_size_string_size_size.pass.cpp | 78 test(S(""), 0, 0, S(""), 0, 0, S("")); in test0() 79 test(S(""), 0, 0, S(""), 0, 1, S("")); in test0() 81 test(S(""), 0, 0, S("12345"), 0, 0, S("")); in test0() 82 test(S(""), 0, 0, S("12345"), 0, 1, S("1")); in test0() 87 test(S(""), 0, 0, S("12345"), 1, 0, S("")); in test0() 88 test(S(""), 0, 0, S("12345"), 1, 1, S("2")); in test0() 93 test(S(""), 0, 0, S("12345"), 2, 0, S("")); in test0() 98 test(S(""), 0, 0, S("12345"), 4, 0, S("")); in test0() 101 test(S(""), 0, 0, S("12345"), 5, 0, S("")); in test0() 152 test(S(""), 0, 1, S(""), 0, 0, S("")); in test0() [all …]
|
H A D | size_size_string.pass.cpp | 24 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) in test() 48 test(S(""), 0, 0, S(""), S("")); in test0() 49 test(S(""), 0, 0, S("12345"), S("12345")); in test0() 52 test(S(""), 0, 1, S(""), S("")); in test0() 53 test(S(""), 0, 1, S("12345"), S("12345")); in test0() 60 test(S("abcde"), 0, 0, S(""), S("abcde")); in test0() 64 test(S("abcde"), 0, 1, S(""), S("bcde")); in test0() 68 test(S("abcde"), 0, 2, S(""), S("cde")); in test0() 72 test(S("abcde"), 0, 4, S(""), S("e")); in test0() 76 test(S("abcde"), 0, 5, S(""), S("")); in test0() [all …]
|
H A D | iter_iter_pointer_size.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() 26 typename S::size_type n2, S expected) in test() 42 test(S(""), 0, 0, "", 0, S("")); in test0() 43 test(S(""), 0, 0, "12345", 0, S("")); in test0() 44 test(S(""), 0, 0, "12345", 1, S("1")); in test0() 45 test(S(""), 0, 0, "12345", 2, S("12")); in test0() 46 test(S(""), 0, 0, "12345", 4, S("1234")); in test0() 47 test(S(""), 0, 0, "12345", 5, S("12345")); in test0() 48 test(S(""), 0, 0, "1234567890", 0, S("")); in test0() 106 test(S("abcde"), 0, 4, "", 0, S("e")); in test0() [all …]
|
H A D | size_size_pointer_size.pass.cpp | 26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() 52 test(S(""), 0, 0, "", 0, S("")); in test0() 53 test(S(""), 0, 0, "12345", 0, S("")); in test0() 54 test(S(""), 0, 0, "12345", 1, S("1")); in test0() 55 test(S(""), 0, 0, "12345", 2, S("12")); in test0() 56 test(S(""), 0, 0, "12345", 4, S("1234")); in test0() 57 test(S(""), 0, 0, "12345", 5, S("12345")); in test0() 68 test(S(""), 0, 1, "", 0, S("")); in test0() 69 test(S(""), 0, 1, "12345", 0, S("")); in test0() 70 test(S(""), 0, 1, "12345", 1, S("1")); in test0() [all …]
|
H A D | iter_iter_string.pass.cpp | 25 test(S s, typename S::size_type pos1, typename S::size_type n1, S str, S expected) in test() 41 test(S(""), 0, 0, S(""), S("")); in test0() 42 test(S(""), 0, 0, S("12345"), S("12345")); in test0() 45 test(S("abcde"), 0, 0, S(""), S("abcde")); in test0() 49 test(S("abcde"), 0, 1, S(""), S("bcde")); in test0() 53 test(S("abcde"), 0, 2, S(""), S("cde")); in test0() 57 test(S("abcde"), 0, 4, S(""), S("e")); in test0() 61 test(S("abcde"), 0, 5, S(""), S("")); in test0() 73 test(S("abcde"), 1, 2, S(""), S("ade")); in test0() 77 test(S("abcde"), 1, 3, S(""), S("ae")); in test0() [all …]
|
H A D | size_size_pointer.pass.cpp | 26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() 51 test(S(""), 0, 0, "", S("")); in test0() 52 test(S(""), 0, 0, "12345", S("12345")); in test0() 55 test(S(""), 0, 1, "", S("")); in test0() 56 test(S(""), 0, 1, "12345", S("12345")); in test0() 71 test(S("abcde"), 0, 2, "", S("cde")); in test0() 75 test(S("abcde"), 0, 4, "", S("e")); in test0() 79 test(S("abcde"), 0, 5, "", S("")); in test0() 83 test(S("abcde"), 0, 6, "", S("")); in test0() 103 test(S("abcde"), 1, 4, "", S("a")); in test0() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/ |
H A D | size_string_size_size.pass.cpp | 25 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2, in test() 46 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected) in test_npos() 68 test(S(""), 0, S(""), 0, 0, S("")); in test0() 69 test(S(""), 0, S(""), 0, 1, S("")); in test0() 71 test(S(""), 0, S("12345"), 0, 0, S("")); in test0() 72 test(S(""), 0, S("12345"), 0, 1, S("1")); in test0() 77 test(S(""), 0, S("12345"), 1, 0, S("")); in test0() 78 test(S(""), 0, S("12345"), 1, 1, S("2")); in test0() 83 test(S(""), 0, S("12345"), 2, 0, S("")); in test0() 88 test(S(""), 0, S("12345"), 4, 0, S("")); in test0() [all …]
|
H A D | size_pointer_size.pass.cpp | 23 test(S s, typename S::size_type pos, const typename S::value_type* str, in test() 24 typename S::size_type n, S expected) in test() 46 test(S(""), 0, "", 0, S("")); in main() 47 test(S(""), 0, "12345", 0, S("")); in main() 48 test(S(""), 0, "12345", 1, S("1")); in main() 49 test(S(""), 0, "12345", 2, S("12")); in main() 50 test(S(""), 0, "12345", 4, S("1234")); in main() 51 test(S(""), 0, "12345", 5, S("12345")); in main() 52 test(S(""), 0, "1234567890", 0, S("")); in main() 53 test(S(""), 0, "1234567890", 1, S("1")); in main() [all …]
|
H A D | size_string.pass.cpp | 23 test(S s, typename S::size_type pos, S str, S expected) in test() 45 test(S(""), 0, S(""), S("")); in main() 46 test(S(""), 0, S("12345"), S("12345")); in main() 49 test(S(""), 1, S(""), S("can't happen")); in main() 50 test(S(""), 1, S("12345"), S("can't happen")); in main() 53 test(S("abcde"), 0, S(""), S("abcde")); in main() 57 test(S("abcde"), 1, S(""), S("abcde")); in main() 61 test(S("abcde"), 2, S(""), S("abcde")); in main() 65 test(S("abcde"), 4, S(""), S("abcde")); in main() 69 test(S("abcde"), 5, S(""), S("abcde")); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.modifiers/string_insert/ |
H A D | size_string_size_size.pass.cpp | 25 test(S s, typename S::size_type pos1, S str, typename S::size_type pos2, in test() 46 test_npos(S s, typename S::size_type pos1, S str, typename S::size_type pos2, S expected) in test_npos() 68 test(S(""), 0, S(""), 0, 0, S("")); in test0() 69 test(S(""), 0, S(""), 0, 1, S("")); in test0() 71 test(S(""), 0, S("12345"), 0, 0, S("")); in test0() 72 test(S(""), 0, S("12345"), 0, 1, S("1")); in test0() 77 test(S(""), 0, S("12345"), 1, 0, S("")); in test0() 78 test(S(""), 0, S("12345"), 1, 1, S("2")); in test0() 83 test(S(""), 0, S("12345"), 2, 0, S("")); in test0() 88 test(S(""), 0, S("12345"), 4, 0, S("")); in test0() [all …]
|
H A D | size_pointer_size.pass.cpp | 23 test(S s, typename S::size_type pos, const typename S::value_type* str, in test() 24 typename S::size_type n, S expected) in test() 46 test(S(""), 0, "", 0, S("")); in main() 47 test(S(""), 0, "12345", 0, S("")); in main() 48 test(S(""), 0, "12345", 1, S("1")); in main() 49 test(S(""), 0, "12345", 2, S("12")); in main() 50 test(S(""), 0, "12345", 4, S("1234")); in main() 51 test(S(""), 0, "12345", 5, S("12345")); in main() 52 test(S(""), 0, "1234567890", 0, S("")); in main() 53 test(S(""), 0, "1234567890", 1, S("1")); in main() [all …]
|
H A D | size_string.pass.cpp | 23 test(S s, typename S::size_type pos, S str, S expected) in test() 45 test(S(""), 0, S(""), S("")); in main() 46 test(S(""), 0, S("12345"), S("12345")); in main() 49 test(S(""), 1, S(""), S("can't happen")); in main() 50 test(S(""), 1, S("12345"), S("can't happen")); in main() 53 test(S("abcde"), 0, S(""), S("abcde")); in main() 57 test(S("abcde"), 1, S(""), S("abcde")); in main() 61 test(S("abcde"), 2, S(""), S("abcde")); in main() 65 test(S("abcde"), 4, S(""), S("abcde")); in main() 69 test(S("abcde"), 5, S(""), S("abcde")); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_string_size_size.pass.cpp | 33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() 34 const S& str, typename S::size_type pos2, typename S::size_type n2, int x) in test() 50 test_npos(const S& s, typename S::size_type pos1, typename S::size_type n1, in test_npos() 68 test(S(""), 0, 0, S(""), 0, 0, 0); in test0() 69 test(S(""), 0, 0, S(""), 0, 1, 0); in test0() 70 test(S(""), 0, 0, S(""), 1, 0, 0); in test0() 71 test(S(""), 0, 0, S("abcde"), 0, 0, 0); in test0() 77 test(S(""), 0, 0, S("abcde"), 1, 0, 0); in test0() 142 test(S(""), 0, 1, S(""), 0, 0, 0); in test0() 143 test(S(""), 0, 1, S(""), 0, 1, 0); in test0() [all …]
|
H A D | size_size_string.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() 48 test(S(""), 0, 0, S(""), 0); in test0() 49 test(S(""), 0, 0, S("abcde"), -5); in test0() 52 test(S(""), 0, 1, S(""), 0); in test0() 53 test(S(""), 0, 1, S("abcde"), -5); in test0() 56 test(S(""), 1, 0, S(""), 0); in test0() 57 test(S(""), 1, 0, S("abcde"), 0); in test0() 60 test(S("abcde"), 0, 0, S(""), 0); in test0() 64 test(S("abcde"), 0, 1, S(""), 1); in test0() 68 test(S("abcde"), 0, 2, S(""), 2); in test0() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_string_size_size.pass.cpp | 33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() 34 const S& str, typename S::size_type pos2, typename S::size_type n2, int x) in test() 50 test_npos(const S& s, typename S::size_type pos1, typename S::size_type n1, in test_npos() 68 test(S(""), 0, 0, S(""), 0, 0, 0); in test0() 69 test(S(""), 0, 0, S(""), 0, 1, 0); in test0() 70 test(S(""), 0, 0, S(""), 1, 0, 0); in test0() 71 test(S(""), 0, 0, S("abcde"), 0, 0, 0); in test0() 77 test(S(""), 0, 0, S("abcde"), 1, 0, 0); in test0() 142 test(S(""), 0, 1, S(""), 0, 0, 0); in test0() 143 test(S(""), 0, 1, S(""), 0, 1, 0); in test0() [all …]
|
H A D | size_size_string.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() 48 test(S(""), 0, 0, S(""), 0); in test0() 49 test(S(""), 0, 0, S("abcde"), -5); in test0() 52 test(S(""), 0, 1, S(""), 0); in test0() 53 test(S(""), 0, 1, S("abcde"), -5); in test0() 56 test(S(""), 1, 0, S(""), 0); in test0() 57 test(S(""), 1, 0, S("abcde"), 0); in test0() 60 test(S("abcde"), 0, 0, S(""), 0); in test0() 64 test(S("abcde"), 0, 1, S(""), 1); in test0() 68 test(S("abcde"), 0, 2, S(""), 2); in test0() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/ |
H A D | string_string.pass.cpp | 49 test1(S&& lhs, const S& rhs, const S& x) in test1() 56 test2(const S& lhs, S&& rhs, const S& x) in test2() 63 test3(S&& lhs, S&& rhs, const S& x) in test3() 74 test0(S(""), S(""), S("")); in main() 93 test1(S(""), S(""), S("")); in main() 110 test2(S(""), S(""), S("")); in main() 127 test3(S(""), S(""), S("")); in main() 149 test0(S(""), S(""), S("")); in main() 168 test1(S(""), S(""), S("")); in main() 185 test2(S(""), S(""), S("")); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.nonmembers/string_op+/ |
H A D | string_string.pass.cpp | 48 test1(S&& lhs, const S& rhs, const S& x) in test1() 55 test2(const S& lhs, S&& rhs, const S& x) in test2() 62 test3(S&& lhs, S&& rhs, const S& x) in test3() 73 test0(S(""), S(""), S("")); in main() 92 test1(S(""), S(""), S("")); in main() 109 test2(S(""), S(""), S("")); in main() 126 test3(S(""), S(""), S("")); in main() 148 test0(S(""), S(""), S("")); in main() 167 test1(S(""), S(""), S("")); in main() 184 test2(S(""), S(""), S("")); in main() [all …]
|