Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 5137) sorted by relevance

12345678910>>...206

/minix3/external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.ops/
H A Dcompare.size_size_sv_size_size.pass.cpp39 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
51 test("", 0, 0, "", 0, 0, 0); in test0()
52 test("", 0, 0, "", 0, 1, 0); in test0()
53 test("", 0, 0, "", 1, 0, 0); in test0()
54 test("", 0, 0, "abcde", 0, 0, 0); in test0()
55 test("", 0, 0, "abcde", 0, 1, -1); in test0()
56 test("", 0, 0, "abcde", 0, 2, -2); in test0()
57 test("", 0, 0, "abcde", 0, 4, -4); in test0()
58 test("", 0, 0, "abcde", 0, 5, -5); in test0()
59 test("", 0, 0, "abcde", 0, 6, -5); in test0()
[all …]
H A Dcompare.size_size_sv_pointer_size.pass.cpp38 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
50 test("", 0, 0, "", 0, 0); in test0()
51 test("", 0, 0, "abcde", 0, 0); in test0()
52 test("", 0, 0, "abcde", 1, -1); in test0()
53 test("", 0, 0, "abcde", 2, -2); in test0()
54 test("", 0, 0, "abcde", 4, -4); in test0()
55 test("", 0, 0, "abcde", 5, -5); in test0()
56 test("", 0, 0, "abcdefghij", 0, 0); in test0()
57 test("", 0, 0, "abcdefghij", 1, -1); in test0()
58 test("", 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
H A Dcompare.size_size_sv.pass.cpp36 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() function
46 test("", 0, 0, "", 0); in test0()
47 test("", 0, 0, "abcde", -5); in test0()
48 test("", 0, 0, "abcdefghij", -10); in test0()
49 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
50 test("", 0, 1, "", 0); in test0()
51 test("", 0, 1, "abcde", -5); in test0()
52 test("", 0, 1, "abcdefghij", -10); in test0()
53 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
54 test("", 1, 0, "", 0); in test0()
[all …]
H A Dcompare.pointer_size.pass.cpp33 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) in test() function
42 test("", 0, 0, "", 0); in test0()
43 test("", 0, 0, "abcde", -5); in test0()
44 test("", 0, 0, "abcdefghij", -10); in test0()
45 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
46 test("", 0, 1, "", 0); in test0()
47 test("", 0, 1, "abcde", -5); in test0()
48 test("", 0, 1, "abcdefghij", -10); in test0()
49 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
50 test("", 1, 0, "", 0); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/experimental/string.view/string.view.ops/
H A Dcompare.size_size_sv_size_size.pass.cpp39 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
51 test("", 0, 0, "", 0, 0, 0); in test0()
52 test("", 0, 0, "", 0, 1, 0); in test0()
53 test("", 0, 0, "", 1, 0, 0); in test0()
54 test("", 0, 0, "abcde", 0, 0, 0); in test0()
55 test("", 0, 0, "abcde", 0, 1, -1); in test0()
56 test("", 0, 0, "abcde", 0, 2, -2); in test0()
57 test("", 0, 0, "abcde", 0, 4, -4); in test0()
58 test("", 0, 0, "abcde", 0, 5, -5); in test0()
59 test("", 0, 0, "abcde", 0, 6, -5); in test0()
[all …]
H A Dcompare.size_size_sv_pointer_size.pass.cpp38 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
50 test("", 0, 0, "", 0, 0); in test0()
51 test("", 0, 0, "abcde", 0, 0); in test0()
52 test("", 0, 0, "abcde", 1, -1); in test0()
53 test("", 0, 0, "abcde", 2, -2); in test0()
54 test("", 0, 0, "abcde", 4, -4); in test0()
55 test("", 0, 0, "abcde", 5, -5); in test0()
56 test("", 0, 0, "abcdefghij", 0, 0); in test0()
57 test("", 0, 0, "abcdefghij", 1, -1); in test0()
58 test("", 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
H A Dcompare.size_size_sv.pass.cpp36 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() function
46 test("", 0, 0, "", 0); in test0()
47 test("", 0, 0, "abcde", -5); in test0()
48 test("", 0, 0, "abcdefghij", -10); in test0()
49 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
50 test("", 0, 1, "", 0); in test0()
51 test("", 0, 1, "abcde", -5); in test0()
52 test("", 0, 1, "abcdefghij", -10); in test0()
53 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
54 test("", 1, 0, "", 0); in test0()
[all …]
H A Dcompare.pointer_size.pass.cpp33 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) in test() function
42 test("", 0, 0, "", 0); in test0()
43 test("", 0, 0, "abcde", -5); in test0()
44 test("", 0, 0, "abcdefghij", -10); in test0()
45 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
46 test("", 0, 1, "", 0); in test0()
47 test("", 0, 1, "abcde", -5); in test0()
48 test("", 0, 1, "abcdefghij", -10); in test0()
49 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
50 test("", 1, 0, "", 0); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.ops/string_compare/
H A Dsize_size_pointer_size.pass.cpp31 test(const S& s, typename S::size_type pos, typename S::size_type n1, in test() function
48 test(S(""), 0, 0, "", 0, 0); in test0()
49 test(S(""), 0, 0, "abcde", 0, 0); in test0()
50 test(S(""), 0, 0, "abcde", 1, -1); in test0()
51 test(S(""), 0, 0, "abcde", 2, -2); in test0()
52 test(S(""), 0, 0, "abcde", 4, -4); in test0()
53 test(S(""), 0, 0, "abcde", 5, -5); in test0()
54 test(S(""), 0, 0, "abcdefghij", 0, 0); in test0()
55 test(S(""), 0, 0, "abcdefghij", 1, -1); in test0()
56 test(S(""), 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
H A Dsize_size_pointer.pass.cpp31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
48 test(S(""), 0, 0, "", 0); in test0()
49 test(S(""), 0, 0, "abcde", -5); in test0()
50 test(S(""), 0, 0, "abcdefghij", -10); in test0()
51 test(S(""), 0, 0, "abcdefghijklmnopqrst", -20); in test0()
52 test(S(""), 0, 1, "", 0); in test0()
53 test(S(""), 0, 1, "abcde", -5); in test0()
54 test(S(""), 0, 1, "abcdefghij", -10); in test0()
55 test(S(""), 0, 1, "abcdefghijklmnopqrst", -20); in test0()
56 test(S(""), 1, 0, "", 0); in test0()
[all …]
H A Dsize_size_string_size_size.pass.cpp33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
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()
72 test(S(""), 0, 0, S("abcde"), 0, 1, -1); in test0()
73 test(S(""), 0, 0, S("abcde"), 0, 2, -2); in test0()
74 test(S(""), 0, 0, S("abcde"), 0, 4, -4); in test0()
75 test(S(""), 0, 0, S("abcde"), 0, 5, -5); in test0()
76 test(S(""), 0, 0, S("abcde"), 0, 6, -5); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.ops/string_compare/
H A Dsize_size_pointer_size.pass.cpp31 test(const S& s, typename S::size_type pos, typename S::size_type n1, in test() function
48 test(S(""), 0, 0, "", 0, 0); in test0()
49 test(S(""), 0, 0, "abcde", 0, 0); in test0()
50 test(S(""), 0, 0, "abcde", 1, -1); in test0()
51 test(S(""), 0, 0, "abcde", 2, -2); in test0()
52 test(S(""), 0, 0, "abcde", 4, -4); in test0()
53 test(S(""), 0, 0, "abcde", 5, -5); in test0()
54 test(S(""), 0, 0, "abcdefghij", 0, 0); in test0()
55 test(S(""), 0, 0, "abcdefghij", 1, -1); in test0()
56 test(S(""), 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
H A Dsize_size_pointer.pass.cpp31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
48 test(S(""), 0, 0, "", 0); in test0()
49 test(S(""), 0, 0, "abcde", -5); in test0()
50 test(S(""), 0, 0, "abcdefghij", -10); in test0()
51 test(S(""), 0, 0, "abcdefghijklmnopqrst", -20); in test0()
52 test(S(""), 0, 1, "", 0); in test0()
53 test(S(""), 0, 1, "abcde", -5); in test0()
54 test(S(""), 0, 1, "abcdefghij", -10); in test0()
55 test(S(""), 0, 1, "abcdefghijklmnopqrst", -20); in test0()
56 test(S(""), 1, 0, "", 0); in test0()
[all …]
H A Dsize_size_string_size_size.pass.cpp33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
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()
72 test(S(""), 0, 0, S("abcde"), 0, 1, -1); in test0()
73 test(S(""), 0, 0, S("abcde"), 0, 2, -2); in test0()
74 test(S(""), 0, 0, S("abcde"), 0, 4, -4); in test0()
75 test(S(""), 0, 0, S("abcde"), 0, 5, -5); in test0()
76 test(S(""), 0, 0, S("abcde"), 0, 6, -5); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.ops/string_rfind/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, 0); in test0()
33 test(S(""), "abcde", 0, 0, 0); in test0()
34 test(S(""), "abcde", 0, 1, S::npos); in test0()
35 test(S(""), "abcde", 0, 2, S::npos); in test0()
36 test(S(""), "abcde", 0, 4, S::npos); in test0()
37 test(S(""), "abcde", 0, 5, S::npos); in test0()
38 test(S(""), "abcdeabcde", 0, 0, 0); in test0()
39 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
40 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.ops/string_rfind/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, 0); in test0()
33 test(S(""), "abcde", 0, 0, 0); in test0()
34 test(S(""), "abcde", 0, 1, S::npos); in test0()
35 test(S(""), "abcde", 0, 2, S::npos); in test0()
36 test(S(""), "abcde", 0, 4, S::npos); in test0()
37 test(S(""), "abcde", 0, 5, S::npos); in test0()
38 test(S(""), "abcdeabcde", 0, 0, 0); in test0()
39 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
40 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, S::npos); in test0()
33 test(S(""), "irkhs", 0, 0, S::npos); in test0()
34 test(S(""), "kante", 0, 1, S::npos); in test0()
35 test(S(""), "oknlr", 0, 2, S::npos); in test0()
36 test(S(""), "pcdro", 0, 4, S::npos); in test0()
37 test(S(""), "bnrpe", 0, 5, S::npos); in test0()
38 test(S(""), "jtdaefblso", 0, 0, S::npos); in test0()
39 test(S(""), "oselktgbca", 0, 1, S::npos); in test0()
40 test(S(""), "eqgaplhckj", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, S::npos); in test0()
33 test(S(""), "irkhs", 0, 0, S::npos); in test0()
34 test(S(""), "kante", 0, 1, S::npos); in test0()
35 test(S(""), "oknlr", 0, 2, S::npos); in test0()
36 test(S(""), "pcdro", 0, 4, S::npos); in test0()
37 test(S(""), "bnrpe", 0, 5, S::npos); in test0()
38 test(S(""), "jtdaefblso", 0, 0, S::npos); in test0()
39 test(S(""), "oselktgbca", 0, 1, S::npos); in test0()
40 test(S(""), "eqgaplhckj", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/experimental/string.view/string.view.find/
H A Dfind_last_not_of_pointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, S::npos); in test0()
33 test(S(""), "irkhs", 0, 0, S::npos); in test0()
34 test(S(""), "kante", 0, 1, S::npos); in test0()
35 test(S(""), "oknlr", 0, 2, S::npos); in test0()
36 test(S(""), "pcdro", 0, 4, S::npos); in test0()
37 test(S(""), "bnrpe", 0, 5, S::npos); in test0()
38 test(S(""), "jtdaefblso", 0, 0, S::npos); in test0()
39 test(S(""), "oselktgbca", 0, 1, S::npos); in test0()
40 test(S(""), "eqgaplhckj", 0, 5, S::npos); in test0()
[all …]
H A Drfind_pointer_size_size.pass.cpp20 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
31 test(S(""), "", 0, 0, 0); in test0()
32 test(S(""), "abcde", 0, 0, 0); in test0()
33 test(S(""), "abcde", 0, 1, S::npos); in test0()
34 test(S(""), "abcde", 0, 2, S::npos); in test0()
35 test(S(""), "abcde", 0, 4, S::npos); in test0()
36 test(S(""), "abcde", 0, 5, S::npos); in test0()
37 test(S(""), "abcdeabcde", 0, 0, 0); in test0()
38 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
39 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/experimental/string.view/string.view.find/
H A Dfind_last_not_of_pointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
32 test(S(""), "", 0, 0, S::npos); in test0()
33 test(S(""), "irkhs", 0, 0, S::npos); in test0()
34 test(S(""), "kante", 0, 1, S::npos); in test0()
35 test(S(""), "oknlr", 0, 2, S::npos); in test0()
36 test(S(""), "pcdro", 0, 4, S::npos); in test0()
37 test(S(""), "bnrpe", 0, 5, S::npos); in test0()
38 test(S(""), "jtdaefblso", 0, 0, S::npos); in test0()
39 test(S(""), "oselktgbca", 0, 1, S::npos); in test0()
40 test(S(""), "eqgaplhckj", 0, 5, S::npos); in test0()
[all …]
H A Drfind_pointer_size_size.pass.cpp20 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
31 test(S(""), "", 0, 0, 0); in test0()
32 test(S(""), "abcde", 0, 0, 0); in test0()
33 test(S(""), "abcde", 0, 1, S::npos); in test0()
34 test(S(""), "abcde", 0, 2, S::npos); in test0()
35 test(S(""), "abcde", 0, 4, S::npos); in test0()
36 test(S(""), "abcde", 0, 5, S::npos); in test0()
37 test(S(""), "abcdeabcde", 0, 0, 0); in test0()
38 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
39 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/strings/basic.string/string.modifiers/string_replace/
H A Diter_iter_pointer_size.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() function
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()
49 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
50 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
H A Diter_iter_pointer_size.pass.cpp25 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() function
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()
49 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
50 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
H A Dsize_size_pointer_size.pass.cpp26 test(S s, typename S::size_type pos, typename S::size_type n1, in test() function
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()
58 test(S(""), 0, 0, "1234567890", 0, S("")); in test0()
59 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
60 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]

12345678910>>...206