/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputBuffer.java | 318 year = 1000 * Character.digit((char)buf[pos++], 10); in getTime() 319 year += 100 * Character.digit((char)buf[pos++], 10); in getTime() 320 year += 10 * Character.digit((char)buf[pos++], 10); in getTime() 321 year += Character.digit((char)buf[pos++], 10); in getTime() 325 year = 10 * Character.digit((char)buf[pos++], 10); in getTime() 326 year += Character.digit((char)buf[pos++], 10); in getTime() 334 month = 10 * Character.digit((char)buf[pos++], 10); in getTime() 335 month += Character.digit((char)buf[pos++], 10); in getTime() 337 day = 10 * Character.digit((char)buf[pos++], 10); in getTime() 338 day += Character.digit((char)buf[pos++], 10); in getTime() [all …]
|
/libcore/ojluni/src/main/java/sun/net/util/ |
D | IPAddressUtil.java | 88 int digit = Character.digit(c, 10); in textToNumericFormatV4() local 89 if (digit < 0) { in textToNumericFormatV4() 93 tmpValue += digit; in textToNumericFormatV4() 166 int chval = Character.digit(ch, 16); in textToNumericFormatV6()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 275 return digit; in getDigit() 283 public void setDigit(char digit) { in setDigit() argument 284 this.digit = digit; in setDigit() 605 digit == other.digit && in equals() 629 result = result * 37 + digit; in hashCode() 689 digit = numberElements[5].charAt(0); in initialize() 780 cachedIcuDFS.setDigit(digit); in getIcuDecimalFormatSymbols() 1027 private char digit; field in DecimalFormatSymbols
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 429 String digit = "((?i)["+radixDigits+"]|\\p{javaDigit})"; in buildIntegerPatternString() local 437 String groupedNumeral = "("+non0RadixDigits+digit+"?"+digit+"?("+ in buildIntegerPatternString() 438 groupSeparator+digit+digit+digit+")+)"; in buildIntegerPatternString() 442 String numeral = "(("+ digit+"++)|"+groupedNumeral+")"; in buildIntegerPatternString() 487 String digit = "([0-9]|(\\p{javaDigit}))"; in buildFloatAndDecimalPattern() local 488 String exponent = "([eE][+-]?"+digit+"+)?"; in buildFloatAndDecimalPattern() 489 String groupedNumeral = "("+non0Digit+digit+"?"+digit+"?("+ in buildFloatAndDecimalPattern() 490 groupSeparator+digit+digit+digit+")+)"; in buildFloatAndDecimalPattern() 492 String numeral = "(("+digit+"++)|"+groupedNumeral+")"; in buildFloatAndDecimalPattern() 494 decimalSeparator + digit + "*+|"+ decimalSeparator + in buildFloatAndDecimalPattern() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Long.java | 574 int digit; in parseLong() local 592 digit = Character.digit(s.charAt(i++),radix); in parseLong() 593 if (digit < 0) { in parseLong() 600 if (result < limit + digit) { in parseLong() 603 result -= digit; in parseLong() 703 int second = Character.digit(s.charAt(len - 1), radix); in parseUnsignedLong()
|
D | Integer.java | 595 int digit; 613 digit = Character.digit(s.charAt(i++),radix); 614 if (digit < 0) { 621 if (result < limit + digit) { 624 result -= digit;
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Version.java | 279 jvm_major_version = Character.digit(cs.charAt(0), 10); in initVersions() 280 jvm_minor_version = Character.digit(cs.charAt(2), 10); in initVersions() 281 jvm_micro_version = Character.digit(cs.charAt(4), 10); in initVersions()
|
D | MessageUtils.java | 65 int index = Character.digit(patt.charAt(i + 1), 10); in subst()
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DecimalFormatSymbols.java | 116 public void setDigit(char digit) { in setDigit() argument 254 private char digit; field in DecimalFormatSymbols
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ShortTest.java | 499 assertEquals(Character.digit('1', 2), Short.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 500 assertEquals(Character.digit('F', 16), Short.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI() 569 assertEquals(Character.digit('1', 2), Short.parseShort("1", 2)); in test_parseShortLjava_lang_StringI() 570 assertEquals(Character.digit('F', 16), Short.parseShort("F", 16)); in test_parseShortLjava_lang_StringI()
|
D | ByteTest.java | 178 assertEquals(Character.digit('1', 2), Byte.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 179 assertEquals(Character.digit('F', 16), Byte.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI() 248 assertEquals(Character.digit('1', 2), Byte.parseByte("1", 2)); in test_parseByteLjava_lang_StringI() 249 assertEquals(Character.digit('F', 16), Byte.parseByte("F", 16)); in test_parseByteLjava_lang_StringI()
|
D | LongTest.java | 664 assertEquals(Character.digit('1', 2), Long.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringJ() 665 assertEquals(Character.digit('F', 16), Long.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringJ() 734 assertEquals(Character.digit('1', 2), Long.parseLong("1", 2)); in test_parseLongLjava_lang_StringJ() 735 assertEquals(Character.digit('F', 16), Long.parseLong("F", 16)); in test_parseLongLjava_lang_StringJ()
|
D | IntegerTest.java | 829 assertEquals(Character.digit('1', 2), Integer.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 830 assertEquals(Character.digit('F', 16), Integer.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI() 899 assertEquals(Character.digit('1', 2), Integer.parseInt("1", 2)); in test_parseIntLjava_lang_StringI() 900 assertEquals(Character.digit('F', 16), Integer.parseInt("F", 16)); in test_parseIntLjava_lang_StringI()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldCharacterTest.java | 130 assertEquals(-1, Character.digit('\uFFFF', 1)); in test_digitCI()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 80 Character.digit(chars[ch], 10); in timeDigit() 86 Character.digit((int) chars[ch], 10); in timeDigit()
|
/libcore/luni/src/main/native/ |
D | cbigint.h | 90 uint32_t simpleAppendDecimalDigitHighPrecision(uint64_t* arg1, int32_t length, uint64_t digit);
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 463 int digit = c - '0'; in BigDecimal() local 466 rs = rs * 10 + digit; in BigDecimal() 475 int digit = Character.digit(c, 10); in BigDecimal() local 476 if (digit == 0) { in BigDecimal() 486 rs = rs * 10 + digit; in BigDecimal() 526 if (c == '0' || Character.digit(c, 10) == 0) { in BigDecimal() 635 while (len > 10 && (c=='0' || (Character.digit(c, 10) == 0))) { in parseExp() 648 v = Character.digit(c, 10); in parseExp()
|
D | BigInteger.java | 447 Character.digit(val.charAt(cursor), radix) == 0) { in BigInteger() 503 while (cursor < len && Character.digit(val[cursor], 10) == 0) { in BigInteger() 548 int result = Character.digit(source[start++], 10); in parseInt() 553 int nextVal = Character.digit(source[index], 10); in parseInt()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Character.java | 350 public static int digit(char ch, int radix) { in digit() method in Character 354 public static int digit(int codePoint, int radix) { in digit() method in Character 413 public static char forDigit(int digit, int radix) { in forDigit() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Character.annotated.java | 165 public static int digit(char ch, int radix) { throw new RuntimeException("Stub!"); } in digit() method in Character 167 public static int digit(int codePoint, int radix) { throw new RuntimeException("Stub!"); } in digit() method in Character 191 public static char forDigit(int digit, int radix) { throw new RuntimeException("Stub!"); } in forDigit() argument
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 540 int hi = Character.digit((char)c1, 16); in getEmbeddedHexPair() 541 int lo = Character.digit((char)c2, 16); in getEmbeddedHexPair()
|