Home
last modified time | relevance | path

Searched refs:isDigit (Results 1 – 25 of 51) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DRustDemangle.cpp81 static inline bool isDigit(const char C) { return '0' <= C && C <= '9'; } in isDigit() function
93 return isDigit(C) || isLower(C) || isUpper(C) || C == '_'; in isValid()
696 } else if (isDigit(C)) { in parseBase62Number()
726 if (!isDigit(C)) { in parseDecimalNumber()
738 while (isDigit(look())) { in parseDecimalNumber()
772 if (isDigit(C)) in parseHexNumber()
/netbsd-src/external/gpl2/groff/dist/src/preproc/html/
H A Dpushback.cpp221 static int isDigit (char ch) in isDigit() function
233 return( (isDigit(ch)) || ((ch>='a') && (ch<='f')) );
257 while (isDigit(ch)) { in readInt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp79 while (isDigit(*CurPtr)) in LexFloatLiteral()
92 while (isDigit(*CurPtr)) in LexFloatLiteral()
137 while (isDigit(*CurPtr)) in LexHexFloatLiteral()
155 if (CurPtr[-1] == '.' && isDigit(*CurPtr)) { in LexIdentifier()
157 while (isDigit(*CurPtr)) in LexIdentifier()
269 if (isDigit(*LookAhead)) { in doHexLookAhead()
492 if (!isDigit(CurPtr[0])) { in LexDigit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DStringRef.cpp67 if (isDigit(Data[I]) && isDigit(RHS.Data[I])) { in compare_numeric()
72 bool ld = J < Length && isDigit(Data[J]); in compare_numeric()
73 bool rd = J < RHS.Length && isDigit(RHS.Data[J]); in compare_numeric()
402 if (Str[0] == '0' && Str.size() > 1 && isDigit(Str[1])) { in GetAutoSenseRadix()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Ddemangle.d136 static bool isDigit( char val ) in isDigit() function
382 if ( isDigit( val ) || val == '_' )
389 return isDigit( val ); // identifier ref
545 while ( isDigit( front ) )
617 if ( '_' != e && !isAlpha( e ) && !isDigit( e ) )
1722 if ( isDigit( front ) && isDigit( peek( 1 ) ) )
1769 if ( isDigit( buf[pos] ) )
1775 isDigit( buf[pos] );
1792 if ( isDigit( front ) )
2756 … else if ( Demangle!().isAlpha(cast(char)ch) || Demangle!().isDigit(cast(char)ch) || ch == '_' )
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/
H A Dspec.d45 import std.ascii : isDigit;
374 if (isDigit(trailing[++i]))
436 else if (isDigit(trailing[i]))
459 if (isDigit(trailing[++i]))
483 else if (isDigit(trailing[i]))
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp131 while (!LineStr.empty() && isDigit(LineStr[0])) { in LayoutOverrideSource()
134 while (Idx < LineStr.size() && isDigit(LineStr[Idx])) in LayoutOverrideSource()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DDiagnostic.cpp581 if (!isDigit(*I) && !isPunctuation(*I)) { in ScanFormat()
582 for (I++; I != E && !isDigit(*I) && *I != '{'; I++) ; in ScanFormat()
848 if (!isDigit(DiagStr[0])) { in FormatDiagnostic()
867 assert(isDigit(*DiagStr) && "Invalid format for argument in diagnostic"); in FormatDiagnostic()
875 assert(*DiagStr == ',' && isDigit(*(DiagStr + 1)) && in FormatDiagnostic()
H A DTargetInfo.cpp502 if (isDigit(Name[0])) { in isValidGCCRegisterName()
545 if (isDigit(Name[0])) { in getNormalizedGCCRegisterName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp89 Major = std::string(In.take_while(isDigit)); in getExtensionVersion()
93 Minor = std::string(In.take_while(isDigit)); in getExtensionVersion()
198 auto Pos = Ext.find_if(isDigit); in getExtensionFeatures()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DStringExtras.h88 inline bool isDigit(char C) { return C >= '0' && C <= '9'; } in isDigit() function
100 inline bool isAlnum(char C) { return isAlpha(C) || isDigit(C); } in isAlnum()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dparser.d594 while (std.ascii.isDigit(front)) in parseDecimal()
681 front == '_' || std.ascii.isDigit(front))) in parseRegex()
801 enforce(std.ascii.isDigit(front), "First number required in repetition"); in parseQuantifier()
808 if (std.ascii.isDigit(front)) in parseQuantifier()
975 while (nref < maxBackref && !empty && std.ascii.isDigit(front)) in parseEscape()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DCharInfo.h93 LLVM_READONLY inline bool isDigit(unsigned char c) { in isDigit() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/internal/
H A Dread.d27 import std.ascii : isDigit; in skipData()
38 while (!input.empty && isDigit(input.front)) input.popFront(); in skipData()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp194 while (isDigit(*IDEnd)) in EmitMSInlineAsmStr()
362 while (isDigit(*IDEnd)) in EmitGCCInlineAsmStr()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dparser.d680 while (std.ascii.isDigit(current)) in parseDecimal()
775 current == '_' || std.ascii.isDigit(current))) in parseRegex()
894 enforce(std.ascii.isDigit(current), "First number required in repetition"); in parseQuantifier()
901 if (std.ascii.isDigit(current)) in parseQuantifier()
1482 while (nref < maxBackref && next() && std.ascii.isDigit(current)) in parseEscape()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLiteralSupport.h162 while (ptr != ThisTokEnd && (isDigit(*ptr) || isDigitSeparator(*ptr))) in SkipDigits()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Djson.d706 import std.ascii : isWhite, isDigit, isHexDigit, toUpper, toLower;
815 val += (isDigit(hex) ? hex - '0' : hex - ('A' - 10)) << (4 * i); in parseWChar()
986 if (!isDigit(c)) error("Digit expected"); in parseValue()
990 if (isDigit(peekChar())) in parseValue()
H A Dfunctional.d279 import std.ascii : isDigit; in _ctfeSkipInteger()
284 if (front.isDigit()) in _ctfeSkipInteger()
H A Dformat.d996 import std.ascii : isDigit, isPunctuation, isAlpha;
1319 if (isDigit(trailing[++i]))
1381 else if (isDigit(trailing[i]))
1404 if (isDigit(trailing[++i]))
1428 else if (isDigit(trailing[i]))
4799 import std.ascii : isDigit;
4809 while (!input.empty && isDigit(input.front)) input.popFront();
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Djson.d934 import std.ascii : isDigit, isHexDigit, toUpper, toLower;
1081 val += (isDigit(hex) ? hex - '0' : hex - ('A' - 10)) << (4 * i);
1264 if (!isDigit(c)) error("Digit expected");
1268 if (isDigit(peekChar()))
1285 if (isDigit(peekChar()))
H A Dxml.d219 bool isDigit(dchar c) @safe @nogc pure nothrow in isDigit() function
232 assert(isDigit(c) == lookup(DigitTable, c)); in debug()
2259 if (c == '-' || c == '.' || isDigit(c) in checkName()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenConcatenation.cpp269 isDigit(FirstChar) || in AvoidConcat()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp483 while (!s.empty() && isDigit(s.front())) { in eatNumber()
604 if (isDigit(TC)) { in parseItaniumParam()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h1926 bool IsDigitPart = isDigit(Curr[0]); in RecordParts()
1928 bool IsDigit = isDigit(Curr[I]); in RecordParts()
1933 IsDigitPart = isDigit(Curr[I]); in RecordParts()

123