Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DVersion.java276 Character.isDigit(cs.charAt(0)) && cs.charAt(1) == '.' && in initVersions()
277 Character.isDigit(cs.charAt(2)) && cs.charAt(3) == '.' && in initVersions()
278 Character.isDigit(cs.charAt(4))) { in initVersions()
285 if (Character.isDigit(cs.charAt(1)) && in initVersions()
286 Character.isDigit(cs.charAt(2)) && in initVersions()
287 Character.isDigit(cs.charAt(3))) in initVersions()
290 } else if (Character.isDigit(cs.charAt(1)) && in initVersions()
291 Character.isDigit(cs.charAt(2))) in initVersions()
320 Character.isDigit(s.charAt(1)) && in initVersions()
321 Character.isDigit(s.charAt(2))) { in initVersions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java872 assertTrue("Digit returned false", Character.isDigit('1'));
873 assertFalse("Non-Digit returned false", Character.isDigit('A'));
880 assertTrue(Character.isDigit((int) '1'));
881 assertFalse(Character.isDigit((int) 'A'));
883 assertTrue(Character.isDigit(0x0030));
884 assertTrue(Character.isDigit(0x0035));
885 assertTrue(Character.isDigit(0x0039));
887 assertTrue(Character.isDigit(0x0660));
888 assertTrue(Character.isDigit(0x0665));
889 assertTrue(Character.isDigit(0x0669));
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java112 Character.isDigit(chars[ch]); in timeIsDigit()
118 Character.isDigit((int) chars[ch]); in timeIsDigit()
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java484 return isAlpha(c) || isDigit(c) || c == '_' || c == '-'; in isValid()
491 private static boolean isDigit(char c) { in isDigit() method in Attributes.Name
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java2183 if (!isDigit(c)) { in subParseNumericZone()
2188 if (isDigit(c)) { in subParseNumericZone()
2230 if (!isDigit(c)) { in subParseNumericZone()
2235 if (!isDigit(c)) { in subParseNumericZone()
2252 private boolean isDigit(char c) { in isDigit() method
2382 && Character.isDigit(text.charAt(actualStart)) in subParse()
2383 && Character.isDigit(text.charAt(actualStart + 1))) { in subParse()
/libcore/ojluni/src/main/java/java/sql/
DTimestamp.java250 if (!Character.isDigit(nanos_s.charAt(0))) in valueOf()
/libcore/luni/src/test/java/libcore/java/lang/
DCharacterTest.java200 assertEquals(m.invoke(null, i), Character.isDigit(i)); in test_isDigit_against_icu4c()
/libcore/ojluni/src/main/java/java/lang/
DCharacter.java5699 public static boolean isDigit(char ch) { in isDigit() method in Character
5700 return isDigit((int)ch); in isDigit()
5739 public static boolean isDigit(int codePoint) { in isDigit() method in Character
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java212 public static boolean isDigit(char ch) { in isDigit() method in Character
216 public static boolean isDigit(int codePoint) { in isDigit() method in Character
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java109 public static boolean isDigit(char ch) { throw new RuntimeException("Stub!"); } in isDigit() method in Character
111 public static boolean isDigit(int codePoint) { throw new RuntimeException("Stub!"); } in isDigit() method in Character
/libcore/ojluni/src/main/java/java/util/
DScanner.java2296 if (Character.isDigit(nextChar)) { in processFloatToken()
DFormatter.java2637 return !isEnd() && Character.isDigit(peek()); in nextIsInt()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java1109 if (Arrays.binarySearch(chars, i) >= 0 || Character.isDigit(i) in test_formatLjava_lang_String$Ljava_lang_Object_Flag()