/external/clang/unittests/Basic/ |
D | CharInfoTest.cpp | 160 TEST(CharInfoTest, isDigit) { in TEST() argument 161 EXPECT_TRUE(isDigit('0')); in TEST() 162 EXPECT_TRUE(isDigit('9')); in TEST() 164 EXPECT_FALSE(isDigit('a')); in TEST() 165 EXPECT_FALSE(isDigit('A')); in TEST() 167 EXPECT_FALSE(isDigit('z')); in TEST() 168 EXPECT_FALSE(isDigit('Z')); in TEST() 170 EXPECT_FALSE(isDigit('.')); in TEST() 171 EXPECT_FALSE(isDigit('_')); in TEST() 173 EXPECT_FALSE(isDigit('/')); in TEST() [all …]
|
/external/llvm-project/clang/unittests/Basic/ |
D | CharInfoTest.cpp | 159 TEST(CharInfoTest, isDigit) { in TEST() argument 160 EXPECT_TRUE(isDigit('0')); in TEST() 161 EXPECT_TRUE(isDigit('9')); in TEST() 163 EXPECT_FALSE(isDigit('a')); in TEST() 164 EXPECT_FALSE(isDigit('A')); in TEST() 166 EXPECT_FALSE(isDigit('z')); in TEST() 167 EXPECT_FALSE(isDigit('Z')); in TEST() 169 EXPECT_FALSE(isDigit('.')); in TEST() 170 EXPECT_FALSE(isDigit('_')); in TEST() 172 EXPECT_FALSE(isDigit('/')); in TEST() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 180 if (!(isDigit(0) && isDigit(1) && isDigit(2) && isDigit(3))) in ASN1GeneralizedTime() 455 return isDigit(12) && isDigit(13); in hasSeconds() 460 return isDigit(10) && isDigit(11); in hasMinutes() 463 private boolean isDigit(int pos) in isDigit() method in ASN1GeneralizedTime
|
D | ASN1UTCTime.java | 169 if (!(isDigit(0) && isDigit(1))) in ASN1UTCTime() 288 private boolean isDigit(int pos) in isDigit() method in ASN1UTCTime
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 178 if (!(isDigit(0) && isDigit(1) && isDigit(2) && isDigit(3))) in ASN1GeneralizedTime() 453 return isDigit(12) && isDigit(13); in hasSeconds() 458 return isDigit(10) && isDigit(11); in hasMinutes() 461 private boolean isDigit(int pos) in isDigit() method in ASN1GeneralizedTime
|
D | ASN1UTCTime.java | 167 if (!(isDigit(0) && isDigit(1))) in ASN1UTCTime() 286 private boolean isDigit(int pos) in isDigit() method in ASN1UTCTime
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 180 if (!(isDigit(0) && isDigit(1) && isDigit(2) && isDigit(3))) in ASN1GeneralizedTime() 455 return isDigit(12) && isDigit(13); in hasSeconds() 460 return isDigit(10) && isDigit(11); in hasMinutes() 463 private boolean isDigit(int pos) in isDigit() method in ASN1GeneralizedTime
|
D | ASN1UTCTime.java | 169 if (!(isDigit(0) && isDigit(1))) in ASN1UTCTime() 288 private boolean isDigit(int pos) in isDigit() method in ASN1UTCTime
|
/external/nist-sip/java/gov/nist/core/ |
D | StringTokenizer.java | 78 isDigit(ch); in isHexDigit() 90 public static boolean isDigit(char ch) { in isDigit() method in StringTokenizer 95 return Character.isDigit(ch); in isDigit() 108 Character.isDigit(ch); in isAlphaDigit()
|
D | LexerCore.java | 189 } else if (isDigit(nextChar)) { in peekNextToken() 240 if (!isDigit(next)) in match() 497 isValid = isDigit(nextChar); in consumeValidChars() 664 if (!isDigit(lookAhead(0))) { in number() 672 if (isDigit(next)) { in number()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-string-to-double.cpp | 157 static bool isDigit(int x, int radix) { in isDigit() function 204 if (!isDigit(**it, base)) { in Advance() 211 if (**it == separator && isDigit(*(*it + 1), base)) { in Advance() 234 while (isDigit(*current, 16)) { in IsHexFloatString() 240 while (isDigit(*current, 16)) { in IsHexFloatString() 251 if (!isDigit(*current, 10)) return false; in IsHexFloatString() 253 while (isDigit(*current, 10)) { in IsHexFloatString() 351 if (!isDigit(**current, radix)) break; in RadixStringToIeee() 541 if (!parse_as_hex_float && !isDigit(*current, 16)) { in StringToIeee()
|
D | collationdata.h | 76 UBool isDigit(UChar32 c) const { in isDigit() function 82 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | StringLiteralWithEmbeddedNulCheck.cpp | 68 isDigit(SL->getCodeUnit(Offset + 2)) && in check() 69 isDigit(SL->getCodeUnit(Offset + 3))) { in check()
|
/external/deqp/framework/delibs/decpp/ |
D | deStringUtil.cpp | 153 bool isDigit (char c) in isDigit() function 203 DE_TEST_ASSERT(isDigit('0')); in StringUtil_selfTest() 204 DE_TEST_ASSERT(!isDigit('a')); in StringUtil_selfTest()
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 78 while (isDigit(*CurPtr)) in LexFloatLiteral() 91 while (isDigit(*CurPtr)) in LexFloatLiteral() 136 while (isDigit(*CurPtr)) in LexHexFloatLiteral() 154 if (CurPtr[-1] == '.' && isDigit(*CurPtr)) { in LexIdentifier() 156 while (isDigit(*CurPtr)) in LexIdentifier() 261 if (isDigit(*LookAhead)) { in doHexLookAhead() 452 if (!isDigit(CurPtr[0])) { in LexDigit() 727 if (!isDigit(CurChar) && in LexToken()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 69 while (isDigit(*CurPtr)) in LexFloatLiteral() 82 while (isDigit(*CurPtr)) in LexFloatLiteral() 127 while (isDigit(*CurPtr)) in LexHexFloatLiteral() 145 if (CurPtr[-1] == '.' && isDigit(*CurPtr)) { in LexIdentifier() 147 while (isDigit(*CurPtr)) in LexIdentifier() 252 if (isDigit(*LookAhead)) { in doHexLookAhead() 358 if (!isDigit(CurPtr[0])) { in LexDigit()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | URI.java | 693 if (!isDigit(portStr.charAt(i))) in initializeAuthority() 1460 if (index + 1 < addrLength && isDigit(p_address.charAt(index + 1))) in isWellFormedAddress() 1474 if (!isDigit(address.charAt(i - 1)) in isWellFormedAddress() 1475 || (i + 1 < addrLength &&!isDigit(address.charAt(i + 1)))) in isWellFormedAddress() 1482 else if (!isDigit(testChar)) in isWellFormedAddress() 1533 private static boolean isDigit(char p_char) in isDigit() method in URI 1548 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f') in isHex() 1574 return (isAlpha(p_char) || isDigit(p_char)); in isAlphanum()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | URI.java | 713 if (!isDigit(portStr.charAt(i))) in initializeAuthority() 1480 if (index + 1 < addrLength && isDigit(p_address.charAt(index + 1))) in isWellFormedAddress() 1494 if (!isDigit(address.charAt(i - 1)) in isWellFormedAddress() 1495 || (i + 1 < addrLength &&!isDigit(address.charAt(i + 1)))) in isWellFormedAddress() 1502 else if (!isDigit(testChar)) in isWellFormedAddress() 1553 private static boolean isDigit(char p_char) in isDigit() method in URI 1568 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f') in isHex() 1594 return (isAlpha(p_char) || isDigit(p_char)); in isAlphanum()
|
/external/caliper/examples/src/main/java/examples/ |
D | CharacterBenchmark.java | 104 @Benchmark void isDigit(int reps) { in isDigit() method in CharacterBenchmark 108 Character.isDigit(chars[ch]); in isDigit() 114 Character.isDigit((int) chars[ch]); in isDigit()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCompare.java | 62 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main() 63 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterCompare.java | 65 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main() 66 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
|
/external/icu/libicu/cts_headers/ |
D | collationdata.h | 76 UBool isDigit(UChar32 c) const { in isDigit() function 82 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | StringRef.cpp | 67 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() 408 if (Str[0] == '0' && Str.size() > 1 && isDigit(Str[1])) { in GetAutoSenseRadix()
|
/external/llvm-project/llvm/lib/Support/ |
D | StringRef.cpp | 67 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()
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | RubyTarget.java | 162 if ( Character.isDigit( next ) || Character.isWhitespace( next ) ) { in snakecase() 177 } else if ( Character.isDigit( cur ) ) { in snakecase() 261 } else if ( Character.isDigit( cur ) ) { in camelcase()
|