Lines Matching refs:From
124 size_t StringRef::find(StringRef Str, size_t From) const { in find()
131 for (size_t e = Length - N + 1, i = min(From, e); i != e; ++i) in find()
137 if (From >= Length) in find()
146 unsigned Len = Length-From, Pos = From; in find()
181 size_t From) const { in find_first_of()
186 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_of()
194 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
195 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
206 size_t From) const { in find_first_not_of()
211 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
222 size_t From) const { in find_last_of()
227 for (size_type i = min(From, Length) - 1, e = -1; i != e; --i) in find_last_of()
235 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of()
236 for (size_type i = min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()
247 size_t From) const { in find_last_not_of()
252 for (size_type i = min(From, Length) - 1, e = -1; i != e; --i) in find_last_not_of()