/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 93 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_DualStorageBCD 241 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal() 392 if (getDigitPos(precision - 1) == 0) in checkHealth() 394 if (getDigitPos(0) == 0) in checkHealth() 397 if (getDigitPos(i) >= 10) in checkHealth() 399 if (getDigitPos(i) < 0) in checkHealth() 403 if (getDigitPos(i) != 0) in checkHealth() 417 if (precision != 0 && getDigitPos(precision - 1) == 0) in checkHealth() 419 if (precision != 0 && getDigitPos(0) == 0) in checkHealth() 422 if (getDigitPos(i) >= 10) in checkHealth() [all …]
|
D | DecimalQuantity_AbstractBCD.java | 297 return getDigitPos(magnitude - scale); in getDigit() 591 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 613 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 681 tempLong = tempLong * 10 + getDigitPos(shift); in toDouble() 769 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 770 byte trailingDigit = getDigitPos(position); in roundToMagnitude() 785 if (getDigitPos(p) != 0) { in roundToMagnitude() 797 if (getDigitPos(p) != 0) { in roundToMagnitude() 804 if (getDigitPos(p) != 9) { in roundToMagnitude() 811 if (getDigitPos(p) != 0) { in roundToMagnitude() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 91 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_DualStorageBCD 239 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal() 390 if (getDigitPos(precision - 1) == 0) in checkHealth() 392 if (getDigitPos(0) == 0) in checkHealth() 395 if (getDigitPos(i) >= 10) in checkHealth() 397 if (getDigitPos(i) < 0) in checkHealth() 401 if (getDigitPos(i) != 0) in checkHealth() 415 if (precision != 0 && getDigitPos(precision - 1) == 0) in checkHealth() 417 if (precision != 0 && getDigitPos(0) == 0) in checkHealth() 420 if (getDigitPos(i) >= 10) in checkHealth() [all …]
|
D | DecimalQuantity_AbstractBCD.java | 295 return getDigitPos(magnitude - scale); in getDigit() 589 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 611 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 679 tempLong = tempLong * 10 + getDigitPos(shift); in toDouble() 767 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 768 byte trailingDigit = getDigitPos(position); in roundToMagnitude() 783 if (getDigitPos(p) != 0) { in roundToMagnitude() 795 if (getDigitPos(p) != 0) { in roundToMagnitude() 802 if (getDigitPos(p) != 9) { in roundToMagnitude() 809 if (getDigitPos(p) != 0) { in roundToMagnitude() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 292 return getDigitPos(magnitude - scale); in getDigit() 509 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 525 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 596 ubcd[precision - m - 1] = static_cast<uint8_t>(getDigitPos(m)); in toDecNum() 624 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 625 int8_t trailingDigit = getDigitPos(position); in roundToMagnitude() 640 if (getDigitPos(p) != 0) { in roundToMagnitude() 652 if (getDigitPos(p) != 0) { in roundToMagnitude() 659 if (getDigitPos(p) != 9) { in roundToMagnitude() 666 if (getDigitPos(p) != 0) { in roundToMagnitude() [all …]
|
D | number_decimalquantity.h | 392 int8_t getDigitPos(int32_t position) const;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 57 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_64BitBCD 141 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal()
|
D | DecimalQuantity_ByteArrayBCD.java | 57 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_ByteArrayBCD 168 sb.append(getDigitPos(i)); in toDumbString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 60 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_64BitBCD 144 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal()
|
D | DecimalQuantity_ByteArrayBCD.java | 60 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_ByteArrayBCD 171 sb.append(getDigitPos(i)); in toDumbString()
|