Home | History | Annotate | Download | only in string_find.first.of

Lines Matching refs:npos

24     if (x != S::npos)
33 if (x != S::npos)
40 test(S(""), S(""), 0, S::npos);
41 test(S(""), S("laenf"), 0, S::npos);
42 test(S(""), S("pqlnkmbdjo"), 0, S::npos);
43 test(S(""), S("qkamfogpnljdcshbreti"), 0, S::npos);
44 test(S(""), S(""), 1, S::npos);
45 test(S(""), S("bjaht"), 1, S::npos);
46 test(S(""), S("hjlcmgpket"), 1, S::npos);
47 test(S(""), S("htaobedqikfplcgjsmrn"), 1, S::npos);
48 test(S("fodgq"), S(""), 0, S::npos);
52 test(S("srdfq"), S(""), 1, S::npos);
53 test(S("oemth"), S("ikcrq"), 1, S::npos);
56 test(S("cshmd"), S(""), 2, S::npos);
60 test(S("fmtsp"), S(""), 4, S::npos);
61 test(S("khbpm"), S("aobjd"), 4, S::npos);
62 test(S("pbsji"), S("pcbahntsje"), 4, S::npos);
64 test(S("eqmpa"), S(""), 5, S::npos);
65 test(S("omigs"), S("kocgb"), 5, S::npos);
66 test(S("onmje"), S("fbslrjiqkm"), 5, S::npos);
67 test(S("oqmrj"), S("jeidpcmalhfnqbgtrsko"), 5, S::npos);
68 test(S("schfa"), S(""), 6, S::npos);
69 test(S("igdsc"), S("qngpd"), 6, S::npos);
70 test(S("brqgo"), S("rodhqklgmb"), 6, S::npos);
71 test(S("tnrph"), S("thdjgafrlbkoiqcspmne"), 6, S::npos);
72 test(S("hcjitbfapl"), S(""), 0, S::npos);
76 test(S("qpghtfbaji"), S(""), 1, S::npos);
80 test(S("crnklpmegd"), S(""), 5, S::npos);
81 test(S("jsbtafedoc"), S("prqgn"), 5, S::npos);
84 test(S("lmofqdhpki"), S(""), 9, S::npos);
86 test(S("drtasbgmfp"), S("ktsrmnqagd"), 9, S::npos);
88 test(S("elgofjmbrq"), S(""), 10, S::npos);
89 test(S("mjqdgalkpc"), S("dplqa"), 10, S::npos);
90 test(S("kthqnfcerm"), S("dkacjoptns"), 10, S::npos);
91 test(S("dfsjhanorc"), S("hqfimtrgnbekpdcsjalo"), 10, S::npos);
92 test(S("eqsgalomhb"), S(""), 11, S::npos);
93 test(S("akiteljmoh"), S("lofbc"), 11, S::npos);
94 test(S("hlbdfreqjo"), S("astoegbfpn"), 11, S::npos);
95 test(S("taqobhlerg"), S("pdgreqomsncafklhtibj"), 11, S::npos);
96 test(S("snafbdlghrjkpqtoceim"), S(""), 0, S::npos);
100 test(S("jlnkraeodhcspfgbqitm"), S(""), 1, S::npos);
104 test(S("hdpkobnsalmcfijregtq"), S(""), 10, S::npos);
108 test(S("niptglfbosehkamrdqcj"), S(""), 19, S::npos);
109 test(S("copqdhstbingamjfkler"), S("djkqc"), 19, S::npos);
112 test(S("eaintpchlqsbdgrkjofm"), S(""), 20, S::npos);
113 test(S("gjnhidfsepkrtaqbmclo"), S("nocfa"), 20, S::npos);
114 test(S("spocfaktqdbiejlhngmr"), S("bgtajmiedc"), 20, S::npos);
115 test(S("rphmlekgfscndtaobiqj"), S("lsckfnqgdahejiopbtmr"), 20, S::npos);
116 test(S("liatsqdoegkmfcnbhrpj"), S(""), 21, S::npos);
117 test(S("binjagtfldkrspcomqeh"), S("gfsrt"), 21, S::npos);
118 test(S("latkmisecnorjbfhqpdg"), S("pfsocbhjtm"), 21, S::npos);
119 test(S("lecfratdjkhnsmqpoigb"), S("tpflmdnoicjgkberhqsa"), 21, S::npos);
125 test(S(""), S(""), S::npos);
126 test(S(""), S("laenf"), S::npos);
127 test(S(""), S("pqlnkmbdjo"), S::npos);
128 test(S(""), S("qkamfogpnljdcshbreti"), S::npos);
129 test(S("nhmko"), S(""), S::npos);
133 test(S("eolhfgpjqk"), S(""), S::npos);
137 test(S("gprdcokbnjhlsfmtieqa"), S(""), S::npos);