Home
last modified time | relevance | path

Searched refs:bcdLong (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java26 private long bcdLong = 0L; field in DecimalQuantity_DualStorageBCD
101 return (byte) ((bcdLong >>> (position * 4)) & 0xf); in getDigitPos()
117 bcdLong = bcdLong & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
136 bcdLong <<= (numDigits * 4); in shiftLeft()
153 bcdLong >>>= (numDigits * 4); in shiftRight()
165 bcdLong = 0L; in setBcdToZero()
183 bcdLong = result >>> (i * 4); in readIntToBcd()
208 bcdLong = result >>> (i * 4); in readLongToBcd()
307 if (bcdLong == 0L) { in compact()
314 int delta = Long.numberOfTrailingZeros(bcdLong) / 4; in compact()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java24 private long bcdLong = 0L; field in DecimalQuantity_DualStorageBCD
99 return (byte) ((bcdLong >>> (position * 4)) & 0xf); in getDigitPos()
115 bcdLong = bcdLong & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
134 bcdLong <<= (numDigits * 4); in shiftLeft()
151 bcdLong >>>= (numDigits * 4); in shiftRight()
163 bcdLong = 0L; in setBcdToZero()
181 bcdLong = result >>> (i * 4); in readIntToBcd()
206 bcdLong = result >>> (i * 4); in readLongToBcd()
305 if (bcdLong == 0L) { in compact()
312 int delta = Long.numberOfTrailingZeros(bcdLong) / 4; in compact()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp855 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
870 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
888 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
904 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
916 fBCD.bcdLong = 0L; in setBcdToZero()
933 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
957 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
975 fBCD.bcdLong = result; in readDecNumberToBcd()
995 fBCD.bcdLong = result; in readDoubleConversionToBcd()
1025 if (fBCD.bcdLong == 0L) { in compact()
[all …]
Dnumber_decimalquantity.h373 uint64_t bcdLong; member