Home
last modified time | relevance | path

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

123

/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/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/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/libnfc-nci/halimpl/bcm2079x/adaptation/
Dconfig.cpp105 inline bool isDigit(char c, int base) in isDigit() function
230 else if (isDigit(c, 10)) in readConfig()
256 else if (isDigit(c, 10)) in readConfig()
271 if (isDigit(c, base)) in readConfig()
/external/libnfc-nci/src/adaptation/
Dconfig.cpp105 inline bool isDigit(char c, int base) in isDigit() function
241 else if (isDigit(c, 10)) in readConfig()
267 else if (isDigit(c, 10)) in readConfig()
282 if (isDigit(c, base)) in readConfig()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java60 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
61 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
/external/icu/icu4c/source/i18n/
Dcollationdata.h74 UBool isDigit(UChar32 c) const { in isDigit() function
80 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/external/v8/src/
Dconversions-inl.h183 if (current == end || !isDigit(*current, radix)) break; in InternalStringToIntDouble()
296 if (!leading_zero && !isDigit(*current, radix)) { in InternalStringToInt()
499 if (current == end || !isDigit(*current, 16) || sign != NONE) { in InternalStringToDouble()
512 if (current == end || !isDigit(*current, 8) || sign != NONE) { in InternalStringToDouble()
Dconversions.h30 inline bool isDigit(int x, int radix) { in isDigit() function
/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpConfig.cpp142 inline bool isDigit(char c, int base) in isDigit() function
269 else if (isDigit(c, 10)) in readConfig()
296 else if (isDigit(c, 10)) in readConfig()
311 if (isDigit(c, base)) in readConfig()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DRubyTarget.java161 if ( Character.isDigit( next ) || Character.isWhitespace( next ) ) { in snakecase()
176 } else if ( Character.isDigit( cur ) ) { in snakecase()
260 } 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.cpp419 if (!isDigit(*I) && !isPunctuation(*I)) { in ScanFormat()
420 for (I++; I != E && !isDigit(*I) && *I != '{'; I++) ; in ScanFormat()
688 if (!isDigit(DiagStr[0])) { in FormatDiagnostic()
707 assert(isDigit(*DiagStr) && "Invalid format for argument in diagnostic"); in FormatDiagnostic()
715 assert(*DiagStr == ',' && isDigit(*(DiagStr + 1)) && in FormatDiagnostic()
DTargetInfo.cpp347 if (isDigit(Name[0])) { in isValidGCCRegisterName()
403 if (isDigit(Name[0])) { in getNormalizedGCCRegisterName()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextUtils.java60 if (!Character.isDigit(str.charAt(i))) { in isDigitsOnly()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DLexer.java348 isNum = Character.isDigit(c); in tokenize()
352 isNum = Character.isDigit(c); in tokenize()
/external/tagsoup/templates/org/ccil/cowan/tagsoup/
DHTMLScanner.java282 else if (theState == S_NCR && Character.isDigit(ch1)) { in scan()
286 else if (theState == S_XNCR && (Character.isDigit(ch1) || "abcdefABCDEF".indexOf(ch1) != -1)) { in scan()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationData.java49 boolean isDigit(int c) { in isDigit() method in CollationData
55 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/external/clang/include/clang/Basic/
DCharInfo.h94 LLVM_READONLY static inline bool isDigit(unsigned char c) { in isDigit() function
/external/clang/lib/Driver/
DMSVCToolChain.cpp157 while (*sp && !isDigit(*sp)) in getSystemRegistryString()
162 while (*ep && (isDigit(*ep) || (*ep == '.'))) in getSystemRegistryString()
/external/icu/icu4c/source/test/perf/charperf/
Dcharperf.h134 inline void isDigit(UChar32 ch) in isDigit() function
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DBigFractionFormat.java276 Character.isDigit(source.charAt(end))) { in parseNextBigInteger()

123