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

Lines Matching refs:npos

12 // size_type find_last_of(const basic_string& str, size_type pos = npos) const;
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);
49 test(S("qanej"), S("dfkap"), 0, S::npos);
50 test(S("clbao"), S("ihqrfebgad"), 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);
57 test(S("lhcdo"), S("oebqi"), 2, S::npos);
60 test(S("fmtsp"), S(""), 4, S::npos);
64 test(S("eqmpa"), S(""), 5, S::npos);
68 test(S("schfa"), S(""), 6, S::npos);
72 test(S("hcjitbfapl"), S(""), 0, S::npos);
76 test(S("qpghtfbaji"), S(""), 1, S::npos);
77 test(S("gfshlcmdjr"), S("nadkh"), 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);
88 test(S("elgofjmbrq"), S(""), 10, S::npos);
92 test(S("eqsgalomhb"), S(""), 11, S::npos);
96 test(S("snafbdlghrjkpqtoceim"), S(""), 0, S::npos);
97 test(S("aemtbrgcklhndjisfpoq"), S("lbtqd"), 0, S::npos);
100 test(S("jlnkraeodhcspfgbqitm"), S(""), 1, S::npos);
101 test(S("lhosrngtmfjikbqpcade"), S("aqibs"), 1, S::npos);
104 test(S("hdpkobnsalmcfijregtq"), S(""), 10, S::npos);
108 test(S("niptglfbosehkamrdqcj"), S(""), 19, S::npos);
112 test(S("eaintpchlqsbdgrkjofm"), S(""), 20, S::npos);
116 test(S("liatsqdoegkmfcnbhrpj"), S(""), 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);