Home
last modified time | relevance | path

Searched refs:FirstNonDigit (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp519 size_t FirstNonDigit = StringRef::npos; in parseNumberString() local
521 FirstNonDigit = Expr.find_first_not_of("0123456789abcdefABCDEF", 2); in parseNumberString()
522 if (FirstNonDigit == StringRef::npos) in parseNumberString()
523 FirstNonDigit = Expr.size(); in parseNumberString()
525 FirstNonDigit = Expr.find_first_not_of("0123456789"); in parseNumberString()
526 if (FirstNonDigit == StringRef::npos) in parseNumberString()
527 FirstNonDigit = Expr.size(); in parseNumberString()
529 return std::make_pair(Expr.substr(0, FirstNonDigit), in parseNumberString()
530 Expr.substr(FirstNonDigit)); in parseNumberString()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp868 char FirstNonDigit = Text[NonDigitPos]; in handleTableGenNumericLikeIdentifier() local
872 if (FirstNonDigit == 'b' && (TheNext == '0' || TheNext == '1')) in handleTableGenNumericLikeIdentifier()
875 if (FirstNonDigit == 'x' && isxdigit(TheNext)) in handleTableGenNumericLikeIdentifier()
878 if (isalpha(FirstNonDigit) || FirstNonDigit == '_') { in handleTableGenNumericLikeIdentifier()