Lines Matching refs:npos
22 constexpr size_t StringRef::npos; member in StringRef
132 return npos; in find()
142 return npos; in find()
145 return Ptr == nullptr ? npos : Ptr - Data; in find()
159 return npos; in find()
169 return npos; in find()
188 return npos; in find()
199 return npos; in find_insensitive()
210 return npos; in rfind_insensitive()
224 return npos; in rfind_insensitive()
230 return npos; in rfind_insensitive()
246 return npos; in find_first_of()
268 return npos; in find_first_not_of()
284 return npos; in find_last_of()
293 return npos; in find_last_not_of()
309 return npos; in find_last_not_of()
323 if (Idx == npos) in split()
331 S = S.slice(Idx + Separator.size(), npos); in split()
349 if (Idx == npos) in split()
357 S = S.slice(Idx + 1, npos); in split()
380 while ((Pos = find(Str, Pos)) != npos) { in count()