Home
last modified time | relevance | path

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

12345

/external/clang/unittests/Basic/
DCharInfoTest.cpp160 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/nist-sip/java/gov/nist/core/
DStringTokenizer.java78 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()
DLexerCore.java189 } 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1GeneralizedTime.java422 return isDigit(12) && isDigit(13); in hasSeconds()
427 return isDigit(10) && isDigit(11); in hasMinutes()
430 private boolean isDigit(int pos) in isDigit() method in ASN1GeneralizedTime
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1GeneralizedTime.java424 return isDigit(12) && isDigit(13); in hasSeconds()
429 return isDigit(10) && isDigit(11); in hasMinutes()
432 private boolean isDigit(int pos) in isDigit() method in ASN1GeneralizedTime
/external/deqp/framework/delibs/decpp/
DdeStringUtil.cpp153 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()
DdeStringUtil.hpp56 bool isDigit (char c);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp72 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()
250 if (isDigit(*LookAhead)) { in doLookAhead()
352 if (!isDigit(CurPtr[0])) { in LexDigit()
/external/syzkaller/vendor/github.com/ianlancetaylor/demangle/
Ddemangle.go167 …for len(st.str) > 1 && st.str[0] == '.' && (isLower(st.str[1]) || st.str[1] == '_' || isDigit(st.s…
520 if isDigit(c) || isLower(c) || c == 'U' || c == 'L' {
617 if isDigit(c) {
698 if len(st.str) == 0 || !isDigit(st.str[0]) {
702 for len(st.str) > 0 && isDigit(st.str[0]) {
806 if code[0] == 'v' && isDigit(code[1]) {
1176 if isDigit(c2) || c2 == '_' || isUpper(c2) {
1283 if len(st.str) > 0 && isDigit(st.str[0]) {
1289 if len(st.str) > 0 && isDigit(st.str[0]) {
1547 } else if isDigit(st.str[0]) {
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DURI.java693 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/
DURI.java713 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/pdfium/fxbarcode/datamatrix/
DBC_ASCIIEncoder.cpp90 if (CBC_HighLevelEncoder::isDigit(digit1) && in encodeASCIIDigits()
91 CBC_HighLevelEncoder::isDigit(digit2)) { in encodeASCIIDigits()
DBC_HighLevelEncoder.cpp181 if (isDigit(c)) { in lookAheadTest()
275 bool CBC_HighLevelEncoder::isDigit(wchar_t ch) { in isDigit() function in CBC_HighLevelEncoder
288 while (isDigit(ch) && idx < len) { in determineConsecutiveDigitCount()
DBC_HighLevelEncoder.h35 static bool isDigit(wchar_t ch);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java62 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
63 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder.cpp318 bool CBC_PDF417HighLevelEncoder::isDigit(wchar_t ch) { in isDigit() function in CBC_PDF417HighLevelEncoder
344 while (isDigit(ch) && idx < len) { in determineConsecutiveDigitCount()
362 while (numericCount < 13 && isDigit(ch) && idx < len) { in determineConsecutiveTextCount()
393 while (numericCount < 13 && isDigit(ch)) { in determineConsecutiveBinaryCount()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCompare.java65 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
66 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
/external/caliper/examples/src/main/java/examples/
DCharacterBenchmark.java104 @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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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()
403 if (Str[0] == '0' && Str.size() > 1 && isDigit(Str[1])) { in GetAutoSenseRadix()
/external/icu/icu4c/source/i18n/
Dcollationdata.h76 UBool isDigit(UChar32 c) const { in isDigit() function
82 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java91 if (cpZero == -1 || !UCharacter.isDigit(cpZero) || UCharacter.digit(cpZero) != 0) { in DecimalMatcher()
174 if (UCharacter.isDigit(cp)) { in match()
459 if (segment.startsWith(separatorSet) || UCharacter.isDigit(segment.getCodePoint())) { in smokeTest()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java93 if (cpZero == -1 || !UCharacter.isDigit(cpZero) || UCharacter.digit(cpZero) != 0) { in DecimalMatcher()
176 if (UCharacter.isDigit(cp)) { in match()
461 if (segment.startsWith(separatorSet) || UCharacter.isDigit(segment.getCodePoint())) { in smokeTest()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DRubyTarget.java162 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()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp132 while (!LineStr.empty() && isDigit(LineStr[0])) { in LayoutOverrideSource()
135 while (Idx < LineStr.size() && isDigit(LineStr[Idx])) in LayoutOverrideSource()
/external/clang/lib/Basic/
DDiagnostic.cpp433 if (!isDigit(*I) && !isPunctuation(*I)) { in ScanFormat()
434 for (I++; I != E && !isDigit(*I) && *I != '{'; I++) ; in ScanFormat()
702 if (!isDigit(DiagStr[0])) { in FormatDiagnostic()
721 assert(isDigit(*DiagStr) && "Invalid format for argument in diagnostic"); in FormatDiagnostic()
729 assert(*DiagStr == ',' && isDigit(*(DiagStr + 1)) && in FormatDiagnostic()

12345