| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | CharInfoTest.cpp | 180 TEST(CharInfoTest, isHexDigit) { in TEST() argument 181 EXPECT_TRUE(isHexDigit('0')); in TEST() 182 EXPECT_TRUE(isHexDigit('9')); in TEST() 184 EXPECT_TRUE(isHexDigit('a')); in TEST() 185 EXPECT_TRUE(isHexDigit('A')); in TEST() 187 EXPECT_FALSE(isHexDigit('z')); in TEST() 188 EXPECT_FALSE(isHexDigit('Z')); in TEST() 190 EXPECT_FALSE(isHexDigit('.')); in TEST() 191 EXPECT_FALSE(isHexDigit('_')); in TEST() 193 EXPECT_FALSE(isHexDigit('/')); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | SourceMgrUtils.cpp | 33 else if (llvm::isHexDigit(*curPtr) && llvm::isHexDigit(curPtr[1])) in lexLocStringTok()
|
| H A D | Protocol.cpp | 108 if (*i == '%' && i + 2 < content.end() && llvm::isHexDigit(*(i + 1)) && in percentDecode() 109 llvm::isHexDigit(*(i + 2))) { in percentDecode()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | Encoding.h | 89 inline bool isHexDigit(char c) { in isHexDigit() function 109 while (I < Text.size() && isHexDigit(Text[I])) in getEscapeSequenceLength()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Lexer.cpp | 64 assert(llvm::isHexDigit(c1) && llvm::isHexDigit(c2) && "invalid escape"); in getStringValue() 398 } else if (llvm::isHexDigit(*curPtr) && llvm::isHexDigit(curPtr[1])) { in lexString()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmLexer.cpp | 116 while (isHexDigit(*CurPtr)) in LexHexFloatLiteral() 277 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead() 336 while (isHexDigit(*CurPtr)) { in LexDigit() 436 while (isHexDigit(CurPtr[0])) in LexDigit() 522 while (isHexDigit(CurPtr[0])) in LexDigit() 827 if (LexMotorolaIntegers && isHexDigit(*CurPtr)) in LexToken()
|
| H A D | AsmParser.cpp | 3055 if (i + 1 >= length || !isHexDigit(Str[i + 1])) in parseEscapedString() 3061 while (i + 1 < length && isHexDigit(Str[i + 1])) in parseEscapedString()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Token.cpp | 120 assert(llvm::isHexDigit(c1) && llvm::isHexDigit(c2) && "invalid escape"); in getStringValue()
|
| H A D | Lexer.cpp | 427 else if (llvm::isHexDigit(*curPtr) && llvm::isHexDigit(curPtr[1])) in lexString()
|
| H A D | AsmParserState.cpp | 139 else if (llvm::isHexDigit(*curPtr) && llvm::isHexDigit(curPtr[1])) in lexLocStringTok()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolID.cpp | 40 if (!llvm::isHexDigit(C)) in fromStr()
|
| H A D | YAMLSerialization.cpp | 324 llvm::all_of(HexString, llvm::isHexDigit)) { in denormalize()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | YAML.cpp | 33 if (!llvm::all_of(Scalar, llvm::isHexDigit)) in input()
|
| H A D | MinidumpYAML.cpp | 185 if (!all_of(Scalar, isHexDigit)) in input()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | URI.cpp | 130 if (*I == '%' && I + 2 < Content.end() && llvm::isHexDigit(*(I + 1)) && in percentDecode() 131 llvm::isHexDigit(*(I + 2))) { in percentDecode()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | CharInfo.h | 129 LLVM_READONLY inline bool isHexDigit(unsigned char c) { in isHexDigit() function
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | LiteralSupport.h | 153 while (ptr != ThisTokEnd && (isHexDigit(*ptr) || isDigitSeparator(*ptr))) in SkipHexDigits()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 157 } else if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessCharEscape() 411 } else if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessNumericUCNEscape() 1120 if (isHexDigit(*s) && *s != 'e' && *s != 'E' && in ParseDecimalOrOctalCommon() 1219 if ((c1 == 'x' || c1 == 'X') && (isHexDigit(s[1]) || s[1] == '.')) { in ParseNumberStartingWithZero() 1299 } else if (isHexDigit(*s) && in ParseNumberStartingWithZero()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 178 static inline bool isHexDigit(const char C) { in isHexDigit() function 977 if (!isHexDigit(look())) in parseHexNumber()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 223 while (Length < Code.size() && isHexDigit(Code[Length])) in consumeNumberLiteral() 229 if (c == '-' || c == '+' || c == '.' || isHexDigit(c)) { in consumeNumberLiteral()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/ |
| H A D | CXX.cpp | 86 while (Hex && LastLetter < Text.size() && isHexDigit(Text[LastLetter])) in numKind()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringExtras.h | 99 inline bool isHexDigit(char C) { return hexDigitValue(C) != ~0U; } in isHexDigit() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Markup.cpp | 140 return llvm::all_of(Content, llvm::isHexDigit); in needsLeadingEscape()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CommentLexer.cpp | 36 return isHexDigit(C); in isHTMLHexCharacterReferenceCharacter()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/ |
| H A D | BreakpadRecords.cpp | 110 if (!all_of(str, llvm::isHexDigit)) in parseModuleId()
|