Home
last modified time | relevance | path

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

12345678910>>...609

/external/libcxx/test/std/strings/string.view/string.view.ops/
Dcompare.size_size_sv_size_size.pass.cpp44 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
56 test("", 0, 0, "", 0, 0, 0); in test0()
57 test("", 0, 0, "", 0, 1, 0); in test0()
58 test("", 0, 0, "", 1, 0, 0); in test0()
59 test("", 0, 0, "abcde", 0, 0, 0); in test0()
60 test("", 0, 0, "abcde", 0, 1, -1); in test0()
61 test("", 0, 0, "abcde", 0, 2, -2); in test0()
62 test("", 0, 0, "abcde", 0, 4, -4); in test0()
63 test("", 0, 0, "abcde", 0, 5, -5); in test0()
64 test("", 0, 0, "abcde", 0, 6, -5); in test0()
[all …]
Dcompare.size_size_sv_pointer_size.pass.cpp43 void test ( const CharT *s1, size_t pos1, size_t n1, in test() function
54 test("", 0, 0, "", 0, 0); in test0()
55 test("", 0, 0, "abcde", 0, 0); in test0()
56 test("", 0, 0, "abcde", 1, -1); in test0()
57 test("", 0, 0, "abcde", 2, -2); in test0()
58 test("", 0, 0, "abcde", 4, -4); in test0()
59 test("", 0, 0, "abcde", 5, -5); in test0()
60 test("", 0, 0, "abcdefghij", 0, 0); in test0()
61 test("", 0, 0, "abcdefghij", 1, -1); in test0()
62 test("", 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
Dcompare.pointer_size.pass.cpp42 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) in test() function
51 test("", 0, 0, "", 0); in test0()
52 test("", 0, 0, "abcde", -5); in test0()
53 test("", 0, 0, "abcdefghij", -10); in test0()
54 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
55 test("", 0, 1, "", 0); in test0()
56 test("", 0, 1, "abcde", -5); in test0()
57 test("", 0, 1, "abcdefghij", -10); in test0()
58 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
59 test("", 1, 0, "", 0); in test0()
[all …]
Dcompare.size_size_sv.pass.cpp42 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() function
51 test("", 0, 0, "", 0); in test0()
52 test("", 0, 0, "abcde", -5); in test0()
53 test("", 0, 0, "abcdefghij", -10); in test0()
54 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
55 test("", 0, 1, "", 0); in test0()
56 test("", 0, 1, "abcde", -5); in test0()
57 test("", 0, 1, "abcdefghij", -10); in test0()
58 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
59 test("", 1, 0, "", 0); in test0()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/string.view/string.view.ops/
Dcompare.size_size_sv_size_size.pass.cpp45 void test ( const CharT *s1, std::size_t pos1, size_t n1, in test() function
57 test("", 0, 0, "", 0, 0, 0); in test0()
58 test("", 0, 0, "", 0, 1, 0); in test0()
59 test("", 0, 0, "", 1, 0, 0); in test0()
60 test("", 0, 0, "abcde", 0, 0, 0); in test0()
61 test("", 0, 0, "abcde", 0, 1, -1); in test0()
62 test("", 0, 0, "abcde", 0, 2, -2); in test0()
63 test("", 0, 0, "abcde", 0, 4, -4); in test0()
64 test("", 0, 0, "abcde", 0, 5, -5); in test0()
65 test("", 0, 0, "abcde", 0, 6, -5); in test0()
[all …]
Dcompare.size_size_sv_pointer_size.pass.cpp44 void test ( const CharT *s1, std::size_t pos1, size_t n1, in test() function
55 test("", 0, 0, "", 0, 0); in test0()
56 test("", 0, 0, "abcde", 0, 0); in test0()
57 test("", 0, 0, "abcde", 1, -1); in test0()
58 test("", 0, 0, "abcde", 2, -2); in test0()
59 test("", 0, 0, "abcde", 4, -4); in test0()
60 test("", 0, 0, "abcde", 5, -5); in test0()
61 test("", 0, 0, "abcdefghij", 0, 0); in test0()
62 test("", 0, 0, "abcdefghij", 1, -1); in test0()
63 test("", 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
Dcompare.pointer_size.pass.cpp43 test( const CharT *s1, std::size_t pos1, size_t n1, const CharT *s2, int expected) in test() function
52 test("", 0, 0, "", 0); in test0()
53 test("", 0, 0, "abcde", -5); in test0()
54 test("", 0, 0, "abcdefghij", -10); in test0()
55 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
56 test("", 0, 1, "", 0); in test0()
57 test("", 0, 1, "abcde", -5); in test0()
58 test("", 0, 1, "abcdefghij", -10); in test0()
59 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
60 test("", 1, 0, "", 0); in test0()
[all …]
Dcompare.size_size_sv.pass.cpp43 void test ( const CharT *s1, std::size_t pos1, size_t n1, const CharT *s2, int expected ) { in test() function
52 test("", 0, 0, "", 0); in test0()
53 test("", 0, 0, "abcde", -5); in test0()
54 test("", 0, 0, "abcdefghij", -10); in test0()
55 test("", 0, 0, "abcdefghijklmnopqrst", -20); in test0()
56 test("", 0, 1, "", 0); in test0()
57 test("", 0, 1, "abcde", -5); in test0()
58 test("", 0, 1, "abcdefghij", -10); in test0()
59 test("", 0, 1, "abcdefghijklmnopqrst", -20); in test0()
60 test("", 1, 0, "", 0); in test0()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.ops/string_compare/
Dsize_size_pointer_size.pass.cpp32 test(const S& s, typename S::size_type pos, typename S::size_type n1, in test() function
56 test(S(""), 0, 0, "", 0, 0); in test0()
57 test(S(""), 0, 0, "abcde", 0, 0); in test0()
58 test(S(""), 0, 0, "abcde", 1, -1); in test0()
59 test(S(""), 0, 0, "abcde", 2, -2); in test0()
60 test(S(""), 0, 0, "abcde", 4, -4); in test0()
61 test(S(""), 0, 0, "abcde", 5, -5); in test0()
62 test(S(""), 0, 0, "abcdefghij", 0, 0); in test0()
63 test(S(""), 0, 0, "abcdefghij", 1, -1); in test0()
64 test(S(""), 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
Dsize_size_T_size_size.pass.cpp36 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
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()
88 test(S(""), 0, 0, SV("abcde"), 0, 0, 0); in test0()
89 test(S(""), 0, 0, SV("abcde"), 0, 1, -1); in test0()
90 test(S(""), 0, 0, SV("abcde"), 0, 2, -2); in test0()
91 test(S(""), 0, 0, SV("abcde"), 0, 4, -4); in test0()
92 test(S(""), 0, 0, SV("abcde"), 0, 5, -5); in test0()
93 test(S(""), 0, 0, SV("abcde"), 0, 6, -5); in test0()
[all …]
Dsize_size_string_size_size.pass.cpp34 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
81 test(S(""), 0, 0, S(""), 0, 0, 0); in test0()
82 test(S(""), 0, 0, S(""), 0, 1, 0); in test0()
83 test(S(""), 0, 0, S(""), 1, 0, 0); in test0()
84 test(S(""), 0, 0, S("abcde"), 0, 0, 0); in test0()
85 test(S(""), 0, 0, S("abcde"), 0, 1, -1); in test0()
86 test(S(""), 0, 0, S("abcde"), 0, 2, -2); in test0()
87 test(S(""), 0, 0, S("abcde"), 0, 4, -4); in test0()
88 test(S(""), 0, 0, S("abcde"), 0, 5, -5); in test0()
89 test(S(""), 0, 0, S("abcde"), 0, 6, -5); in test0()
[all …]
Dsize_size_pointer.pass.cpp32 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
56 test(S(""), 0, 0, "", 0); in test0()
57 test(S(""), 0, 0, "abcde", -5); in test0()
58 test(S(""), 0, 0, "abcdefghij", -10); in test0()
59 test(S(""), 0, 0, "abcdefghijklmnopqrst", -20); in test0()
60 test(S(""), 0, 1, "", 0); in test0()
61 test(S(""), 0, 1, "abcde", -5); in test0()
62 test(S(""), 0, 1, "abcdefghij", -10); in test0()
63 test(S(""), 0, 1, "abcdefghijklmnopqrst", -20); in test0()
64 test(S(""), 1, 0, "", 0); in test0()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/
Dsize_size_pointer_size.pass.cpp33 test(const S& s, typename S::size_type pos, typename S::size_type n1, in test() function
57 test(S(""), 0, 0, "", 0, 0); in test0()
58 test(S(""), 0, 0, "abcde", 0, 0); in test0()
59 test(S(""), 0, 0, "abcde", 1, -1); in test0()
60 test(S(""), 0, 0, "abcde", 2, -2); in test0()
61 test(S(""), 0, 0, "abcde", 4, -4); in test0()
62 test(S(""), 0, 0, "abcde", 5, -5); in test0()
63 test(S(""), 0, 0, "abcdefghij", 0, 0); in test0()
64 test(S(""), 0, 0, "abcdefghij", 1, -1); in test0()
65 test(S(""), 0, 0, "abcdefghij", 5, -5); in test0()
[all …]
Dsize_size_T_size_size.pass.cpp37 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
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()
89 test(S(""), 0, 0, SV("abcde"), 0, 0, 0); in test0()
90 test(S(""), 0, 0, SV("abcde"), 0, 1, -1); in test0()
91 test(S(""), 0, 0, SV("abcde"), 0, 2, -2); in test0()
92 test(S(""), 0, 0, SV("abcde"), 0, 4, -4); in test0()
93 test(S(""), 0, 0, SV("abcde"), 0, 5, -5); in test0()
94 test(S(""), 0, 0, SV("abcde"), 0, 6, -5); in test0()
[all …]
Dsize_size_string_size_size.pass.cpp35 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
82 test(S(""), 0, 0, S(""), 0, 0, 0); in test0()
83 test(S(""), 0, 0, S(""), 0, 1, 0); in test0()
84 test(S(""), 0, 0, S(""), 1, 0, 0); in test0()
85 test(S(""), 0, 0, S("abcde"), 0, 0, 0); in test0()
86 test(S(""), 0, 0, S("abcde"), 0, 1, -1); in test0()
87 test(S(""), 0, 0, S("abcde"), 0, 2, -2); in test0()
88 test(S(""), 0, 0, S("abcde"), 0, 4, -4); in test0()
89 test(S(""), 0, 0, S("abcde"), 0, 5, -5); in test0()
90 test(S(""), 0, 0, S("abcde"), 0, 6, -5); in test0()
[all …]
Dsize_size_pointer.pass.cpp33 test(const S& s, typename S::size_type pos1, typename S::size_type n1, in test() function
57 test(S(""), 0, 0, "", 0); in test0()
58 test(S(""), 0, 0, "abcde", -5); in test0()
59 test(S(""), 0, 0, "abcdefghij", -10); in test0()
60 test(S(""), 0, 0, "abcdefghijklmnopqrst", -20); in test0()
61 test(S(""), 0, 1, "", 0); in test0()
62 test(S(""), 0, 1, "abcde", -5); in test0()
63 test(S(""), 0, 1, "abcdefghij", -10); in test0()
64 test(S(""), 0, 1, "abcdefghijklmnopqrst", -20); in test0()
65 test(S(""), 1, 0, "", 0); in test0()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_replace/
Dsize_size_pointer_size.pass.cpp24 test(S s, typename S::size_type pos, typename S::size_type n1, in test() function
59 test(S(""), 0, 0, "", 0, S("")); in test0()
60 test(S(""), 0, 0, "12345", 0, S("")); in test0()
61 test(S(""), 0, 0, "12345", 1, S("1")); in test0()
62 test(S(""), 0, 0, "12345", 2, S("12")); in test0()
63 test(S(""), 0, 0, "12345", 4, S("1234")); in test0()
64 test(S(""), 0, 0, "12345", 5, S("12345")); in test0()
65 test(S(""), 0, 0, "1234567890", 0, S("")); in test0()
66 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
67 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
Diter_iter_pointer_size.pass.cpp23 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() function
40 test(S(""), 0, 0, "", 0, S("")); in test0()
41 test(S(""), 0, 0, "12345", 0, S("")); in test0()
42 test(S(""), 0, 0, "12345", 1, S("1")); in test0()
43 test(S(""), 0, 0, "12345", 2, S("12")); in test0()
44 test(S(""), 0, 0, "12345", 4, S("1234")); in test0()
45 test(S(""), 0, 0, "12345", 5, S("12345")); in test0()
46 test(S(""), 0, 0, "1234567890", 0, S("")); in test0()
47 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
48 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Dsize_size_pointer_size.pass.cpp25 test(S s, typename S::size_type pos, typename S::size_type n1, in test() function
60 test(S(""), 0, 0, "", 0, S("")); in test0()
61 test(S(""), 0, 0, "12345", 0, S("")); in test0()
62 test(S(""), 0, 0, "12345", 1, S("1")); in test0()
63 test(S(""), 0, 0, "12345", 2, S("12")); in test0()
64 test(S(""), 0, 0, "12345", 4, S("1234")); in test0()
65 test(S(""), 0, 0, "12345", 5, S("12345")); in test0()
66 test(S(""), 0, 0, "1234567890", 0, S("")); in test0()
67 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
68 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
Diter_iter_pointer_size.pass.cpp24 test(S s, typename S::size_type pos1, typename S::size_type n1, const typename S::value_type* str, in test() function
41 test(S(""), 0, 0, "", 0, S("")); in test0()
42 test(S(""), 0, 0, "12345", 0, S("")); in test0()
43 test(S(""), 0, 0, "12345", 1, S("1")); in test0()
44 test(S(""), 0, 0, "12345", 2, S("12")); in test0()
45 test(S(""), 0, 0, "12345", 4, S("1234")); in test0()
46 test(S(""), 0, 0, "12345", 5, S("12345")); in test0()
47 test(S(""), 0, 0, "1234567890", 0, S("")); in test0()
48 test(S(""), 0, 0, "1234567890", 1, S("1")); in test0()
49 test(S(""), 0, 0, "1234567890", 5, S("12345")); in test0()
[all …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/
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 …]
/external/libcxx/test/std/strings/basic.string/string.ops/string_rfind/
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 …]
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Dsize_pointer_size.pass.cpp24 test(S s, typename S::size_type pos, const typename S::value_type* str, in test() function
56 test(S(""), 0, "", 0, S("")); in main()
57 test(S(""), 0, "12345", 0, S("")); in main()
58 test(S(""), 0, "12345", 1, S("1")); in main()
59 test(S(""), 0, "12345", 2, S("12")); in main()
60 test(S(""), 0, "12345", 4, S("1234")); in main()
61 test(S(""), 0, "12345", 5, S("12345")); in main()
62 test(S(""), 0, "1234567890", 0, S("")); in main()
63 test(S(""), 0, "1234567890", 1, S("1")); in main()
64 test(S(""), 0, "1234567890", 5, S("12345")); in main()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.ops/string_rfind/
Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
33 test(S(""), "", 0, 0, 0); in test0()
34 test(S(""), "abcde", 0, 0, 0); in test0()
35 test(S(""), "abcde", 0, 1, S::npos); in test0()
36 test(S(""), "abcde", 0, 2, S::npos); in test0()
37 test(S(""), "abcde", 0, 4, S::npos); in test0()
38 test(S(""), "abcde", 0, 5, S::npos); in test0()
39 test(S(""), "abcdeabcde", 0, 0, 0); in test0()
40 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
41 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.ops/string_find.last.not.of/
Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, in test() function
33 test(S(""), "", 0, 0, S::npos); in test0()
34 test(S(""), "irkhs", 0, 0, S::npos); in test0()
35 test(S(""), "kante", 0, 1, S::npos); in test0()
36 test(S(""), "oknlr", 0, 2, S::npos); in test0()
37 test(S(""), "pcdro", 0, 4, S::npos); in test0()
38 test(S(""), "bnrpe", 0, 5, S::npos); in test0()
39 test(S(""), "jtdaefblso", 0, 0, S::npos); in test0()
40 test(S(""), "oselktgbca", 0, 1, S::npos); in test0()
41 test(S(""), "eqgaplhckj", 0, 5, S::npos); in test0()
[all …]

12345678910>>...609