Lines Matching refs:StringRef
22 constexpr size_t StringRef::npos;
37 int StringRef::compare_insensitive(StringRef RHS) const { in compare_insensitive()
45 bool StringRef::starts_with_insensitive(StringRef Prefix) const { in starts_with_insensitive()
50 bool StringRef::ends_with_insensitive(StringRef Suffix) const { in ends_with_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()
100 unsigned llvm::StringRef::edit_distance_insensitive( in edit_distance_insensitive()
101 StringRef Other, bool AllowReplacements, unsigned MaxEditDistance) const { in edit_distance_insensitive()
111 std::string StringRef::lower() const { in lower()
116 std::string StringRef::upper() const { in upper()
130 size_t StringRef::find(StringRef Str, size_t From) const { 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()
202 size_t StringRef::rfind_insensitive(char C, size_t From) const { in rfind_insensitive()
217 size_t StringRef::rfind(StringRef Str) const { in rfind()
221 size_t StringRef::rfind_insensitive(StringRef Str) const { in rfind_insensitive()
237 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of()
251 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
259 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of()
275 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of()
289 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const { in find_last_not_of()
300 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of()
312 void StringRef::split(SmallVectorImpl<StringRef> &A, in split()
313 StringRef Separator, int MaxSplit, in split()
315 StringRef S = *this; in split()
339 void StringRef::split(SmallVectorImpl<StringRef> &A, char Separator, in split()
341 StringRef S = *this; in split()
371 size_t StringRef::count(StringRef Str) const { in count()
387 static unsigned GetAutoSenseRadix(StringRef &Str) { in GetAutoSenseRadix()
408 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger()
418 StringRef Str2 = Str; in consumeUnsignedInteger()
456 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger()
471 StringRef Str2 = Str.drop_front(1); in consumeSignedInteger()
486 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger()
496 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger()
506 bool StringRef::consumeInteger(unsigned Radix, APInt &Result) { in consumeInteger()
507 StringRef Str = *this; in consumeInteger()
587 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger()
588 StringRef Str = *this; in getAsInteger()
597 bool StringRef::getAsDouble(double &Result, bool AllowInexact) const { in getAsDouble()
614 hash_code llvm::hash_value(StringRef S) { in hash_value()
618 unsigned DenseMapInfo<StringRef, void>::getHashValue(StringRef Val) { in getHashValue()