/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/luni/src/main/java/java/math/ |
D | Logical.java | 178 int digit; in andNegative() local 180 digit = -shorter.digits[i] & ~longer.digits[i]; in andNegative() 182 digit = ~shorter.digits[i] & -longer.digits[i]; in andNegative() 184 digit = -shorter.digits[i] & -longer.digits[i]; in andNegative() 186 if (digit == 0) { in andNegative() 187 … for (i++; i < shorter.numberLength && (digit = ~(longer.digits[i] | shorter.digits[i])) == 0; i++) in andNegative() 189 if (digit == 0) { in andNegative() 191 for ( ; i < longer.numberLength && (digit = ~longer.digits[i]) == 0; i++) in andNegative() 193 if (digit == 0) { in andNegative() 204 resDigits[i] = -digit; in andNegative() [all …]
|
D | BigInteger.java | 557 int digit = digits[intCount]; in testBit() local 564 digit = -digit; in testBit() 566 digit = ~digit; in testBit() 569 return ((digit & n) != 0); in testBit() 1103 int digit = -temp.digits[digitIndex]; 1108 for (int i = 0; i < bytesInInteger; i++, digit >>= 8) { 1109 bytes[--bytesLen] = (byte) digit; 1112 digit = ~temp.digits[digitIndex]; 1117 for (int i = 0; i < bytesInInteger; i++, digit >>= 8) { 1118 bytes[--bytesLen] = (byte) digit; [all …]
|
D | BigInt.java | 141 if (Character.digit(ch, base) == -1) { in checkString() 159 int value = Character.digit(ch, base); in toAscii()
|
/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() 1018 private char digit; field in DecimalFormatSymbols
|
/libcore/luni/src/main/native/ |
D | cbigint.cpp | 226 simpleAppendDecimalDigitHighPrecision (uint64_t * arg1, int32_t length, uint64_t digit) in simpleAppendDecimalDigitHighPrecision() argument 232 digit <<= 32; in simpleAppendDecimalDigitHighPrecision() 236 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg); in simpleAppendDecimalDigitHighPrecision() 237 LOW_U32_FROM_PTR (arg1 + index) = LOW_U32_FROM_VAR (digit); in simpleAppendDecimalDigitHighPrecision() 240 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg); in simpleAppendDecimalDigitHighPrecision() 241 HIGH_U32_FROM_PTR (arg1 + index) = LOW_U32_FROM_VAR (digit); in simpleAppendDecimalDigitHighPrecision() 245 return HIGH_U32_FROM_VAR (digit); in simpleAppendDecimalDigitHighPrecision()
|
D | cbigint.h | 90 uint32_t simpleAppendDecimalDigitHighPrecision(uint64_t* arg1, int32_t length, uint64_t digit);
|
/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()
|
D | FloatingDecimal.java | 2534 int value = Character.digit(s.charAt(position), 16); in getHexDigit()
|
/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 | CharacterTest.java | 612 assertEquals("Returned incorrect digit", 1, Character.digit('1', 10)); 613 assertEquals("Returned incorrect digit", 15, Character.digit('F', 16)); 620 assertEquals(1, Character.digit((int) '1', 10)); 621 assertEquals(15, Character.digit((int) 'F', 16)); 623 assertEquals(-1, Character.digit(0x0000, 37)); 624 assertEquals(-1, Character.digit(0x0045, 10)); 626 assertEquals(10, Character.digit(0x0041, 20)); 627 assertEquals(10, Character.digit(0x0061, 20)); 629 assertEquals(-1, Character.digit(0x110000, 20));
|
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/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/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/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()
|