Home
last modified time | relevance | path

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

12345

/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.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);
/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/cronet/third_party/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.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);
/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/skia/src/gpu/tessellate/
DPatchWriter.h671 float4 bcd = mix(bc, cd, T); in chopAndWriteCubics() local
672 float4 abcd = mix(abc, bcd, T); in chopAndWriteCubics()
673 float4 middle = mix(abc, bcd, T.zwxy()); // p1 & p2 of the middle cubic. in chopAndWriteCubics()
683 std::tie(p0, p1, p2) = {abcd.hi, bcd.hi, cd.hi}; // Save the 3rd cubic. in chopAndWriteCubics()
691 float2 bcd = (bc + cd) * .5f; in chopAndWriteCubics() local
692 float2 abcd = (abc + bcd) * .5f; in chopAndWriteCubics()
698 this->writeCubicPatch(abcd, bcd, cd, p3); // Write the 2nd cubic. in chopAndWriteCubics()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharSetTest.java387 final CharSet bcd = CharSet.getInstance("bcd"); in testContains_Char() local
397 assertFalse(bcd.contains('a')); in testContains_Char()
398 assertTrue(bcd.contains('b')); in testContains_Char()
399 assertTrue(bcd.contains('c')); in testContains_Char()
400 assertTrue(bcd.contains('d')); in testContains_Char()
401 assertFalse(bcd.contains('e')); in testContains_Char()
/external/skia/experimental/docs/
DinterpolatorFunctions.js11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);
/external/skia/tools/viewer/
DFitCubicToCircleSlide.cpp94 double bcd = lerp(bc, cd, T); in eval_cubic() local
95 double abcd = lerp(abc, bcd, T); in eval_cubic()
96 return {abcd, 3 * (bcd - abc) /*1st derivative.*/, 6 * (cd - 2*bc + ab) /*2nd derivative.*/}; in eval_cubic()
/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/src/sksl/generated/
Dsksl_graphite_vert.unoptimized.sksl49 ");float2 abc=mix(ab,bc,T);float2 bcd=mix(bc,cd,T);float2 abcd=mix(abc,bcd,T"
113 " abc=$unchecked_mix(ab,bc,T);float2 bcd=$unchecked_mix(bc,cd,T);float2 abcd"
114 "=$unchecked_mix(abc,bcd,T);float u=$unchecked_mix(1.,w,T);float v=(w+1.)-u;"
116 "(bc*u,ab*v):$robust_normalize_diff(bcd,abc);}strokeCoord=w>=0.?abc/uv:abcd;"
/external/skia/src/pathops/
DSkPathOpsCubic.cpp98 double bcd = SkDInterp(bc, cd, t); in interp_cubic_coords() local
99 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
105 dst[8] = bcd; in interp_cubic_coords()
660 double bcd = SkDInterp(bc, cd, t); in interp_cubic_coords() local
661 double abcd = SkDInterp(abc, bcd, t); in interp_cubic_coords()
/external/pcre/testdata/
Dtestinput6434 bcd
439 bcd\=notempty
806 a bcd
2099 bcd
2104 bcd
2109 bcd
2114 bcd
2120 bcd
2130 bcd
2136 bcd
[all …]

12345