Lines Matching refs:StringRef
22 constexpr size_t StringRef::npos;
37 int StringRef::compare_insensitive(StringRef RHS) const { in compare_insensitive()
45 bool StringRef::startswith_insensitive(StringRef Prefix) const { in startswith_insensitive()
50 bool StringRef::endswith_insensitive(StringRef Suffix) const { in endswith_insensitive()
55 size_t StringRef::find_insensitive(char C, size_t From) const { in find_insensitive()
61 int StringRef::compare_numeric(StringRef RHS) const { in compare_numeric()
92 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance()
105 std::string StringRef::lower() const { in lower()
110 std::string StringRef::upper() const { in upper()
124 size_t StringRef::find(StringRef Str, size_t From) const { 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()
184 size_t StringRef::rfind_insensitive(char C, size_t From) const { in rfind_insensitive()
199 size_t StringRef::rfind(StringRef Str) const { in rfind()
211 size_t StringRef::rfind_insensitive(StringRef Str) const { in rfind_insensitive()
227 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of()
241 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
252 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of()
268 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of()
282 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of()
293 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of()
305 void StringRef::split(SmallVectorImpl<StringRef> &A, in split()
306 StringRef Separator, int MaxSplit, in split()
308 StringRef S = *this; in split()
332 void StringRef::split(SmallVectorImpl<StringRef> &A, char Separator, in split()
334 StringRef S = *this; in split()
364 size_t StringRef::count(StringRef Str) const { in count()
380 static unsigned GetAutoSenseRadix(StringRef &Str) { in GetAutoSenseRadix()
407 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger()
417 StringRef Str2 = Str; in consumeUnsignedInteger()
455 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger()
470 StringRef Str2 = Str.drop_front(1); in consumeSignedInteger()
485 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger()
495 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger()
505 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger()
506 StringRef Str = *this; in getAsInteger()
580 bool StringRef::getAsDouble(double &Result, bool AllowInexact) const { in getAsDouble()
597 hash_code llvm::hash_value(StringRef S) { in hash_value()