Lines Matching refs:npos
24 if (x != S::npos)
33 if (x != S::npos)
41 test(S(""), S("abcde"), 0, S::npos);
42 test(S(""), S("abcdeabcde"), 0, S::npos);
43 test(S(""), S("abcdeabcdeabcdeabcde"), 0, S::npos);
44 test(S(""), S(""), 1, S::npos);
45 test(S(""), S("abcde"), 1, S::npos);
46 test(S(""), S("abcdeabcde"), 1, S::npos);
47 test(S(""), S("abcdeabcdeabcdeabcde"), 1, S::npos);
50 test(S("abcde"), S("abcdeabcde"), 0, S::npos);
51 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 0, S::npos);
53 test(S("abcde"), S("abcde"), 1, S::npos);
54 test(S("abcde"), S("abcdeabcde"), 1, S::npos);
55 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 1, S::npos);
57 test(S("abcde"), S("abcde"), 2, S::npos);
58 test(S("abcde"), S("abcdeabcde"), 2, S::npos);
59 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 2, S::npos);
61 test(S("abcde"), S("abcde"), 4, S::npos);
62 test(S("abcde"), S("abcdeabcde"), 4, S::npos);
63 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 4, S::npos);
65 test(S("abcde"), S("abcde"), 5, S::npos);
66 test(S("abcde"), S("abcdeabcde"), 5, S::npos);
67 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 5, S::npos);
68 test(S("abcde"), S(""), 6, S::npos);
69 test(S("abcde"), S("abcde"), 6, S::npos);
70 test(S("abcde"), S("abcdeabcde"), 6, S::npos);
71 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 6, S::npos);
75 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 0, S::npos);
78 test(S("abcdeabcde"), S("abcdeabcde"), 1, S::npos);
79 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 1, S::npos);
82 test(S("abcdeabcde"), S("abcdeabcde"), 5, S::npos);
83 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 5, S::npos);
85 test(S("abcdeabcde"), S("abcde"), 9, S::npos);
86 test(S("abcdeabcde"), S("abcdeabcde"), 9, S::npos);
87 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 9, S::npos);
89 test(S("abcdeabcde"), S("abcde"), 10, S::npos);
90 test(S("abcdeabcde"), S("abcdeabcde"), 10, S::npos);
91 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 10, S::npos);
92 test(S("abcdeabcde"), S(""), 11, S::npos);
93 test(S("abcdeabcde"), S("abcde"), 11, S::npos);
94 test(S("abcdeabcde"), S("abcdeabcde"), 11, S::npos);
95 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 11, S::npos);
103 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 1, S::npos);
107 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 10, S::npos);
109 test(S("abcdeabcdeabcdeabcde"), S("abcde"), 19, S::npos);
110 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcde"), 19, S::npos);
111 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 19, S::npos);
113 test(S("abcdeabcdeabcdeabcde"), S("abcde"), 20, S::npos);
114 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcde"), 20, S::npos);
115 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 20, S::npos);
116 test(S("abcdeabcdeabcdeabcde"), S(""), 21, S::npos);
117 test(S("abcdeabcdeabcdeabcde"), S("abcde"), 21, S::npos);
118 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcde"), 21, S::npos);
119 test(S("abcdeabcdeabcdeabcde"), S("abcdeabcdeabcdeabcde"), 21, S::npos);
126 test(S(""), S("abcde"), S::npos);
127 test(S(""), S("abcdeabcde"), S::npos);
128 test(S(""), S("abcdeabcdeabcdeabcde"), S::npos);
131 test(S("abcde"), S("abcdeabcde"), S::npos);
132 test(S("abcde"), S("abcdeabcdeabcdeabcde"), S::npos);
136 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), S::npos);