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()
124 size_t StringRef::find(StringRef Str, size_t From) const { in find()
125 if (From > Length) in find()
128 const char *Start = Data + From; in find()
129 size_t Size = Length - From; in find()
134 return From; in find()
173 size_t StringRef::find_insensitive(StringRef Str, size_t From) const { in find_insensitive()
174 StringRef This = substr(From); in find_insensitive()
177 return From; in find_insensitive()
179 ++From; in find_insensitive()
184 size_t StringRef::rfind_insensitive(char C, size_t From) const { in rfind_insensitive()
185 From = std::min(From, Length); in rfind_insensitive()
186 size_t i = From; in rfind_insensitive()
228 size_t From) const { in find_first_of()
233 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
241 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
242 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
253 size_t From) const { in find_first_not_of()
258 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
269 size_t From) const { in find_last_of()
274 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
282 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of()
283 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
294 size_t From) const { in find_last_not_of()
299 for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()