Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 25 of 63) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.of/
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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 …]
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
41 test(S(""), "", 0, S::npos); in test0()
42 test(S(""), "laenf", 0, S::npos); in test0()
43 test(S(""), "pqlnkmbdjo", 0, S::npos); in test0()
44 test(S(""), "qkamfogpnljdcshbreti", 0, S::npos); in test0()
45 test(S(""), "", 1, S::npos); in test0()
46 test(S(""), "bjaht", 1, S::npos); in test0()
47 test(S(""), "hjlcmgpket", 1, S::npos); in test0()
48 test(S(""), "htaobedqikfplcgjsmrn", 1, S::npos); in test0()
[all …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'e', 0, S::npos); in main()
43 test(S(""), 'e', 1, S::npos); in main()
44 test(S("kitcj"), 'e', 0, S::npos); in main()
45 test(S("qkamf"), 'e', 1, S::npos); in main()
46 test(S("nhmko"), 'e', 2, S::npos); in main()
47 test(S("tpsaf"), 'e', 4, S::npos); in main()
48 test(S("lahfb"), 'e', 5, S::npos); in main()
49 test(S("irkhs"), 'e', 6, S::npos); in main()
[all …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
40 test(S(""), S(""), 0, S::npos); in test0()
41 test(S(""), S("laenf"), 0, S::npos); in test0()
42 test(S(""), S("pqlnkmbdjo"), 0, S::npos); in test0()
43 test(S(""), S("qkamfogpnljdcshbreti"), 0, S::npos); in test0()
44 test(S(""), S(""), 1, S::npos); in test0()
45 test(S(""), S("bjaht"), 1, S::npos); in test0()
46 test(S(""), S("hjlcmgpket"), 1, S::npos); in test0()
47 test(S(""), S("htaobedqikfplcgjsmrn"), 1, S::npos); in test0()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find/
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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()
39 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
40 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
41 test(S(""), "abcdeabcde", 0, 9, S::npos); in test0()
42 test(S(""), "abcdeabcde", 0, 10, S::npos); in test0()
44 test(S(""), "abcdeabcdeabcdeabcde", 0, 1, S::npos); in test0()
[all …]
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
37 if (x != S::npos) in test()
48 test(S(""), "abcde", 0, S::npos); in test0()
49 test(S(""), "abcdeabcde", 0, S::npos); in test0()
50 test(S(""), "abcdeabcdeabcdeabcde", 0, S::npos); in test0()
51 test(S(""), "", 1, S::npos); in test0()
52 test(S(""), "abcde", 1, S::npos); in test0()
53 test(S(""), "abcdeabcde", 1, S::npos); in test0()
54 test(S(""), "abcdeabcdeabcdeabcde", 1, S::npos); in test0()
57 test(S("abcde"), "abcdeabcde", 0, S::npos); in test0()
[all …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
41 test(S(""), S("abcde"), 0, S::npos); in test0()
42 test(S(""), S("abcdeabcde"), 0, S::npos); in test0()
43 test(S(""), S("abcdeabcdeabcdeabcde"), 0, S::npos); in test0()
44 test(S(""), S(""), 1, S::npos); in test0()
45 test(S(""), S("abcde"), 1, S::npos); in test0()
46 test(S(""), S("abcdeabcde"), 1, S::npos); in test0()
47 test(S(""), S("abcdeabcdeabcdeabcde"), 1, S::npos); in test0()
50 test(S("abcde"), S("abcdeabcde"), 0, S::npos); in test0()
[all …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'c', 0, S::npos); in main()
43 test(S(""), 'c', 1, S::npos); in main()
47 test(S("abcde"), 'c', 4, S::npos); in main()
48 test(S("abcde"), 'c', 5, S::npos); in main()
49 test(S("abcde"), 'c', 6, S::npos); in main()
53 test(S("abcdeabcde"), 'c', 9, S::npos); in main()
54 test(S("abcdeabcde"), 'c', 10, S::npos); in main()
55 test(S("abcdeabcde"), 'c', 11, S::npos); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.of/
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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 …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'm', 0, S::npos); in main()
43 test(S(""), 'm', 1, S::npos); in main()
44 test(S("kitcj"), 'm', 0, S::npos); in main()
45 test(S("qkamf"), 'm', 1, S::npos); in main()
47 test(S("tpsaf"), 'm', 4, S::npos); in main()
48 test(S("lahfb"), 'm', 5, S::npos); in main()
49 test(S("irkhs"), 'm', 6, S::npos); in main()
50 test(S("gmfhdaipsr"), 'm', 0, S::npos); in main()
[all …]
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
41 test(S(""), "", 0, S::npos); in test0()
42 test(S(""), "laenf", 0, S::npos); in test0()
43 test(S(""), "pqlnkmbdjo", 0, S::npos); in test0()
44 test(S(""), "qkamfogpnljdcshbreti", 0, S::npos); in test0()
45 test(S(""), "", 1, S::npos); in test0()
46 test(S(""), "bjaht", 1, S::npos); in test0()
47 test(S(""), "hjlcmgpket", 1, S::npos); in test0()
48 test(S(""), "htaobedqikfplcgjsmrn", 1, S::npos); in test0()
[all …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
40 test(S(""), S(""), 0, S::npos); in test0()
41 test(S(""), S("laenf"), 0, S::npos); in test0()
42 test(S(""), S("pqlnkmbdjo"), 0, S::npos); in test0()
43 test(S(""), S("qkamfogpnljdcshbreti"), 0, S::npos); in test0()
44 test(S(""), S(""), 1, S::npos); in test0()
45 test(S(""), S("bjaht"), 1, S::npos); in test0()
46 test(S(""), S("hjlcmgpket"), 1, S::npos); in test0()
47 test(S(""), S("htaobedqikfplcgjsmrn"), 1, S::npos); in test0()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.first.not.of/
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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 …]
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
41 test(S(""), "", 0, S::npos); in test0()
42 test(S(""), "laenf", 0, S::npos); in test0()
43 test(S(""), "pqlnkmbdjo", 0, S::npos); in test0()
44 test(S(""), "qkamfogpnljdcshbreti", 0, S::npos); in test0()
45 test(S(""), "", 1, S::npos); in test0()
46 test(S(""), "bjaht", 1, S::npos); in test0()
47 test(S(""), "hjlcmgpket", 1, S::npos); in test0()
48 test(S(""), "htaobedqikfplcgjsmrn", 1, S::npos); in test0()
[all …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
40 test(S(""), S(""), 0, S::npos); in test0()
41 test(S(""), S("laenf"), 0, S::npos); in test0()
42 test(S(""), S("pqlnkmbdjo"), 0, S::npos); in test0()
43 test(S(""), S("qkamfogpnljdcshbreti"), 0, S::npos); in test0()
44 test(S(""), S(""), 1, S::npos); in test0()
45 test(S(""), S("bjaht"), 1, S::npos); in test0()
46 test(S(""), S("hjlcmgpket"), 1, S::npos); in test0()
47 test(S(""), S("htaobedqikfplcgjsmrn"), 1, S::npos); in test0()
[all …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'q', 0, S::npos); in main()
43 test(S(""), 'q', 1, S::npos); in main()
48 test(S("lahfb"), 'q', 5, S::npos); in main()
49 test(S("irkhs"), 'q', 6, S::npos); in main()
54 test(S("eolhfgpjqk"), 'q', 10, S::npos); in main()
55 test(S("pcdrofikas"), 'q', 11, S::npos); in main()
60 test(S("hkbgspofltajcnedqmri"), 'q', 20, S::npos); in main()
61 test(S("oselktgbcapndfjihrmq"), 'q', 21, S::npos); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
41 test(S(""), "", 0, S::npos); in test0()
42 test(S(""), "laenf", 0, S::npos); in test0()
43 test(S(""), "pqlnkmbdjo", 0, S::npos); in test0()
44 test(S(""), "qkamfogpnljdcshbreti", 0, S::npos); in test0()
45 test(S(""), "", 1, S::npos); in test0()
46 test(S(""), "bjaht", 1, S::npos); in test0()
47 test(S(""), "hjlcmgpket", 1, S::npos); in test0()
48 test(S(""), "htaobedqikfplcgjsmrn", 1, S::npos); in test0()
[all …]
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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 …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
40 test(S(""), S(""), 0, S::npos); in test0()
41 test(S(""), S("laenf"), 0, S::npos); in test0()
42 test(S(""), S("pqlnkmbdjo"), 0, S::npos); in test0()
43 test(S(""), S("qkamfogpnljdcshbreti"), 0, S::npos); in test0()
44 test(S(""), S(""), 1, S::npos); in test0()
45 test(S(""), S("bjaht"), 1, S::npos); in test0()
46 test(S(""), S("hjlcmgpket"), 1, S::npos); in test0()
47 test(S(""), S("htaobedqikfplcgjsmrn"), 1, S::npos); in test0()
[all …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'i', 0, S::npos); in main()
43 test(S(""), 'i', 1, S::npos); in main()
63 test(S(""), 'i', S::npos); in main()
71 test(S(""), 'i', 0, S::npos); in main()
72 test(S(""), 'i', 1, S::npos); in main()
92 test(S(""), 'i', S::npos); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_rfind/
Dpointer_size_size.pass.cpp25 if (x != S::npos) in test()
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()
39 test(S(""), "abcdeabcde", 0, 1, S::npos); in test0()
40 test(S(""), "abcdeabcde", 0, 5, S::npos); in test0()
41 test(S(""), "abcdeabcde", 0, 9, S::npos); in test0()
42 test(S(""), "abcdeabcde", 0, 10, S::npos); in test0()
44 test(S(""), "abcdeabcdeabcdeabcde", 0, 1, S::npos); in test0()
[all …]
Dpointer_size.pass.cpp25 if (x != S::npos) in test()
37 if (x != S::npos) in test()
49 test(S(""), "abcde", 0, S::npos); in test0()
50 test(S(""), "abcdeabcde", 0, S::npos); in test0()
51 test(S(""), "abcdeabcdeabcdeabcde", 0, S::npos); in test0()
53 test(S(""), "abcde", 1, S::npos); in test0()
54 test(S(""), "abcdeabcde", 1, S::npos); in test0()
55 test(S(""), "abcdeabcdeabcdeabcde", 1, S::npos); in test0()
58 test(S("abcde"), "abcdeabcde", 0, S::npos); in test0()
59 test(S("abcde"), "abcdeabcdeabcdeabcde", 0, S::npos); in test0()
[all …]
Dstring_size.pass.cpp24 if (x != S::npos) in test()
33 if (x != S::npos) in test()
41 test(S(""), S("abcde"), 0, S::npos); in test0()
42 test(S(""), S("abcdeabcde"), 0, S::npos); in test0()
43 test(S(""), S("abcdeabcdeabcdeabcde"), 0, S::npos); in test0()
45 test(S(""), S("abcde"), 1, S::npos); in test0()
46 test(S(""), S("abcdeabcde"), 1, S::npos); in test0()
47 test(S(""), S("abcdeabcdeabcdeabcde"), 1, S::npos); in test0()
50 test(S("abcde"), S("abcdeabcde"), 0, S::npos); in test0()
51 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 0, S::npos); in test0()
[all …]
Dchar_size.pass.cpp25 if (x != S::npos) in test()
34 if (x != S::npos) in test()
42 test(S(""), 'b', 0, S::npos); in main()
43 test(S(""), 'b', 1, S::npos); in main()
44 test(S("abcde"), 'b', 0, S::npos); in main()
50 test(S("abcdeabcde"), 'b', 0, S::npos); in main()
56 test(S("abcdeabcdeabcdeabcde"), 'b', 0, S::npos); in main()
63 test(S(""), 'b', S::npos); in main()
71 test(S(""), 'b', 0, S::npos); in main()
72 test(S(""), 'b', 1, S::npos); in main()
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_string_npos.h21 enum { npos = -1 }; enumerator
24 static const size_t npos; variable
26 static const size_t npos = ~(size_t)0; variable

123