Searched refs:getNumericValue (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | CharacterTest.java | 665 assertEquals("Returned incorrect numeric value 1", 1, Character.getNumericValue('1')); 666 assertEquals("Returned incorrect numeric value 2", 15, Character.getNumericValue('F')); 667 assertEquals("Returned incorrect numeric value 3", -1, Character.getNumericValue('\u221e')); 668 assertEquals("Returned incorrect numeric value 4", -2, Character.getNumericValue('\u00be')); 670 Character.getNumericValue('\u2182')); 671 assertEquals("Returned incorrect numeric value 6", 2, Character.getNumericValue('\uff12')); 678 assertEquals(1, Character.getNumericValue((int) '1')); 679 assertEquals(15, Character.getNumericValue((int) 'F')); 680 assertEquals(-1, Character.getNumericValue((int) '\u221e')); 681 assertEquals(-2, Character.getNumericValue((int) '\u00be')); [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 96 Character.getNumericValue(chars[ch]); in timeGetNumericValue() 102 Character.getNumericValue((int) chars[ch]); in timeGetNumericValue()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Character.java | 6879 public static int getNumericValue(char ch) { in getNumericValue() method in Character 6880 return getNumericValue((int)ch); in getNumericValue() 6918 public static int getNumericValue(int codePoint) { in getNumericValue() method in Character
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 169 public static int getNumericValue(char ch) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character 171 public static int getNumericValue(int codePoint) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 360 public static int getNumericValue(char ch) { in getNumericValue() method in Character 364 public static int getNumericValue(int codePoint) { in getNumericValue() method in Character
|