/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerToStringTest.java | 37 int radix = 10; in testRadixOutOfRange() local 48 int radix = 2; in testRadix2Neg() local 59 int radix = 2; in testRadix2Pos() local 70 int radix = 16; in testRadix10Neg() local 81 int radix = 16; in testRadix10Pos() local 92 int radix = 16; in testRadix16Neg() local 103 int radix = 16; in testRadix16Pos() local 114 int radix = 24; in testRadix24Neg() local 125 int radix = 24; in testRadix24Pos() local 136 int radix = 36; in testRadix36Neg() local [all …]
|
D | BigIntegerConstructorsTest.java | 576 int radix = 45; in testConstructorStringException1() local 590 int radix = 10; in testConstructorStringException2() local 604 int radix = 34; in testConstructorStringException3() local 618 int radix = 20; in testConstructorStringException4() local 631 int radix = 2; in testConstructorStringRadix2() local 647 int radix = 8; in testConstructorStringRadix8() local 663 int radix = 10; in testConstructorStringRadix10() local 679 int radix = 16; in testConstructorStringRadix16() local 695 int radix = 36; in testConstructorStringRadix36() local 711 int radix = 36; in testConstructorStringRadix10Negative() local [all …]
|
/libcore/ojluni/src/test/java/lang/Integer/ |
D | ParsingTest.java | 142 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException() 156 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException() 170 private static void checkNull(int start, int end, int radix) { in checkNull() 184 private static void check(int expected, String val, int start, int end, int radix) { in check() 194 private static int Integer_parseInt(String val, int start, int end, int radix) { in Integer_parseInt()
|
/libcore/ojluni/src/test/java/lang/Long/ |
D | ParsingTest.java | 134 private static void checkNumberFormatException(String val, int start, int end, int radix) { in checkNumberFormatException() 148 private static void checkIndexOutOfBoundsException(String val, int start, int end, int radix) { in checkIndexOutOfBoundsException() 162 private static void checkNull(int start, int end, int radix) { in checkNull() 176 private static void check(long expected, String val, int start, int end, int radix) { in check() 186 private static long Long_parseLong(String val, int start, int end, int radix) { in Long_parseLong()
|
D | Unsigned.java | 325 testUnsignedOverflow(b.toString(radix), radix, b.compareTo(maxUnsignedLong) > 0); in testParseUnsignedLong() local 331 private static void testUnsignedOverflow(String s, int radix, boolean exception) { in testUnsignedOverflow() 420 private static long Long_parseUnsignedLong(String val, int start, int end, int radix) { in Long_parseUnsignedLong()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 38 @libcore.util.NonNull public static java.lang.String toString(int i, int radix) { throw new Runtime… in toString() 40 @libcore.util.NonNull public static java.lang.String toUnsignedString(int i, int radix) { throw new… in toUnsignedString() 52 public static int parseInt(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.Nu… in parseInt() 56 …re.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throws java.lan… in parseInt() 58 public static int parseUnsignedInt(@libcore.util.NonNull java.lang.String s, int radix) throws java… in parseUnsignedInt() 62 …re.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throws java.lan… in parseUnsignedInt() 64 …tic java.lang.Integer valueOf(@libcore.util.NonNull java.lang.String s, int radix) throws java.lan… in valueOf()
|
D | Long.annotated.java | 39 @libcore.util.NonNull public static java.lang.String toString(long i, int radix) { throw new Runtim… in toString() 41 @libcore.util.NonNull public static java.lang.String toUnsignedString(long i, int radix) { throw ne… in toUnsignedString() 53 public static long parseLong(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.… in parseLong() 57 …re.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throws java.lan… in parseLong() 59 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.String s, int radix) throws ja… in parseUnsignedLong() 63 …re.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throws java.lan… in parseUnsignedLong() 65 …static java.lang.Long valueOf(@libcore.util.NonNull java.lang.String s, int radix) throws java.lan… in valueOf()
|
D | Byte.annotated.java | 41 public static byte parseByte(@libcore.util.NonNull java.lang.String s, int radix) throws java.lang.… in parseByte() 45 …static java.lang.Byte valueOf(@libcore.util.NonNull java.lang.String s, int radix) throws java.lan… in valueOf()
|
D | Character.annotated.java | 165 public static int digit(char ch, int radix) { throw new RuntimeException("Stub!"); } in digit() 167 public static int digit(int codePoint, int radix) { throw new RuntimeException("Stub!"); } in digit() 191 public static char forDigit(int digit, int radix) { throw new RuntimeException("Stub!"); } in forDigit()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Integer.java | 156 public static String toString(int i, int radix) { in toString() 245 public static String toUnsignedString(int i, int radix) { in toUnsignedString() 409 int radix = 1 << shift; in formatUnsignedInt() local 429 int radix = 1 << shift; in formatUnsignedInt() local 440 int radix = 1 << shift; in formatUnsignedInt() local
|
D | Long.java | 142 public static String toString(long i, int radix) { in toString() 226 public static String toUnsignedString(long i, int radix) { in toUnsignedString() 433 int radix = 1 << shift; in formatUnsignedLong0() local 703 public static long parseLong(String s, int radix) in parseLong() 785 public static long parseLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseLong() 915 public static long parseUnsignedLong(String s, int radix) in parseUnsignedLong() 1031 public static long parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseUnsignedLong() 1168 public static Long valueOf(String s, int radix) throws NumberFormatException { in valueOf() 1292 int radix = 10; in decode() local
|
D | NumberFormatException.java | 63 static NumberFormatException forInputString(String s, int radix) { in forInputString()
|
D | Short.java | 138 public static short parseShort(String s, int radix) in parseShort() 194 public static Short valueOf(String s, int radix) in valueOf()
|
D | Byte.java | 198 public static byte parseByte(String s, int radix) in parseByte() 254 public static Byte valueOf(String s, int radix) in valueOf()
|
D | Character.java | 10879 public static int digit(char ch, int radix) { in digit() 10937 public static int digit(int codePoint, int radix) { in digit() 10957 native static int digitImpl(int codePoint, int radix); in digitImpl() 11466 public static char forDigit(int digit, int radix) { in forDigit()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 359 private int radix = 10; field in Scanner 1348 public int radix() { in radix() method in Scanner 1370 public Scanner useRadix(int radix) { in useRadix() 1385 private void setRadix(int radix) { in setRadix() 1943 public boolean hasNextByte(int radix) { in hasNextByte() 2009 public byte nextByte(int radix) { in nextByte() 2059 public boolean hasNextShort(int radix) { in hasNextShort() 2125 public short nextShort(int radix) { in nextShort() 2175 public boolean hasNextInt(int radix) { in hasNextInt() 2265 public int nextInt(int radix) { in nextInt() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Long.java | 43 public static java.lang.String toString(long i, int radix) { in toString() 47 public static java.lang.String toUnsignedString(long i, int radix) { in toUnsignedString() 91 public static long parseLong(java.lang.String s, int radix) in parseLong() 100 public static long parseUnsignedLong(java.lang.String s, int radix) in parseUnsignedLong() 110 public static java.lang.Long valueOf(java.lang.String s, int radix) in valueOf()
|
D | Integer.java | 44 public static java.lang.String toString(int i, int radix) { in toString() 48 public static java.lang.String toUnsignedString(int i, int radix) { in toUnsignedString() 88 public static int parseInt(java.lang.String s, int radix) in parseInt() 97 public static int parseUnsignedInt(java.lang.String s, int radix) in parseUnsignedInt() 106 public static java.lang.Integer valueOf(java.lang.String s, int radix) in valueOf()
|
D | Short.java | 46 public static short parseShort(java.lang.String s, int radix) in parseShort() 55 public static java.lang.Short valueOf(java.lang.String s, int radix) in valueOf()
|
D | Byte.java | 50 public static byte parseByte(java.lang.String s, int radix) in parseByte() 59 public static java.lang.Byte valueOf(java.lang.String s, int radix) in valueOf()
|
D | Character.java | 350 public static int digit(char ch, int radix) { in digit() 354 public static int digit(int codePoint, int radix) { in digit() 358 static native int digitImpl(int codePoint, int radix); in digitImpl() 413 public static char forDigit(int digit, int radix) { in forDigit()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntegerTest.java | 353 .equals(Long.toString(Integer.toUnsignedLong(val), radix))); in testToUnsignedString() local 384 private static int Integer_parseUnsignedInt(CharSequence val, int start, int end, int radix) { in Integer_parseUnsignedInt()
|
/libcore/ojluni/annotations/sdk/nullability/java/math/ |
D | BigInteger.annotated.java | 39 …public BigInteger(@libcore.util.NonNull java.lang.String val, int radix) { throw new RuntimeExcept… in BigInteger() 135 …@libcore.util.NonNull public java.lang.String toString(int radix) { throw new RuntimeException("St… in toString()
|
/libcore/ojluni/src/main/native/ |
D | Character.cpp | 102 Character_digitImpl(JNIEnv* env, jclass, jint codePoint, jint radix) { in Character_digitImpl()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Character.annotated.java | 168 public static int digit(char ch, int radix) { throw new RuntimeException("Stub!"); } in digit() 170 public static int digit(int codePoint, int radix) { throw new RuntimeException("Stub!"); } in digit() 195 public static char forDigit(int digit, int radix) { throw new RuntimeException("Stub!"); } in forDigit()
|