Home
last modified time | relevance | path

Searched refs:bcd (Results 1 - 25 of 36) sorted by relevance

12

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java17 * <p>Whenever bcd changes internally, {@link #compact()} must be called, except in special cases
20 private byte[] bcd = new byte[100]; field in DecimalQuantity_ByteArrayBCD
59 return bcd[position]; in getDigitPos()
66 bcd[position] = value; in setDigitPos()
74 bcd[i] = bcd[i - numDigits]; in shiftLeft()
77 bcd[i] = 0; in shiftLeft()
87 bcd[i] = bcd[i + numDigits]; in shiftRight()
90 bcd[ in shiftRight()
[all...]
H A DDecimalQuantity_64BitBCD.java17 * <p>Whenever bcd changes internally, {@link #compact()} must be called, except in special cases
20 private long bcd; field in DecimalQuantity_64BitBCD
59 return (byte) ((bcd >>> (position * 4)) & 0xf); in getDigitPos()
66 bcd = bcd & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
72 bcd <<= (numDigits * 4); in shiftLeft()
79 bcd >>>= (numDigits * 4); in shiftRight()
86 bcd &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
92 bcd = 0L; in setBcdToZero()
110 bcd in readIntToBcd()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java20 * <p>Whenever bcd changes internally, {@link #compact()} must be called, except in special cases
23 private byte[] bcd = new byte[100]; field in DecimalQuantity_ByteArrayBCD
62 return bcd[position]; in getDigitPos()
69 bcd[position] = value; in setDigitPos()
77 bcd[i] = bcd[i - numDigits]; in shiftLeft()
80 bcd[i] = 0; in shiftLeft()
90 bcd[i] = bcd[i + numDigits]; in shiftRight()
93 bcd[ in shiftRight()
[all...]
H A DDecimalQuantity_64BitBCD.java20 * <p>Whenever bcd changes internally, {@link #compact()} must be called, except in special cases
23 private long bcd; field in DecimalQuantity_64BitBCD
62 return (byte) ((bcd >>> (position * 4)) & 0xf); in getDigitPos()
69 bcd = bcd & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
75 bcd <<= (numDigits * 4); in shiftLeft()
82 bcd >>>= (numDigits * 4); in shiftRight()
89 bcd &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
95 bcd = 0L; in setBcdToZero()
113 bcd in readIntToBcd()
[all...]
/third_party/icu/icu4c/source/i18n/
H A DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \
487 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
488 dpd2bcd8(bcd+1, sourhi>>8); \
489 dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \
490 dpd2bcd8(bcd+7, sourlo>>20); \
491 dpd2bcd8(bcd
[all...]
H A Dnumber_utils.cpp186 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status) { in setTo() argument
214 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
H A Dnumber_decnum.h47 void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/third_party/node/deps/icu-small/source/i18n/
H A DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \
487 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
488 dpd2bcd8(bcd+1, sourhi>>8); \
489 dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \
490 dpd2bcd8(bcd+7, sourlo>>20); \
491 dpd2bcd8(bcd
[all...]
H A Dnumber_utils.cpp186 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status) { in setTo() argument
214 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
H A Dnumber_decnum.h47 void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/third_party/skia/third_party/externals/icu/source/i18n/
H A DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \
487 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
488 dpd2bcd8(bcd+1, sourhi>>8); \
489 dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \
490 dpd2bcd8(bcd+7, sourlo>>20); \
491 dpd2bcd8(bcd
[all...]
H A Dnumber_utils.cpp192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status) { in setTo() argument
220 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
H A Dnumber_decnum.h47 void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/third_party/skia/src/gpu/tessellate/
H A DPatchWriter.cpp121 float4 bcd = mix(bc, cd, T); in chopAndWriteCubics() local
122 float4 abcd = mix(abc, bcd, T); in chopAndWriteCubics()
123 float4 middle = mix(abc, bcd, T.zwxy()); // p1 & p2 of the middle cubic. in chopAndWriteCubics()
133 std::tie(p0, p1, p2) = {abcd.hi, bcd.hi, cd.hi}; // Save the 3rd cubic. in chopAndWriteCubics()
141 float2 bcd = (bc + cd) * .5f; in chopAndWriteCubics() local
142 float2 abcd = (abc + bcd) * .5f; in chopAndWriteCubics()
148 CubicPatch(*this) << abcd << bcd << cd << p3; // Write the 2nd cubic. in chopAndWriteCubics()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_util.c118 * This function will print the version number "bcd" to the string
123 usb_printbcd(char *p, uint16_t p_len, uint16_t bcd) in usb_printbcd() argument
125 if (snprintf_s(p, p_len, p_len - 1, "%x.%02x", bcd >> 8, bcd & 0xff)) { in usb_printbcd()
H A Dusb_util.h35 void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd);
/third_party/skia/docs/examples/
H A DSkPath_cubicTo_example_parametric_animated.cpp51 SkPoint bcd = interpolate(bc, cd, frame); in REG_FIDDLE_ANIMATED() local
60 canvas->drawLine(abc, bcd, paint); in REG_FIDDLE_ANIMATED()
94 canvas->drawPoint(interpolate(abc, bcd, frame), pointPaint); in REG_FIDDLE_ANIMATED()
/third_party/ffmpeg/libavutil/
H A Dtimecode.c129 static unsigned bcd2uint(uint8_t bcd) in bcd2uint() argument
131 unsigned low = bcd & 0xf; in bcd2uint()
132 unsigned high = bcd >> 4; in bcd2uint()
/third_party/skia/samplecode/
H A DSampleFitCubicToCircle.cpp90 double bcd = lerp(bc, cd, T); in eval_cubic() local
91 double abcd = lerp(abc, bcd, T); in eval_cubic()
92 return {abcd, 3 * (bcd - abc) /*1st derivative.*/, 6 * (cd - 2*bc + ab) /*2nd derivative.*/}; in eval_cubic()
/third_party/skia/experimental/docs/
H A DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/third_party/skia/src/pathops/
H A DSkPathOpsCubic.cpp91 double bcd = SkDInterp(bc, cd, t); in interp_cubic_coords() local
92 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
98 dst[8] = bcd; in interp_cubic_coords()
649 double bcd = SkDInterp(bc, cd, t);
650 double abcd = SkDInterp(abc, bcd, t);
/third_party/skia/src/core/
H A DSkGeometry.cpp474 float2 bcd = unchecked_mix(bc, cd, T);
475 float2 abcd = unchecked_mix(abc, bcd, T);
481 dst[4] = skvx::bit_pun<SkPoint>(bcd);
510 float4 bcd = unchecked_mix(bc, cd, T);
511 float4 abcd = unchecked_mix(abc, bcd, T);
512 float4 middle = unchecked_mix(abc, bcd, skvx::shuffle<2,3,0,1>(T));
520 dst[7] = skvx::bit_pun<SkPoint>(bcd.hi);
/third_party/ffmpeg/libavcodec/
H A Dutils.c1073 static unsigned bcd2uint(uint8_t bcd) in bcd2uint() argument
1075 unsigned low = bcd & 0xf; in bcd2uint()
1076 unsigned high = bcd >> 4; in bcd2uint()
/third_party/rust/crates/regex/regex-syntax/src/unicode_tables/
H A Dage.rs511 ('ொ', '\u{bcd}'),
H A Dscript_extension.rs1344 ('ொ', '\u{bcd}'),

Completed in 18 milliseconds

12