/external/pdfium/third_party/bigint/ |
D | BigInteger.cc | 14 sign = x.sign; in operator =() 24 sign = zero; in BigInteger() 29 sign = mag.isZero() ? zero : s; in BigInteger() 43 sign = zero; in BigInteger() 48 sign = mag.isZero() ? zero : s; in BigInteger() 62 BigInteger::BigInteger(unsigned long x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger() 63 BigInteger::BigInteger(unsigned int x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger() 64 BigInteger::BigInteger(unsigned short x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger() 83 BigInteger::BigInteger(long x) : sign(signOf(x)), mag(magOf<long , unsigned long >(x)) {} in BigInteger() 84 BigInteger::BigInteger(int x) : sign(signOf(x)), mag(magOf<int , unsigned int >(x)) {} in BigInteger() [all …]
|
D | BigInteger.hh | 33 Sign sign; member in BigInteger 38 BigInteger() : sign(zero), mag() {} in BigInteger() 41 BigInteger(const BigInteger &x) : sign(x.sign), mag(x.mag) {}; in BigInteger() 51 sign = mag.isZero() ? zero : positive; in BigInteger() 59 sign = mag.isZero() ? zero : positive; in BigInteger() 86 Sign getSign() const { return sign; } in getSign() 95 bool isZero() const { return sign == zero; } // A bit special in isZero() 104 return sign == x.sign && mag == x.mag; in operator ==() 222 sign = Sign(-sign); in flipSign()
|
/external/deqp/framework/delibs/debase/ |
D | deFloat16.c | 30 deUint32 sign; in deFloat32To16() local 40 sign = (x.u >> 16u) & 0x00008000u; in deFloat32To16() 49 return (deFloat16) sign; in deFloat32To16() 64 return (deFloat16) (sign | mantissa); in deFloat32To16() 71 return (deFloat16) (sign | 0x7c00u); in deFloat32To16() 77 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat32To16() 95 return (deFloat16) (sign | 0x7c00u); in deFloat32To16() 98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat32To16() 145 deUint32 sign; /* sign : 0000 0000 0000 0000 X000 0000 0000 0000 */ in deFloat32To16Round() local 154 sign = (x.u >> 16u) & 0x00008000u; in deFloat32To16Round() [all …]
|
/external/valgrind/memcheck/tests/ppc32/ |
D | power_ISA2_05.stdout.exp_Without_FPPO | 2 fcpsgn sign=10.101010, base=11.111111 => 11.111111 3 fcpsgn sign=10.101010, base=-0.000000 => 0.000000 4 fcpsgn sign=10.101010, base=0.000000 => 0.000000 5 fcpsgn sign=10.101010, base=-11.111111 => 11.111111 6 fcpsgn sign=-0.000000, base=11.111111 => -11.111111 7 fcpsgn sign=-0.000000, base=-0.000000 => -0.000000 8 fcpsgn sign=-0.000000, base=0.000000 => -0.000000 9 fcpsgn sign=-0.000000, base=-11.111111 => -11.111111 10 fcpsgn sign=0.000000, base=11.111111 => 11.111111 11 fcpsgn sign=0.000000, base=-0.000000 => 0.000000 [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | Dfp.java | 167 protected byte sign; field in Dfp 183 sign = 1; in Dfp() 226 sign = -1; in Dfp() 229 sign = 1; in Dfp() 260 sign = 1; in Dfp() 288 sign = (byte) 1; in Dfp() 291 sign = (byte) -1; in Dfp() 294 sign = (byte) 1; in Dfp() 309 sign = xdfp.sign; in Dfp() 320 sign = d.sign; in Dfp() [all …]
|
/external/deqp/framework/common/ |
D | tcuFloat.hpp | 88 static inline Float construct (int sign, int exponent, StorageType mantissa); 103 static Float constructBits (int sign, int exponent, StorageType mantissaBits); 113 inline int sign (void) const { return signBit() ? -1 : 1; } in sign() function in tcu::Float 122 static Float zero (int sign); 123 static Float inf (int sign); 184 …ntBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::zero (int sign) in zero() argument 186 DE_ASSERT(sign == 1 || ((Flags & FLOAT_HAS_SIGN) && sign == -1)); in zero() 187 return Float(StorageType((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits))); in zero() 191 …entBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::inf (int sign) in inf() argument 193 DE_ASSERT(sign == 1 || ((Flags & FLOAT_HAS_SIGN) && sign == -1)); in inf() [all …]
|
/external/valgrind/memcheck/tests/ppc64/ |
D | power_ISA2_05.stdout.exp_Without_FPPO | 3 fcpsgn sign=10.101010, base=11.111111 => 11.111111 4 fcpsgn sign=10.101010, base=-0.000000 => 0.000000 5 fcpsgn sign=10.101010, base=0.000000 => 0.000000 6 fcpsgn sign=10.101010, base=-11.111111 => 11.111111 7 fcpsgn sign=-0.000000, base=11.111111 => -11.111111 8 fcpsgn sign=-0.000000, base=-0.000000 => -0.000000 9 fcpsgn sign=-0.000000, base=0.000000 => -0.000000 10 fcpsgn sign=-0.000000, base=-11.111111 => -11.111111 11 fcpsgn sign=0.000000, base=11.111111 => 11.111111 12 fcpsgn sign=0.000000, base=-0.000000 => 0.000000 [all …]
|
/external/fdlibm/ |
D | e_sqrt.c | 99 int sign = (int)0x80000000; local 113 if(((ix0&(~sign))|ix1)==0) return x;/* ieee_sqrt(+-0) = +-0 */ 132 ix0 += ix0 + ((ix1&sign)>>31); 138 ix0 += ix0 + ((ix1&sign)>>31); 150 ix0 += ix0 + ((ix1&sign)>>31); 155 r = sign; 161 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; 167 ix0 += ix0 + ((ix1&sign)>>31); 187 if ((q&1)==1) ix1 |= sign;
|
/external/aac/libAACenc/src/ |
D | bit_cnt.cpp | 784 INT sign,signLength; in FDKaacEnc_codeValues() local 816 sign=0; in FDKaacEnc_codeValues() 821 sign<<=1; in FDKaacEnc_codeValues() 823 sign|=1; in FDKaacEnc_codeValues() 830 sign<<=1; in FDKaacEnc_codeValues() 832 sign|=1; in FDKaacEnc_codeValues() 839 sign<<=1; in FDKaacEnc_codeValues() 841 sign|=1; in FDKaacEnc_codeValues() 848 sign<<=1; in FDKaacEnc_codeValues() 850 sign|=1; in FDKaacEnc_codeValues() [all …]
|
/external/nanopb-c/examples/using_double_on_avr/ |
D | double_conversion.c | 20 uint8_t sign; in float_to_double() local 25 sign = (in.i >> 31) & 1; in float_to_double() 57 mantissa |= (uint64_t)sign << 63; in float_to_double() 64 uint8_t sign; in double_to_float() local 70 sign = (value >> 63) & 1; in double_to_float() 83 if (sign) in double_to_float() 91 if (sign) in double_to_float() 118 out.i |= (uint32_t)sign << 31; in double_to_float()
|
/external/libhevc/common/ |
D | ihevc_trans_macros.h | 40 …WORD32 sign; … 51 …sign = (inp)<0 ? -1:1; … 58 …tmp = tmp * sign; … 65 …WORD32 sign; … 76 …sign = (inp)<0 ? -1:1; … 83 …tmp = tmp * sign; … 90 …WORD32 sign; … 101 …sign = (inp)<0 ? -1:1; … 108 …tmp = tmp * sign; … 115 …WORD32 sign; … [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/ |
D | pos_format.pass.cpp | 67 assert(p.field[1] == std::money_base::sign); in main() 75 assert(p.field[1] == std::money_base::sign); in main() 83 assert(p.field[1] == std::money_base::sign); in main() 91 assert(p.field[1] == std::money_base::sign); in main() 99 assert(p.field[0] == std::money_base::sign); in main() 107 assert(p.field[0] == std::money_base::sign); in main() 115 assert(p.field[0] == std::money_base::sign); in main() 123 assert(p.field[0] == std::money_base::sign); in main() 132 assert(p.field[0] == std::money_base::sign); in main() 140 assert(p.field[0] == std::money_base::sign); in main() [all …]
|
D | neg_format.pass.cpp | 67 assert(p.field[1] == std::money_base::sign); in main() 75 assert(p.field[1] == std::money_base::sign); in main() 83 assert(p.field[1] == std::money_base::sign); in main() 91 assert(p.field[1] == std::money_base::sign); in main() 99 assert(p.field[0] == std::money_base::sign); in main() 107 assert(p.field[0] == std::money_base::sign); in main() 115 assert(p.field[0] == std::money_base::sign); in main() 123 assert(p.field[0] == std::money_base::sign); in main() 132 assert(p.field[0] == std::money_base::sign); in main() 140 assert(p.field[0] == std::money_base::sign); in main() [all …]
|
/external/protobuf/js/binary/ |
D | utils.js | 92 var sign = (value < 0); 102 if (sign) { 125 var sign = (value < 0); 134 if (sign) { 159 var sign = (value < 0) ? 1 : 0; 160 value = sign ? -value : value; 188 jspb.utils.split64Low = ((sign << 31) | (0x7F800000)) >>> 0; 197 jspb.utils.split64Low = ((sign << 31) | mant) >>> 0; 206 jspb.utils.split64Low = ((sign << 31) | ((exp + 127) << 23) | mant) >>> 0; 216 var sign = (value < 0) ? 1 : 0; [all …]
|
/external/python/cpython2/Python/ |
D | strtod.c | 67 int sign, scale, dotseen; in strtod() local 77 sign = 1; in strtod() 78 if (*sp == '-') sign -= 2, sp++; in strtod() 143 return HUGE*sign; in strtod() 146 if (strcmp(buforg, MDMAXFRAC) > 0) return HUGE*sign; in strtod() 149 return ZERO*sign; in strtod() 152 if (strcmp(buforg, MDMINFRAC) < 0) return ZERO*sign; in strtod() 158 return atof(buffer)*sign; in strtod()
|
/external/skia/gm/ |
D | addarc.cpp | 38 SkScalar sign = 1; in onDraw() local 44 startAngle += fRotate * 360 * speed * sign; in onDraw() 51 sign = -sign; in onDraw() 143 SkScalar sign = 1; in onDraw() local 146 canvas->rotate(fRotate * sign); in onDraw() 151 sign = -sign; in onDraw() 197 SkScalar sign = 1; in onDraw() local 200 canvas->rotate(fRotate * sign); in onDraw() 204 sign = -sign; in onDraw() 264 SkScalar sign = 1; in onDraw() local [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | tdc-05.ll | 11 ; Compare with 0, extract sign bit 16 %sign = icmp slt i32 %cast, 0 18 %res = or i1 %sign, %fcmp 23 ; Compare with inf, extract negated sign bit 28 %sign = icmp sgt i32 %cast, -1 30 %res = and i1 %sign, %fcmp 35 ; Compare with minnorm, extract negated sign bit 40 %sign = icmp sgt i32 %cast, -1 42 %res = and i1 %sign, %fcmp 66 %sign = icmp slt i32 %cast, 0 [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 251 src_type.sign = FALSE; in lp_build_clamped_float_to_unsigned_norm() 456 src_type.sign == dst_type->sign) in lp_build_conv_auto() 469 ((src_type.floating == 1 && src_type.sign == 1 && dst_type->norm == 1) || in lp_build_conv_auto() 471 src_type.sign == dst_type->sign && dst_type->norm == 0))) { in lp_build_conv_auto() 576 ((src_type.floating == 1 && src_type.sign == 1 && dst_type.norm == 1) || in lp_build_conv() 578 src_type.sign == dst_type.sign && dst_type.norm == 0)) && in lp_build_conv() 598 int16_type.sign = 1; in lp_build_conv() 602 int32_type.sign = 1; in lp_build_conv() 624 if (dst_type.sign) { in lp_build_conv() 640 if (!dst_type.sign) { in lp_build_conv() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 265 static inline boolean sign(float x){ in sign() function 373 else if (sign(x1diff) == sign(-dx)) { in try_setup_line() 376 else if (sign(-y1diff) != sign(dy)) { in try_setup_line() 392 else if (sign(x2diff) != sign(-dx)) { in try_setup_line() 395 else if (sign(-y2diff) == sign(dy)) { in try_setup_line() 406 will_draw_start = sign(-x1diff) != sign(dx); in try_setup_line() 407 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0; in try_setup_line() 471 else if (sign(-y1diff) == sign(dy)) { in try_setup_line() 474 else if (sign(x1diff) != sign(-dx)) { in try_setup_line() 489 else if (sign(-y2diff) != sign(dy) ) { in try_setup_line() [all …]
|
/external/skia/src/core/ |
D | SkHalf.h | 51 sign = bits & 0x00008000, // Save the sign bit for later... in SkHalfToFloat_finite_ftz() 52 positive = bits ^ sign, // ...but strip it off for now. in SkHalfToFloat_finite_ftz() 59 Sk4i merged = (sign << 16) | (norm & is_norm); in SkHalfToFloat_finite_ftz() 72 sign = bits & 0x80000000, // Save the sign bit for later... in SkFloatToHalf_finite_ftz() 73 positive = bits ^ sign, // ...but strip it off for now. in SkFloatToHalf_finite_ftz() 80 Sk4i merged = (sign >> 16) | (will_be_norm & norm); in SkFloatToHalf_finite_ftz()
|
/external/python/cpython2/Lib/ |
D | fpformat.py | 43 sign, intpart, fraction, exppart = res.group(1,2,3,4) 44 if sign == '+': sign = '' 48 return sign, intpart, fraction, expo 96 sign, intpart, fraction, expo = extract(x) 103 if digs > 0: return sign + intpart + '.' + fraction 104 else: return sign + intpart 111 sign, intpart, fraction, expo = extract(x) 130 s = sign + intpart
|
/external/llvm/test/Transforms/InstCombine/ |
D | apint-add1.ll | 10 ;; Add of sign bit -> xor of sign bit. 17 ;; Add of sign bit -> xor of sign bit. 24 ;; Add of sign bit -> xor of sign bit.
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | apint-add1.ll | 10 ;; Add of sign bit -> xor of sign bit. 17 ;; Add of sign bit -> xor of sign bit. 24 ;; Add of sign bit -> xor of sign bit.
|
/external/openssh/openbsd-compat/ |
D | fmt_scaled.c | 79 int sign = 0; in scan_scaled() local 90 if (sign) { in scan_scaled() 94 sign = -1; in scan_scaled() 97 if (sign) { in scan_scaled() 101 sign = +1; in scan_scaled() 148 if (sign) { in scan_scaled() 149 whole *= sign; in scan_scaled() 150 fpart *= sign; in scan_scaled()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 603 sign = rhs.sign; in assign() 626 sign = Negative; in makeNaN() 699 sign = rhs.sign; in operator =() 788 sign != rhs.sign) in bitwiseIsEqual() 802 sign = 0; in APFloat() 813 sign = false; in APFloat() 1226 (rounding_mode == rmTowardPositive && !sign) || in handleOverflow() 1227 (rounding_mode == rmTowardNegative && sign)) { in handleOverflow() 1275 return !sign; in roundAwayFromZero() 1278 return sign; in roundAwayFromZero() [all …]
|