Home
last modified time | relevance | path

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

1234

/external/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 …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/rust/crates/regex-automata/data/tests/fowler/
Drepetition-long.dat43 # "ab" then "a" then "bcd".
48 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,1)(0,1)(1,1)
49 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,1)(0,1)(1,1)
50 :HA#262:E (a|ab|c|bcd){2,}(d*) ababcd (0,6)(3,6)(6,6)
51 :HA#263:E (a|ab|c|bcd){3,}(d*) ababcd (0,6)(3,6)(6,6)
52 :HA#264:E (a|ab|c|bcd){4,}(d*) ababcd NOMATCH
53 :HA#265:E (a|ab|c|bcd){0,10}(d*) ababcd (0,1)(0,1)(1,1)
54 :HA#266:E (a|ab|c|bcd){1,10}(d*) ababcd (0,1)(0,1)(1,1)
55 :HA#267:E (a|ab|c|bcd){2,10}(d*) ababcd (0,6)(3,6)(6,6)
56 :HA#268:E (a|ab|c|bcd){3,10}(d*) ababcd (0,6)(3,6)(6,6)
[all …]
Drepetition-long.toml130 pattern = '''(a|ab|c|bcd){0,}(d*)'''
137 pattern = '''(a|ab|c|bcd){1,}(d*)'''
144 pattern = '''(a|ab|c|bcd){2,}(d*)'''
151 pattern = '''(a|ab|c|bcd){3,}(d*)'''
158 pattern = '''(a|ab|c|bcd){4,}(d*)'''
165 pattern = '''(a|ab|c|bcd){0,10}(d*)'''
172 pattern = '''(a|ab|c|bcd){1,10}(d*)'''
179 pattern = '''(a|ab|c|bcd){2,10}(d*)'''
186 pattern = '''(a|ab|c|bcd){3,10}(d*)'''
193 pattern = '''(a|ab|c|bcd){4,10}(d*)'''
[all …]
/external/rust/crates/regex-automata/data/fowler-tests/
Drepetition.dat121 # "ab" then "a" then "bcd".
126 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,1)(0,1)(1,1)
127 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,1)(0,1)(1,1)
128 :HA#262:E (a|ab|c|bcd){2,}(d*) ababcd (0,6)(3,6)(6,6)
129 :HA#263:E (a|ab|c|bcd){3,}(d*) ababcd (0,6)(3,6)(6,6)
130 :HA#264:E (a|ab|c|bcd){4,}(d*) ababcd NOMATCH
131 :HA#265:E (a|ab|c|bcd){0,10}(d*) ababcd (0,1)(0,1)(1,1)
132 :HA#266:E (a|ab|c|bcd){1,10}(d*) ababcd (0,1)(0,1)(1,1)
133 :HA#267:E (a|ab|c|bcd){2,10}(d*) ababcd (0,6)(3,6)(6,6)
134 :HA#268:E (a|ab|c|bcd){3,10}(d*) ababcd (0,6)(3,6)(6,6)
[all …]
/external/rust/crates/regex/src/testdata/
Drepetition.dat121 # "ab" then "a" then "bcd".
126 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,1)(0,1)(1,1)
127 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,1)(0,1)(1,1)
128 :HA#262:E (a|ab|c|bcd){2,}(d*) ababcd (0,6)(3,6)(6,6)
129 :HA#263:E (a|ab|c|bcd){3,}(d*) ababcd (0,6)(3,6)(6,6)
130 :HA#264:E (a|ab|c|bcd){4,}(d*) ababcd NOMATCH
131 :HA#265:E (a|ab|c|bcd){0,10}(d*) ababcd (0,1)(0,1)(1,1)
132 :HA#266:E (a|ab|c|bcd){1,10}(d*) ababcd (0,1)(0,1)(1,1)
133 :HA#267:E (a|ab|c|bcd){2,10}(d*) ababcd (0,6)(3,6)(6,6)
134 :HA#268:E (a|ab|c|bcd){3,10}(d*) ababcd (0,6)(3,6)(6,6)
[all …]
/external/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()
Dnumber_decnum.h47 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/external/icu/libicu/cts_headers/
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_decnum.h47 …void setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status);
/external/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()
/external/skqp/experimental/docs/
DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/external/skia/experimental/docs/
DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/external/llvm/test/Transforms/InstCombine/
Dstrstr-1.ll10 @.str3 = private constant [4 x i8] c"bcd\00"
34 ; Check strstr("abcde", "bcd") -> "abcde" + 1.
/external/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()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dstrstr-1.ll11 @.str3 = private constant [4 x i8] c"bcd\00"
38 ; Check strstr("abcde", "bcd") -> "abcde" + 1.
/external/skqp/src/pathops/
DSkPathOpsCubic.cpp90 double bcd = SkDInterp(bc, cd, t); in interp_cubic_coords() local
91 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
97 dst[8] = bcd; in interp_cubic_coords()
647 double bcd = SkDInterp(bc, cd, t); in interp_cubic_coords() local
648 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
/external/skia/src/pathops/
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); in interp_cubic_coords() local
650 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
/external/fonttools/Tests/feaLib/
Dbuilder_test.py680 for bcd in self.base.markClass.definitions:
683 res += "pos base {} {}".format(bcd.glyphs.asFea(), bcd.anchor.asFea())
/external/pcre/dist2/testdata/
Dtestinput6434 bcd
439 bcd\=notempty
806 a bcd
2099 bcd
2104 bcd
2109 bcd
2114 bcd
2120 bcd
2130 bcd
2136 bcd
[all …]
Dtestoutput6320 2: bcd
334 2: bcd
350 2: bcd
354 2: bcd
788 bcd
798 bcd\=notempty
1409 a bcd
1410 0: a bcd
3062 bcd
3070 bcd
[all …]
/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs887 bcd: item.bcd as u8, in from()
908 bcd: item.bcd != 0, in from()
1363 bcd: false, in pit_state()
1381 assert_eq!(kvm_channel.bcd, 0); in pit_state()

1234