Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 25 of 73) sorted by relevance

123

/third_party/boost/libs/container/bench/detail/
Dvarray_util.hpp44 namespace bcd = ::boost::container::dtl;
54 bcd::vector_const_iterator<Pointer>
55 > : bcd::true_type
60 bcd::vector_iterator<Pointer>
61 > : bcd::true_type
69 > : bcd::true_type
75 > : bcd::true_type
83 > : bcd::true_type
105 bcd::bool_<
106 bcd::is_same<
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
DDecimalQuantity_ByteArrayBCD.java23 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[i] = 0; in shiftRight()
103 bcd[i] = 0; in popFromLeft()
111 bcd[i] = (byte) 0; in setBcdToZero()
126 bcd[i] = (byte) (n % 10); in readIntToBcd()
[all …]
DDecimalQuantity_64BitBCD.java23 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);
82 bcd >>>= (numDigits * 4);
89 bcd &= (1L << ((precision - numDigits) * 4)) - 1;
95 bcd = 0L;
113 bcd = result >>> (i * 4);
127 bcd = result >>> (adjustment * 4); field in DecimalQuantity_64BitBCD
143 bcd = result >>> (adjustment * 4); in readBigIntegerToBcd()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_ByteArrayBCD.java20 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[i] = 0; in shiftRight()
100 bcd[i] = 0; in popFromLeft()
108 bcd[i] = (byte) 0; in setBcdToZero()
123 bcd[i] = (byte) (n % 10); in readIntToBcd()
[all …]
DDecimalQuantity_64BitBCD.java20 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);
79 bcd >>>= (numDigits * 4);
86 bcd &= (1L << ((precision - numDigits) * 4)) - 1;
92 bcd = 0L;
110 bcd = result >>> (i * 4);
124 bcd = result >>> (adjustment * 4); field in DecimalQuantity_64BitBCD
140 bcd = result >>> (adjustment * 4); in readBigIntegerToBcd()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dbcd.h133 vbi_bcd2dec(unsigned int bcd) in vbi_bcd2dec() argument
135 return (bcd & 15) + ((bcd >> 4) & 15) * 10 + ((bcd >> 8) & 15) * 100; in vbi_bcd2dec()
183 vbi_is_bcd(unsigned int bcd) in vbi_is_bcd() argument
187 return (((bcd + x) ^ (bcd ^ x)) & 0x11111110) == 0; in vbi_is_bcd()
206 vbi_bcd_digits_greater (unsigned int bcd, in vbi_bcd_digits_greater() argument
211 return 0 != (((bcd + maximum) ^ bcd ^ maximum) & 0x11111110); in vbi_bcd_digits_greater()
/third_party/icu/icu4c/source/i18n/
DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \ argument
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \ argument
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+10, sourlo>>10); \
[all …]
Dnumber_utils.cpp192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo() argument
220 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
/third_party/node/deps/icu-small/source/i18n/
DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \ argument
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \ argument
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+10, sourlo>>10); \
[all …]
Dnumber_utils.cpp186 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo() argument
214 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
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/
DdecNumberLocal.h479 #define GETCOEFF(df, bcd) { \ argument
481 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
482 dpd2bcd8(bcd+1, sourhi>>10); \
483 dpd2bcd83(bcd+4, sourhi);}
484 #define GETWCOEFF(df, bcd) { \ argument
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+10, sourlo>>10); \
[all …]
Dnumber_utils.cpp192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo() argument
220 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
Dnumber_decnum.h47 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
DdecNumberLocal.h477 #define GETCOEFF(df, bcd) { \ argument
479 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
480 dpd2bcd8(bcd+1, sourhi>>10); \
481 dpd2bcd83(bcd+4, sourhi);}
482 #define GETWCOEFF(df, bcd) { \ argument
485 *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \
486 dpd2bcd8(bcd+1, sourhi>>8); \
487 dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \
488 dpd2bcd8(bcd+7, sourlo>>20); \
489 dpd2bcd8(bcd+10, sourlo>>10); \
[all …]
Dnumber_utils.cpp192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& statu… in setTo() argument
220 uprv_decNumberSetBCD(fData, bcd, static_cast<uint32_t>(length)); in setTo()
Dnumber_decnum.h46 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/third_party/skia/src/gpu/tessellate/
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/
Dusb_util.c124 usb_printbcd(char *p, uint16_t p_len, uint16_t bcd) in usb_printbcd() argument
126 if (snprintf_s(p, p_len, p_len - 1, "%x.%02x", bcd >> 8, bcd & 0xff)) { in usb_printbcd()
Dusb_util.h33 void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd);
/third_party/skia/docs/examples/
DSkPath_cubicTo_example_parametric_animated.cpp51 SkPoint bcd = interpolate(bc, cd, frame); in draw() local
60 canvas->drawLine(abc, bcd, paint); in draw()
94 canvas->drawPoint(interpolate(abc, bcd, frame), pointPaint); in draw()
/third_party/ffmpeg/libavutil/
Dtimecode.c127 static unsigned bcd2uint(uint8_t bcd) in bcd2uint() argument
129 unsigned low = bcd & 0xf; in bcd2uint()
130 unsigned high = bcd >> 4; in bcd2uint()
/third_party/skia/experimental/docs/
DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/third_party/flutter/skia/experimental/docs/
DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/third_party/skia/samplecode/
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()

123