Home
last modified time | relevance | path

Searched refs:isHexDigit (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/unittests/Basic/
DCharInfoTest.cpp181 TEST(CharInfoTest, isHexDigit) { in TEST() argument
182 EXPECT_TRUE(isHexDigit('0')); in TEST()
183 EXPECT_TRUE(isHexDigit('9')); in TEST()
185 EXPECT_TRUE(isHexDigit('a')); in TEST()
186 EXPECT_TRUE(isHexDigit('A')); in TEST()
188 EXPECT_FALSE(isHexDigit('z')); in TEST()
189 EXPECT_FALSE(isHexDigit('Z')); in TEST()
191 EXPECT_FALSE(isHexDigit('.')); in TEST()
192 EXPECT_FALSE(isHexDigit('_')); in TEST()
194 EXPECT_FALSE(isHexDigit('/')); in TEST()
[all …]
/external/llvm-project/clang/unittests/Basic/
DCharInfoTest.cpp180 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 …]
/external/llvm-project/clang/lib/Format/
DEncoding.h89 inline bool isHexDigit(char c) { in isHexDigit() function
109 while (I < Text.size() && isHexDigit(Text[I])) in getEscapeSequenceLength()
/external/clang/lib/Format/
DEncoding.h108 inline bool isHexDigit(char c) { in isHexDigit() function
128 while (I < Text.size() && isHexDigit(Text[I])) in getEscapeSequenceLength()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java206 Lexer.isHexDigit(lexer.lookAhead(1)) && in isEscaped()
207 Lexer.isHexDigit(lexer.lookAhead(2)); in isEscaped()
222 && Lexer.isHexDigit(next1) in escaped()
223 && Lexer.isHexDigit(next2)) { in escaped()
421 || Lexer.isHexDigit(la)) { in local_number()
455 Lexer.isHexDigit(c)// see RFC3966 in parseTelephoneNumber()
/external/llvm-project/mlir/lib/Parser/
DToken.cpp120 assert(llvm::isHexDigit(c1) && llvm::isHexDigit(c2) && "invalid escape"); in getStringValue()
DLexer.cpp388 else if (llvm::isHexDigit(*curPtr) && llvm::isHexDigit(curPtr[1])) in lexString()
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java108 if (LexerCore.isHexDigit(la) || la == '.' || la == ':' in ipv6Reference()
149 if (LexerCore.isHexDigit(la) || la == '.' in ipv6Reference()
DStringTokenizer.java75 public static boolean isHexDigit(char ch) { in isHexDigit() method in StringTokenizer
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp106 while (isHexDigit(*CurPtr)) in LexHexFloatLiteral()
259 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
293 while (isHexDigit(*CurPtr)) { in LexDigit()
387 while (isHexDigit(CurPtr[0])) in LexDigit()
/external/llvm-project/llvm/lib/ObjectYAML/
DYAML.cpp34 if (!llvm::isHexDigit(Scalar[I])) in input()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DYAML.cpp34 if (!llvm::isHexDigit(Scalar[I])) in input()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolID.cpp40 if (!llvm::isHexDigit(C)) in fromStr()
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmLexer.cpp115 while (isHexDigit(*CurPtr)) in LexHexFloatLiteral()
268 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
327 while (isHexDigit(*CurPtr)) { in LexDigit()
481 while (isHexDigit(CurPtr[0])) in LexDigit()
/external/llvm-project/clang-tools-extra/clangd/
DURI.cpp132 if (*I == '%' && I + 2 < Content.end() && llvm::isHexDigit(*(I + 1)) && in percentDecode()
133 llvm::isHexDigit(*(I + 2))) { in percentDecode()
/external/clang/lib/Lex/
DLiteralSupport.cpp133 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessCharEscape()
272 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessUCNEscape()
699 if (isHexDigit(*s) && *s != 'e' && *s != 'E') { in ParseDecimalOrOctalCommon()
787 if ((c1 == 'x' || c1 == 'X') && (isHexDigit(s[1]) || s[1] == '.')) { in ParseNumberStartingWithZero()
864 } else if (isHexDigit(*s)) { in ParseNumberStartingWithZero()
/external/llvm-project/clang/include/clang/Basic/
DCharInfo.h123 LLVM_READONLY inline bool isHexDigit(unsigned char c) { in isHexDigit() function
/external/clang/include/clang/Basic/
DCharInfo.h124 LLVM_READONLY static inline bool isHexDigit(unsigned char c) { in isHexDigit() function
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x500/style/
DIETFUtils.java87 if (escaped && isHexDigit(c)) in unescape()
115 private static boolean isHexDigit(char c) in isHexDigit() method in IETFUtils
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DIETFUtils.java83 if (escaped && isHexDigit(c)) in unescape()
111 private static boolean isHexDigit(char c) in isHexDigit() method in IETFUtils
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x500/style/
DIETFUtils.java87 if (escaped && isHexDigit(c)) in unescape()
115 private static boolean isHexDigit(char c) in isHexDigit() method in IETFUtils
/external/llvm-project/clang/lib/Lex/
DLiteralSupport.cpp146 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessCharEscape()
285 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessUCNEscape()
768 if (isHexDigit(*s) && *s != 'e' && *s != 'E' && in ParseDecimalOrOctalCommon()
867 if ((c1 == 'x' || c1 == 'X') && (isHexDigit(s[1]) || s[1] == '.')) { in ParseNumberStartingWithZero()
947 } else if (isHexDigit(*s) && in ParseNumberStartingWithZero()
/external/clang/include/clang/Lex/
DLiteralSupport.h129 while (ptr != ThisTokEnd && (isHexDigit(*ptr) || isDigitSeparator(*ptr))) in SkipHexDigits()
/external/llvm-project/clang/include/clang/Lex/
DLiteralSupport.h144 while (ptr != ThisTokEnd && (isHexDigit(*ptr) || isDigitSeparator(*ptr))) in SkipHexDigits()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DParser.cpp221 while (Length < Code.size() && isHexDigit(Code[Length])) in consumeNumberLiteral()
227 if (c == '-' || c == '+' || c == '.' || isHexDigit(c)) { in consumeNumberLiteral()

12