/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_find.last.not.of/ |
pointer_size_size.pass.cpp | 25 if (x != S::npos) 32 test(S(""), "", 0, 0, S::npos); member in class:S 33 test(S(""), "irkhs", 0, 0, S::npos); member in class:S 34 test(S(""), "kante", 0, 1, S::npos); member in class:S 35 test(S(""), "oknlr", 0, 2, S::npos); member in class:S 36 test(S(""), "pcdro", 0, 4, S::npos); member in class:S 37 test(S(""), "bnrpe", 0, 5, S::npos); member in class:S 38 test(S(""), "jtdaefblso", 0, 0, S::npos); member in class:S 39 test(S(""), "oselktgbca", 0, 1, S::npos); member in class:S 40 test(S(""), "eqgaplhckj", 0, 5, S::npos); member in class:S 41 test(S(""), "bjahtcmnlp", 0, 9, S::npos); member in class:S 42 test(S(""), "hjlcmgpket", 0, 10, S::npos); member in class:S 43 test(S(""), "htaobedqikfplcgjsmrn", 0, 0, S::npos); member in class:S 44 test(S(""), "hpqiarojkcdlsgnmfetb", 0, 1, S::npos); member in class:S 45 test(S(""), "dfkaprhjloqetcsimnbg", 0, 10, S::npos); member in class:S 46 test(S(""), "ihqrfebgadntlpmjksoc", 0, 19, S::npos); member in class:S 47 test(S(""), "ngtjfcalbseiqrphmkdo", 0, 20, S::npos); member in class:S 48 test(S(""), "", 1, 0, S::npos); member in class:S 49 test(S(""), "lbtqd", 1, 0, S::npos); member in class:S 50 test(S(""), "tboim", 1, 1, S::npos); member in class:S 51 test(S(""), "slcer", 1, 2, S::npos); member in class:S 52 test(S(""), "cbjfs", 1, 4, S::npos); member in class:S 53 test(S(""), "aqibs", 1, 5, S::npos); member in class:S 54 test(S(""), "gtfblmqinc", 1, 0, S::npos); member in class:S 55 test(S(""), "mkqpbtdalg", 1, 1, S::npos); member in class:S 56 test(S(""), "kphatlimcd", 1, 5, S::npos); member in class:S 57 test(S(""), "pblasqogic", 1, 9, S::npos); member in class:S 58 test(S(""), "arosdhcfme", 1, 10, S::npos); member in class:S 59 test(S(""), "blkhjeogicatqfnpdmsr", 1, 0, S::npos); member in class:S 60 test(S(""), "bmhineprjcoadgstflqk", 1, 1, S::npos); member in class:S 61 test(S(""), "djkqcmetslnghpbarfoi", 1, 10, S::npos); member in class:S 62 test(S(""), "lgokshjtpbemarcdqnfi", 1, 19, S::npos); member in class:S 63 test(S(""), "bqjhtkfepimcnsgrlado", 1, 20, S::npos); member in class:S 68 test(S("eqkst"), "sgkec", 0, 4, S::npos); member in class:S 73 test(S("ehmja"), "dabckmepqj", 0, 9, S::npos); member in class:S 78 test(S("ofjqr"), "aenmqplidhkofrjbctsg", 0, 19, S::npos); member in class:S 79 test(S("btlfi"), "osjmbtcadhiklegrpqnf", 0, 20, S::npos); member in class:S 93 test(S("jfdam"), "joflqbdkhtegimscpanr", 1, 10, S::npos); member in class:S 94 test(S("edapb"), "adpmcohetfbsrjinlqkg", 1, 19, S::npos); member in class:S 95 test(S("brfsm"), "iacldqjpfnogbsrhmetk", 1, 20, S::npos); member in class:S 110 test(S("frehn"), "ljqncehgmfktroapidbs", 2, 19, S::npos); member in class:S 111 test(S("tqolf"), "rtcfodilamkbenjghqps", 2, 20, S::npos); member in class:S 127 test(S("fthqm"), "dmasojntqleribkgfchp", 4, 20, S::npos); member in class:S 148 test(S("pbdjl"), "mongjratcskbhqiepfdl", 5, 20, S::npos); member in class:S 163 test(S("eopfi"), "tpdshainjkbfoemlrgcq", 6, 19, S::npos); member in class:S 164 test(S("dsnmg"), "oldpfgeakrnitscbjmqh", 6, 20, S::npos); member in class:S 173 test(S("pcofgeniam"), "qcpjibosfl", 0, 5, S::npos); member in class:S 174 test(S("rlfjgesqhc"), "lrhmefnjcq", 0, 9, S::npos); member in class:S 179 test(S("cfpegndlkt"), "cpmajdqnolikhgsbretf", 0, 19, S::npos); member in class:S 180 test(S("fqbtnkeasj"), "jcflkntmgiqrphdosaeb", 0, 20, S::npos); member in class:S 191 test(S("cigfqkated"), "sqcflrgtim", 1, 10, S::npos); member in class:S 194 test(S("gltkojeipd"), "oakgtnldpsefihqmjcbr", 1, 10, S::npos); member in class:S 195 test(S("qistfrgnmp"), "gbnaelosidmcjqktfhpr", 1, 19, S::npos); member in class:S 196 test(S("bdnpfcqaem"), "akbripjhlosndcmqgfet", 1, 20, S::npos); member in class:S 211 test(S("pamkeoidrj"), "qahoegcmplkfsjbdnitr", 5, 19, S::npos); member in class:S 212 test(S("espogqbthk"), "dpteiajrqmsognhlfbkc", 5, 20, S::npos); member in class:S 228 test(S("dlroktbcja"), "nmotklspigjrdhcfaebq", 9, 20, S::npos); member in class:S 249 test(S("qgmetnabkl"), "ldobhmqcafnjtkeisgrp", 10, 20, S::npos); member in class:S 264 test(S("nqedcojahi"), "egpscmahijlfnkrodqtb", 11, 19, S::npos); member in class:S 265 test(S("hefnrkmctj"), "kmqbfepjthgilscrndoa", 11, 20, S::npos); member in class:S 280 test(S("miklnresdgbhqcojftap"), "prabcjfqnoeskilmtgdh", 0, 19, S::npos); member in class:S 281 test(S("htbcigojaqmdkfrnlsep"), "dtrgmchilkasqoebfpjn", 0, 20, S::npos); member in class:S 296 test(S("fraghmbiceknltjpqosd"), "lsimqfnjarbopedkhcgt", 1, 19, S::npos); member in class:S 297 test(S("pmafenlhqtdbkirjsogc"), "abedmfjlghniorcqptks", 1, 20, S::npos); member in class:S 312 test(S("ckqhaiesmjdnrgolbtpf"), "oihcetflbjagdsrkmqpn", 10, 19, S::npos); member in class:S 313 test(S("bnlgapfimcoterskqdjh"), "adtclebmnpjsrqfkigoh", 10, 20, S::npos); member in class:S 329 test(S("oegalhmstjrfickpbndq"), "fjhdsctkqeiolagrnmbp", 19, 20, S::npos); member in class:S 350 test(S("rlbdsiceaonqjtfpghkm"), "dlbrteoisgphmkncajfq", 20, 20, S::npos); member in class:S 366 test(S("hnbrcplsjfgiktoedmaq"), "qprlsfojamgndekthibc", 21, 20, S::npos); member in class:S [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_rfind/ |
pointer_size_size.pass.cpp | 25 if (x != S::npos) 34 test(S(""), "abcde", 0, 1, S::npos); member in class:S 35 test(S(""), "abcde", 0, 2, S::npos); member in class:S 36 test(S(""), "abcde", 0, 4, S::npos); member in class:S 37 test(S(""), "abcde", 0, 5, S::npos); member in class:S 39 test(S(""), "abcdeabcde", 0, 1, S::npos); member in class:S 40 test(S(""), "abcdeabcde", 0, 5, S::npos); member in class:S 41 test(S(""), "abcdeabcde", 0, 9, S::npos); member in class:S 42 test(S(""), "abcdeabcde", 0, 10, S::npos); member in class:S 44 test(S(""), "abcdeabcdeabcdeabcde", 0, 1, S::npos); member in class:S 45 test(S(""), "abcdeabcdeabcdeabcde", 0, 10, S::npos); member in class:S 46 test(S(""), "abcdeabcdeabcdeabcde", 0, 19, S::npos); member in class:S 47 test(S(""), "abcdeabcdeabcdeabcde", 0, 20, S::npos); member in class:S 50 test(S(""), "abcde", 1, 1, S::npos); member in class:S 51 test(S(""), "abcde", 1, 2, S::npos); member in class:S 52 test(S(""), "abcde", 1, 4, S::npos); member in class:S 53 test(S(""), "abcde", 1, 5, S::npos); member in class:S 55 test(S(""), "abcdeabcde", 1, 1, S::npos); member in class:S 56 test(S(""), "abcdeabcde", 1, 5, S::npos); member in class:S 57 test(S(""), "abcdeabcde", 1, 9, S::npos); member in class:S 58 test(S(""), "abcdeabcde", 1, 10, S::npos); member in class:S 60 test(S(""), "abcdeabcdeabcdeabcde", 1, 1, S::npos); member in class:S 61 test(S(""), "abcdeabcdeabcdeabcde", 1, 10, S::npos); member in class:S 62 test(S(""), "abcdeabcdeabcdeabcde", 1, 19, S::npos); member in class:S 63 test(S(""), "abcdeabcdeabcdeabcde", 1, 20, S::npos); member in class:S 73 test(S("abcde"), "abcdeabcde", 0, 9, S::npos); member in class:S 74 test(S("abcde"), "abcdeabcde", 0, 10, S::npos); member in class:S 77 test(S("abcde"), "abcdeabcdeabcdeabcde", 0, 10, S::npos); member in class:S 78 test(S("abcde"), "abcdeabcdeabcdeabcde", 0, 19, S::npos); member in class:S 79 test(S("abcde"), "abcdeabcdeabcdeabcde", 0, 20, S::npos); member in class:S 89 test(S("abcde"), "abcdeabcde", 1, 9, S::npos); member in class:S 90 test(S("abcde"), "abcdeabcde", 1, 10, S::npos); member in class:S 93 test(S("abcde"), "abcdeabcdeabcdeabcde", 1, 10, S::npos); member in class:S 94 test(S("abcde"), "abcdeabcdeabcdeabcde", 1, 19, S::npos); member in class:S 95 test(S("abcde"), "abcdeabcdeabcdeabcde", 1, 20, S::npos); member in class:S 105 test(S("abcde"), "abcdeabcde", 2, 9, S::npos); member in class:S 106 test(S("abcde"), "abcdeabcde", 2, 10, S::npos); member in class:S 109 test(S("abcde"), "abcdeabcdeabcdeabcde", 2, 10, S::npos); member in class:S 110 test(S("abcde"), "abcdeabcdeabcdeabcde", 2, 19, S::npos); member in class:S 111 test(S("abcde"), "abcdeabcdeabcdeabcde", 2, 20, S::npos); member in class:S 121 test(S("abcde"), "abcdeabcde", 4, 9, S::npos); member in class:S 122 test(S("abcde"), "abcdeabcde", 4, 10, S::npos); member in class:S 125 test(S("abcde"), "abcdeabcdeabcdeabcde", 4, 10, S::npos); member in class:S 126 test(S("abcde"), "abcdeabcdeabcdeabcde", 4, 19, S::npos); member in class:S 127 test(S("abcde"), "abcdeabcdeabcdeabcde", 4, 20, S::npos); member in class:S 142 test(S("abcde"), "abcdeabcde", 5, 9, S::npos); member in class:S 143 test(S("abcde"), "abcdeabcde", 5, 10, S::npos); member in class:S 146 test(S("abcde"), "abcdeabcdeabcdeabcde", 5, 10, S::npos); member in class:S 147 test(S("abcde"), "abcdeabcdeabcdeabcde", 5, 19, S::npos); member in class:S 148 test(S("abcde"), "abcdeabcdeabcdeabcde", 5, 20, S::npos); member in class:S 158 test(S("abcde"), "abcdeabcde", 6, 9, S::npos); member in class:S 159 test(S("abcde"), "abcdeabcde", 6, 10, S::npos); member in class:S 162 test(S("abcde"), "abcdeabcdeabcdeabcde", 6, 10, S::npos); member in class:S 163 test(S("abcde"), "abcdeabcdeabcdeabcde", 6, 19, S::npos); member in class:S 164 test(S("abcde"), "abcdeabcdeabcdeabcde", 6, 20, S::npos); member in class:S 179 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 0, 19, S::npos); member in class:S 180 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 0, 20, S::npos); member in class:S 195 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 1, 19, S::npos); member in class:S 196 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 1, 20, S::npos); member in class:S 211 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 5, 19, S::npos); member in class:S 212 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 5, 20, S::npos); member in class:S 227 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 9, 19, S::npos); member in class:S 228 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 9, 20, S::npos); member in class:S 248 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 10, 19, S::npos); member in class:S 249 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 10, 20, S::npos); member in class:S 264 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 11, 19, S::npos); member in class:S 265 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 11, 20, S::npos); member in class:S [all...] |
pointer_size.pass.cpp | 12 // size_type rfind(const charT* s, size_type pos = npos) const; 25 if (x != S::npos) 37 if (x != S::npos) 49 test(S(""), "abcde", 0, S::npos); member in class:S 50 test(S(""), "abcdeabcde", 0, S::npos); member in class:S 51 test(S(""), "abcdeabcdeabcdeabcde", 0, S::npos); member in class:S 53 test(S(""), "abcde", 1, S::npos); member in class:S 54 test(S(""), "abcdeabcde", 1, S::npos); member in class:S 55 test(S(""), "abcdeabcdeabcdeabcde", 1, S::npos); member in class:S 58 test(S("abcde"), "abcdeabcde", 0, S::npos); member in class:S 59 test(S("abcde"), "abcdeabcdeabcdeabcde", 0, S::npos); member in class:S 62 test(S("abcde"), "abcdeabcde", 1, S::npos); member in class:S 63 test(S("abcde"), "abcdeabcdeabcdeabcde", 1, S::npos); member in class:S 66 test(S("abcde"), "abcdeabcde", 2, S::npos); member in class:S 67 test(S("abcde"), "abcdeabcdeabcdeabcde", 2, S::npos); member in class:S 70 test(S("abcde"), "abcdeabcde", 4, S::npos); member in class:S 71 test(S("abcde"), "abcdeabcdeabcdeabcde", 4, S::npos); member in class:S 74 test(S("abcde"), "abcdeabcde", 5, S::npos); member in class:S 75 test(S("abcde"), "abcdeabcdeabcdeabcde", 5, S::npos); member in class:S 78 test(S("abcde"), "abcdeabcde", 6, S::npos); member in class:S 79 test(S("abcde"), "abcdeabcdeabcdeabcde", 6, S::npos); member in class:S 83 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 0, S::npos); member in class:S 87 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 1, S::npos); member in class:S 91 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 5, S::npos); member in class:S 95 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 9, S::npos); member in class:S 99 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 10, S::npos); member in class:S 103 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", 11, S::npos); member in class:S 134 test(S(""), "abcde", S::npos); member in class:S 135 test(S(""), "abcdeabcde", S::npos); member in class:S 136 test(S(""), "abcdeabcdeabcdeabcde", S::npos); member in class:S 139 test(S("abcde"), "abcdeabcde", S::npos); member in class:S 140 test(S("abcde"), "abcdeabcdeabcdeabcde", S::npos); member in class:S 144 test(S("abcdeabcde"), "abcdeabcdeabcdeabcde", S::npos); member in class:S [all...] |
string_size.pass.cpp | 12 // size_type rfind(const basic_string& str, size_type pos = npos) const; 24 if (x != S::npos) 33 if (x != S::npos) 41 test(S(""), S("abcde"), 0, S::npos); member in class:S 42 test(S(""), S("abcdeabcde"), 0, S::npos); member in class:S 43 test(S(""), S("abcdeabcdeabcdeabcde"), 0, S::npos); member in class:S 45 test(S(""), S("abcde"), 1, S::npos); member in class:S 46 test(S(""), S("abcdeabcde"), 1, S::npos); member in class:S 47 test(S(""), S("abcdeabcdeabcdeabcde"), 1, S::npos); member in class:S 50 test(S("abcde"), S("abcdeabcde"), 0, S::npos); member in class:S 51 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 0, S::npos); member in class:S 54 test(S("abcde"), S("abcdeabcde"), 1, S::npos); member in class:S 55 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 1, S::npos); member in class:S 58 test(S("abcde"), S("abcdeabcde"), 2, S::npos); member in class:S 59 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 2, S::npos); member in class:S 62 test(S("abcde"), S("abcdeabcde"), 4, S::npos); member in class:S 63 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 4, S::npos); member in class:S 66 test(S("abcde"), S("abcdeabcde"), 5, S::npos); member in class:S 67 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 5, S::npos); member in class:S 70 test(S("abcde"), S("abcdeabcde"), 6, S::npos); member in class:S 71 test(S("abcde"), S("abcdeabcdeabcdeabcde"), 6, S::npos); member in class:S 75 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 0, S::npos); member in class:S 79 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 1, S::npos); member in class:S 83 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 5, S::npos); member in class:S 87 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 9, S::npos); member in class:S 91 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 10, S::npos); member in class:S 95 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), 11, S::npos); member in class:S 126 test(S(""), S("abcde"), S::npos); member in class:S 127 test(S(""), S("abcdeabcde"), S::npos); member in class:S 128 test(S(""), S("abcdeabcdeabcdeabcde"), S::npos); member in class:S 131 test(S("abcde"), S("abcdeabcde"), S::npos); member in class:S 132 test(S("abcde"), S("abcdeabcdeabcdeabcde"), S::npos); member in class:S 136 test(S("abcdeabcde"), S("abcdeabcdeabcdeabcde"), S::npos); member in class:S [all...] |
char_size.pass.cpp | 12 // size_type rfind(charT c, size_type pos = npos) const; 25 if (x != S::npos) 34 if (x != S::npos) 42 test(S(""), 'b', 0, S::npos); member in class:S 43 test(S(""), 'b', 1, S::npos); member in class:S 44 test(S("abcde"), 'b', 0, S::npos); member in class:S 50 test(S("abcdeabcde"), 'b', 0, S::npos); member in class:S 56 test(S("abcdeabcdeabcdeabcde"), 'b', 0, S::npos); member in class:S 63 test(S(""), 'b', S::npos); member in class:S 71 test(S(""), 'b', 0, S::npos); member in class:S 72 test(S(""), 'b', 1, S::npos); member in class:S 73 test(S("abcde"), 'b', 0, S::npos); member in class:S 79 test(S("abcdeabcde"), 'b', 0, S::npos); member in class:S 85 test(S("abcdeabcdeabcdeabcde"), 'b', 0, S::npos); member in class:S 92 test(S(""), 'b', S::npos); member in class:S [all...] |
/external/chromium_org/printing/ |
page_number_unittest.cc | 12 EXPECT_EQ(printing::PageNumber::npos(), page); 15 EXPECT_NE(printing::PageNumber::npos(), page); 18 EXPECT_NE(printing::PageNumber::npos(), page); 27 EXPECT_EQ(printing::PageNumber::npos(), page); 29 EXPECT_EQ(printing::PageNumber::npos(), page);
|
/external/chromium/base/ |
string_piece_unittest.cc | 166 ASSERT_EQ(StringPiece::npos, std::string::npos); 169 ASSERT_EQ(a.find(b, 1), StringPiece::npos); 172 ASSERT_EQ(a.find(c, StringPiece::npos), StringPiece::npos); 173 ASSERT_EQ(b.find(c), StringPiece::npos); 174 ASSERT_EQ(b.find(c, StringPiece::npos), StringPiece::npos); 180 ASSERT_EQ(a.find(g), StringPiece::npos); 182 ASSERT_EQ(d.find(b), StringPiece::npos); [all...] |
string_piece.cc | 39 return npos; 44 return xpos + s.length_ <= length_ ? xpos : npos; 49 return npos; 52 return result != ptr_ + length_ ? static_cast<size_t>(result - ptr_) : npos; 57 return npos; 64 return result != last ? static_cast<size_t>(result - ptr_) : npos; 69 return npos; 77 return npos; 100 return npos; 113 return npos; 212 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:base::StringPiece [all...] |
/art/runtime/ |
reference_table_test.cc | 36 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); 54 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 55 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); 68 std::string::npos) << oss.str(); 69 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 71 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); 74 std::string::npos) << oss.str(); 84 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); 94 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); 96 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ |
ctor_error_code_string.pass.cpp | 28 assert(what_message.find(what_arg) != std::string::npos); 29 assert(what_message.find("Not a directory") != std::string::npos);
|
ctor_error_code_const_char_pointer.pass.cpp | 28 assert(what_message.find(what_arg) != std::string::npos); 29 assert(what_message.find("Not a directory") != std::string::npos);
|
ctor_int_error_category_const_char_pointer.pass.cpp | 29 assert(what_message.find(what_arg) != std::string::npos); 30 assert(what_message.find("Not a directory") != std::string::npos);
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/ |
string_piece.cc | 45 return npos; 50 return xpos + s.length_ <= length_ ? xpos : npos; 55 return npos; 58 return result != ptr_ + length_ ? static_cast<size_t>(result - ptr_) : npos; 63 return npos; 70 return result != last ? static_cast<size_t>(result - ptr_) : npos; 75 return npos; 83 return npos; 106 return npos; 119 return npos; 218 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:i18n::phonenumbers::StringPiece [all...] |
/external/chromium_org/base/strings/ |
string_piece_unittest.cc | 225 ASSERT_EQ(StringPiece::npos, std::string::npos); 228 ASSERT_EQ(a.find(b, 1), StringPiece::npos); 231 ASSERT_EQ(a.find(c, StringPiece::npos), StringPiece::npos); 232 ASSERT_EQ(b.find(c), StringPiece::npos); 233 ASSERT_EQ(b.find(c, StringPiece::npos), StringPiece::npos); 239 ASSERT_EQ(a.find(g), StringPiece::npos); 241 ASSERT_EQ(d.find(b), StringPiece::npos); [all...] |
/external/chromium/net/tools/dump_cache/ |
url_utilities.cc | 15 if (b == std::string::npos) 21 if (next_slash != std::string::npos 22 && next_colon != std::string::npos 26 if (next_slash == std::string::npos) { 27 if (next_colon != std::string::npos) { 38 if (b == std::string::npos) 47 if (b == std::string::npos) 52 if (b == std::string::npos) 56 if (e != std::string::npos)
|
/external/chromium_org/net/tools/dump_cache/ |
url_utilities.cc | 15 if (b == std::string::npos) 21 if (next_slash != std::string::npos 22 && next_colon != std::string::npos 26 if (next_slash == std::string::npos) { 27 if (next_colon != std::string::npos) { 38 if (b == std::string::npos) 47 if (b == std::string::npos) 52 if (b == std::string::npos) 56 if (e != std::string::npos)
|
/external/chromium_org/third_party/re2/util/ |
stringpiece.cc | 44 return npos; 49 return xpos + s.length_ <= length_ ? xpos : npos; 54 return npos; 57 return result != ptr_ + length_ ? result - ptr_ : npos; 61 if (length_ < s.length_) return npos; 67 return result != last ? result - ptr_ : npos; 71 if (length_ <= 0) return npos; 78 return npos; 87 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:StringPiece
|
/external/regex-re2/util/ |
stringpiece.cc | 44 return npos; 49 return xpos + s.length_ <= length_ ? xpos : npos; 54 return npos; 57 return result != ptr_ + length_ ? result - ptr_ : npos; 61 if (length_ < s.length_) return npos; 67 return result != last ? result - ptr_ : npos; 71 if (length_ <= 0) return npos; 78 return npos; 87 const StringPiece::size_type StringPiece::npos = size_type(-1); member in class:StringPiece
|
/external/chromium/base/debug/ |
stack_trace_unittest.cc | 45 std::string::npos) << 64 EXPECT_TRUE(backtrace_message.find("start") != std::string::npos) 74 std::string::npos) 84 EXPECT_TRUE(backtrace_message.find("main") != std::string::npos) 96 EXPECT_TRUE(backtrace_message.find(__func__) != std::string::npos)
|
/external/chromium/net/url_request/ |
view_cache_helper_unittest.cc | 125 EXPECT_NE(std::string::npos, data.find("</html>")); 126 EXPECT_NE(std::string::npos, data.find("first")); 127 EXPECT_NE(std::string::npos, data.find("second")); 128 EXPECT_NE(std::string::npos, data.find("third")); 130 EXPECT_EQ(std::string::npos, data.find("some")); 131 EXPECT_EQ(std::string::npos, data.find("same")); 132 EXPECT_EQ(std::string::npos, data.find("thing")); 147 EXPECT_NE(std::string::npos, data.find("</html>")); 149 EXPECT_NE(std::string::npos, data.find("hex_dumped")); 150 EXPECT_NE(std::string::npos, data.find("same")) [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
word_trimmer.cc | 25 size_t first = std::string::npos; 26 size_t last = std::string::npos; 32 if (first == std::string::npos) 36 if (first == std::string::npos) { 47 if (first == std::string::npos)
|
/external/chromium_org/chrome/browser/autocomplete/ |
history_url_provider_unittest.cc | 268 AutocompleteInput input(text, string16::npos, desired_tld, GURL(), 545 AutocompleteInput input(ASCIIToUTF16("p"), string16::npos, string16(), GURL(), member in class:string16 586 AutocompleteInput input(ASCIIToUTF16("slash "), string16::npos, string16(), member in class:string16 760 AutocompleteInput input(ASCIIToUTF16(test_cases[i]), string16::npos, member in class:string16 815 const size_t npos = std::string::npos; local 822 // Offsets of the ACMatchClassifications, terminated by npos. 874 AutocompleteInput input(ASCIIToUTF16(test_cases[i].input), string16::npos, member in class:string16 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
versionparsing.cc | 41 if (dot_pos == std::string::npos) { 42 // npos here is a special value meaning "to the end of the string" 43 n = std::string::npos; 52 if (dot_pos == std::string::npos) {
|
/external/chromium/base/i18n/ |
break_iterator.cc | 14 const size_t npos = -1; member in namespace:base 20 prev_(npos), 65 pos_ = npos; 80 pos_ = npos; 97 DCHECK(prev_ != npos && pos_ != npos);
|
/external/openfst/src/include/fst/ |
slist.h | 51 iterator npos = pos; 52 erase(++npos);
|