Lines Matching refs:From

55 size_t StringRef::find_insensitive(char C, size_t From) const {  in find_insensitive()
57 return find_if([L](char D) { return toLower(D) == L; }, From); in find_insensitive()
130 size_t StringRef::find(StringRef Str, size_t From) const { in find()
131 if (From > Length) in find()
134 const char *Start = Data + From; in find()
135 size_t Size = Length - From; in find()
140 return From; in find()
191 size_t StringRef::find_insensitive(StringRef Str, size_t From) const { in find_insensitive()
192 StringRef This = substr(From); in find_insensitive()
195 return From; in find_insensitive()
197 ++From; in find_insensitive()
202 size_t StringRef::rfind_insensitive(char C, size_t From) const { in rfind_insensitive()
203 From = std::min(From, Length); in rfind_insensitive()
204 size_t i = From; in rfind_insensitive()
238 size_t From) const { in find_first_of()
243 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
251 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
252 return std::string_view(*this).find_first_not_of(C, From); in find_first_not_of()
260 size_t From) const { in find_first_not_of()
265 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
276 size_t From) const { in find_last_of()
281 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
289 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of()
290 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
301 size_t From) const { in find_last_not_of()
306 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()