Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
168 bcdLong &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
179 bcdLong = 0L; in setBcdToZero()
198 bcdLong = result >>> (i * 4); in readIntToBcd()
223 bcdLong = result >>> (i * 4); in readLongToBcd()
300 if (bcdLong == 0L) { in compact()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java25 private long bcdLong = 0L; field in DecimalQuantity_DualStorageBCD
148 return (byte) ((bcdLong >>> (position * 4)) & 0xf); in getDigitPos()
164 bcdLong = bcdLong & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
178 bcdLong <<= (numDigits * 4); in shiftLeft()
195 bcdLong >>>= (numDigits * 4); in shiftRight()
210 bcdLong &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
221 bcdLong = 0L; in setBcdToZero()
240 bcdLong = result >>> (i * 4); in readIntToBcd()
265 bcdLong = result >>> (i * 4); in readLongToBcd()
342 if (bcdLong == 0L) { in compact()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp990 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1005 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1018 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1034 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1048 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1059 fBCD.bcdLong = 0L; in setBcdToZero()
1077 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1101 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1119 fBCD.bcdLong = result; in readDecNumberToBcd()
1139 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h406 uint64_t bcdLong; member
/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimalquantity.cpp1110 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1125 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1138 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1154 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1168 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1179 fBCD.bcdLong = 0L; in setBcdToZero()
1197 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1221 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1239 fBCD.bcdLong = result; in readDecNumberToBcd()
1259 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h429 uint64_t bcdLong; member
/third_party/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp1110 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1125 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1138 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1154 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1168 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1179 fBCD.bcdLong = 0L; in setBcdToZero()
1197 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1221 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1239 fBCD.bcdLong = result; in readDecNumberToBcd()
1259 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h429 uint64_t bcdLong; member