Home
last modified time | relevance | path

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

12

/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DCharacterTest.java926 assertTrue("Digit returned false", Character.isDigit('1'));
927 assertTrue("Non-Digit returned false", !Character.isDigit('A'));
934 assertTrue(Character.isDigit((int) '1'));
935 assertFalse(Character.isDigit((int) 'A'));
937 assertTrue(Character.isDigit(0x0030));
938 assertTrue(Character.isDigit(0x0035));
939 assertTrue(Character.isDigit(0x0039));
941 assertTrue(Character.isDigit(0x0660));
942 assertTrue(Character.isDigit(0x0665));
943 assertTrue(Character.isDigit(0x0669));
[all …]
/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/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/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/v8/src/
Dconversions.h48 inline bool isDigit(int x, int radix) { in isDigit() function
Dconversions-inl.h188 if (current == end || !isDigit(*current, radix)) break; in InternalStringToIntDouble()
305 if (!leading_zero && !isDigit(*current, radix)) { in InternalStringToInt()
501 if (current == end || !isDigit(*current, 16)) { in InternalStringToDouble()
/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()
DXPathParser.java1433 …lse if ((null != m_token) && ((('.' == m_tokenChar) && (m_token.length() > 1) && Character.isDigit( in PrimaryExpr()
1434 m_token.charAt(1))) || Character.isDigit(m_tokenChar))) in PrimaryExpr()
/external/webkit/Source/JavaScriptCore/wtf/unicode/wince/
DUnicodeWinCE.cpp70 bool isDigit(UChar c) in isDigit() function
DUnicodeWinCE.h128 bool isDigit(UChar);
/external/webkit/Source/JavaScriptCore/wtf/unicode/brew/
DUnicodeBrew.cpp62 bool isDigit(UChar c) in isDigit() function
DUnicodeBrew.h149 bool isDigit(UChar);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DSCPClient.java193 if (Character.isDigit(mode.charAt(i)) == false) in put()
/external/icu4c/test/intltest/
Dwbnf.cpp34 static inline UBool isDigit(char c) {return isInList(c, DIGIT_CHAR);} in isDigit() function
858 } else if (isDigit(c)){ state = IN_NUM; token.append(c); in getNextToken()
864 if (isDigit(c)){ in getNextToken()
879 if (isAlphabet(c) || isDigit(c)){ in getNextToken()
896 } else if (isAlphabet(c) || isDigit(c)){ in getNextToken()
/external/icu4c/test/perf/charperf/
Dcharperf.h134 inline void isDigit(UChar32 ch) in isDigit() function
Dcharperf.cpp143 return new CharPerfFunction(isDigit, MIN_, MAX_); in TestIsDigit()
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
DUnicodeGLib.h175 inline bool isDigit(UChar32 c) in isDigit() function
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DHTMLScanner.java444 else if (theState == S_NCR && Character.isDigit(ch1)) { in scan()
448 else if (theState == S_XNCR && (Character.isDigit(ch1) || "abcdefABCDEF".indexOf(ch1) != -1)) { in scan()
DParser.java574 Character.isDigit(ch) || in expandEntities()
1086 else if (Character.isDigit(ch) || ch == '-' || ch == '.') { in makeName()
/external/proguard/src/proguard/obfuscate/
DClassObfuscator.java232 if (!Character.isDigit(innerClassName.charAt(index))) in isNumericClassName()
/external/javassist/src/main/javassist/compiler/
DLex.java518 private static boolean isDigit(int c) { in isDigit() method in Lex
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java389 return Character.isDigit(nextChar) || in isDigitOrLeadingPlusSign()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java382 if (Lexer.isDigit(w) in base_phone_number()

12