/external/stlport/src/ |
D | num_put_float.cpp | 216 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf) in _Stl_ecvtR() argument 217 { return ecvtbuf(x, n, pt, sign, buf); } in _Stl_ecvtR() 218 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf) in _Stl_fcvtR() argument 219 { return fcvtbuf(x, n, pt, sign, buf); } in _Stl_fcvtR() 224 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf) in _Stl_ecvtR() argument 225 { return ecvtbuf(x, n, pt, sign, buf); } in _Stl_ecvtR() 226 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf) in _Stl_fcvtR() argument 227 { return fcvtbuf(x, n, pt, sign, buf); } in _Stl_fcvtR() 231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument 232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR() [all …]
|
/external/v8/test/cctest/ |
D | test-dtoa.cc | 64 int sign; in TEST() local 66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST() 75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST() 80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); in TEST() 90 DoubleToAscii(1.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST() 96 DoubleToAscii(1.5, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 100 DoubleToAscii(1.5, DTOA_FIXED, 10, buffer, &sign, &length, &point); in TEST() 106 DoubleToAscii(1.5, DTOA_PRECISION, 10, buffer, &sign, &length, &point); in TEST() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
D | 11.4.8.js | 81 var sign = ( n < 0 ) ? -1 : 1; 89 return ( sign * Math.floor(Math.abs(n)) ); 93 var sign = ( n < 0 ) ? -1 : 1; 99 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 106 var sign = ( n < 0 ) ? -1 : 1; 111 n = sign * Math.floor( Math.abs(n) ) 122 var sign = ( n < 0 ) ? -1 : 1; 128 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 156 var sign = ( n < 0 ) ? -1 : 1; 158 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.7.1.js | 88 var sign = ( n < 0 ) ? -1 : 1; 96 return ( sign * Math.floor(Math.abs(n)) ); 100 var sign = ( n < 0 ) ? -1 : 1; 106 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 113 var sign = ( n < 0 ) ? -1 : 1; 118 n = sign * Math.floor( Math.abs(n) ) 129 var sign = ( n < 0 ) ? -1 : 1; 135 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 163 var sign = ( n < 0 ) ? -1 : 1; 165 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.7.3.js | 93 var sign = ( n < 0 ) ? -1 : 1; 101 return ( sign * Math.floor(Math.abs(n)) ); 105 var sign = ( n < 0 ) ? -1 : 1; 111 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 118 var sign = ( n < 0 ) ? -1 : 1; 123 n = sign * Math.floor( Math.abs(n) ) 134 var sign = ( n < 0 ) ? -1 : 1; 140 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 168 var sign = ( n < 0 ) ? -1 : 1; 170 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.7.2.js | 102 var sign = ( n < 0 ) ? -1 : 1; 110 return ( sign * Math.floor(Math.abs(n)) ); 114 var sign = ( n < 0 ) ? -1 : 1; 120 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 127 var sign = ( n < 0 ) ? -1 : 1; 132 n = sign * Math.floor( Math.abs(n) ) 143 var sign = ( n < 0 ) ? -1 : 1; 149 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 177 var sign = ( n < 0 ) ? -1 : 1; 179 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.10-3.js | 89 var sign = ( n < 0 ) ? -1 : 1; 97 return ( sign * Math.floor(Math.abs(n)) ); 101 var sign = ( n < 0 ) ? -1 : 1; 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 114 var sign = ( n < 0 ) ? -1 : 1; 119 n = sign * Math.floor( Math.abs(n) ) 130 var sign = ( n < 0 ) ? -1 : 1; 136 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 164 var sign = ( n < 0 ) ? -1 : 1; 166 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.10-1.js | 90 var sign = ( n < 0 ) ? -1 : 1; 98 return ( sign * Math.floor(Math.abs(n)) ); 102 var sign = ( n < 0 ) ? -1 : 1; 108 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 115 var sign = ( n < 0 ) ? -1 : 1; 120 n = sign * Math.floor( Math.abs(n) ) 131 var sign = ( n < 0 ) ? -1 : 1; 137 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 165 var sign = ( n < 0 ) ? -1 : 1; 167 b += ( sign == 1 ) ? "0" : "1"; [all …]
|
D | 11.10-2.js | 89 var sign = ( n < 0 ) ? -1 : 1; 97 return ( sign * Math.floor(Math.abs(n)) ); 101 var sign = ( n < 0 ) ? -1 : 1; 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 114 var sign = ( n < 0 ) ? -1 : 1; 119 n = sign * Math.floor( Math.abs(n) ) 130 var sign = ( n < 0 ) ? -1 : 1; 136 n = ( sign * Math.floor( Math.abs(n) ) ) % Math.pow(2,16); 164 var sign = ( n < 0 ) ? -1 : 1; 166 b += ( sign == 1 ) ? "0" : "1"; [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/mesa3d/src/glsl/builtins/ir/ |
D | sign | 1 ((function sign 5 ((return (expression float sign (var_ref x))))) 10 ((return (expression vec2 sign (var_ref x))))) 15 ((return (expression vec3 sign (var_ref x))))) 20 ((return (expression vec4 sign (var_ref x))))) 25 ((return (expression int sign (var_ref x))))) 30 ((return (expression ivec2 sign (var_ref x))))) 35 ((return (expression ivec3 sign (var_ref x))))) 40 ((return (expression ivec4 sign (var_ref x)))))
|
/external/libvpx/vp8/encoder/x86/ |
D | subtract_sse2.asm | 103 pcmpgtb xmm1, xmm2 ; obtain sign information 107 punpcklbw xmm0, xmm1 ; put sign back to subtraction 108 punpckhbw xmm2, xmm3 ; put sign back to subtraction 121 pcmpgtb xmm5, xmm6 ; obtain sign information 125 punpcklbw xmm4, xmm5 ; put sign back to subtraction 126 punpckhbw xmm6, xmm7 ; put sign back to subtraction 175 psubb xmm0, xmm1 ; subtraction with sign missed 179 pcmpgtb xmm1, xmm2 ; obtain sign information 183 punpcklbw xmm0, xmm1 ; put sign back to subtraction 184 punpckhbw xmm2, xmm3 ; put sign back to subtraction [all …]
|
/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/qemu/distrib/sdl-1.2.12/src/video/ |
D | e_sqrt.h | 144 int32_t sign = (int)0x80000000; local 157 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */ 176 ix0 += ix0 + ((ix1&sign)>>31); 182 ix0 += ix0 + ((ix1&sign)>>31); 194 ix0 += ix0 + ((ix1&sign)>>31); 199 r = sign; 205 if(((int32_t)(t1&sign)==sign)&&(s1&sign)==0) s0 += 1; 211 ix0 += ix0 + ((ix1&sign)>>31); 231 if ((q&1)==1) ix1 |= sign;
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
D | qscriptconverter_p.h | 30 extern char *qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **digit… 81 int sign; in toString() local 84 (void)qdtoa(value, 0, 0, &decpt, &sign, &endresult, &result); in toString() 91 buf.resize(-decpt + 2 + sign); in toString() 92 qMemSet(buf.data(), '0', -decpt + 2 + sign); in toString() 93 if (sign) // fix the sign. in toString() 95 buf[sign + 1] = '.'; in toString() 98 if (sign) in toString() 100 int length = buf.size() - sign + resultLen; in toString()
|
/external/valgrind/main/VEX/switchback/ |
D | test_emfloat.c | 512 u8 sign; /* Mantissa sign */ member 526 uchar sign); 528 uchar sign); 693 uchar sign) in SetInternalFPFZero() argument 698 dest->sign=sign; in SetInternalFPFZero() 713 uchar sign) in SetInternalFPFInfinity() argument 718 dest->sign=sign; in SetInternalFPFInfinity() 738 dest->sign=1; in SetInternalFPFNaN() 960 SetInternalFPFZero(ptr, ptr->sign); in denormalize() 1087 if (x->sign ^ y->sign ^ operation) in AddSubInternalFPF() [all …]
|
/external/skia/src/utils/ |
D | SkParse.cpp | 141 int sign = 0; in FindS32() local 144 sign = -1; in FindS32() 158 *value = (n ^ sign) - sign; in FindS32() 167 int sign = 0; in FindMSec() local 170 sign = -1; in FindMSec() 197 *value = (n ^ sign) - sign; in FindMSec() 215 int sign = 0; in FindScalar() local 218 sign = -1; in FindScalar() 252 n = (n ^ sign) - sign; // apply the sign in FindScalar()
|
/external/valgrind/main/VEX/useful/ |
D | fp_80_64.c | 107 UChar sign; in convert_f64le_to_f80le() local 109 sign = toUChar( (f64[7] >> 7) & 1 ); in convert_f64le_to_f80le() 130 f80[9] = toUChar( sign << 7 ); in convert_f64le_to_f80le() 161 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le() 178 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le() 196 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le() 205 f80[9] = toUChar( (sign << 7) | 0x7F ); in convert_f64le_to_f80le() 219 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); in convert_f64le_to_f80le() 248 UChar sign; in convert_f80le_to_f64le() local 250 sign = toUChar((f80[9] >> 7) & 1); in convert_f80le_to_f64le() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
D | DERGeneralizedTime.java | 144 char sign = time.charAt(signPos); in getTime() local 145 if (sign == '-' || sign == '+') in getTime() 156 sign = time.charAt(signPos); in getTime() 157 if (sign == '-' || sign == '+') in getTime() 171 String sign = "+"; in calculateGMTOffset() local 176 sign = "-"; in calculateGMTOffset() 186 hours += sign.equals("+") ? 1 : -1; in calculateGMTOffset() 194 return "GMT" + sign + convert(hours) + ":" + convert(minutes); in calculateGMTOffset()
|
/external/dropbear/libtommath/ |
D | bn_mp_add.c | 24 sa = a->sign; in mp_add() 25 sb = b->sign; in mp_add() 31 c->sign = sa; in mp_add() 39 c->sign = sb; in mp_add() 42 c->sign = sa; in mp_add()
|
D | bn_mp_sub.c | 24 sa = a->sign; in mp_sub() 25 sb = b->sign; in mp_sub() 32 c->sign = sa; in mp_sub() 41 c->sign = sa; in mp_sub() 47 c->sign = (sa == MP_ZPOS) ? MP_NEG : MP_ZPOS; in mp_sub()
|
D | bn_mp_add_d.c | 33 if (a->sign == MP_NEG && (a->used > 1 || a->dp[0] >= b)) { in mp_add_d() 35 a->sign = MP_ZPOS; in mp_add_d() 41 a->sign = c->sign = MP_NEG; in mp_add_d() 53 c->sign = MP_ZPOS; in mp_add_d() 62 if (a->sign == MP_ZPOS) { in mp_add_d()
|
D | bn_mp_sub_d.c | 35 if (a->sign == MP_NEG) { in mp_sub_d() 36 a->sign = MP_ZPOS; in mp_sub_d() 38 a->sign = c->sign = MP_NEG; in mp_sub_d() 61 c->sign = MP_NEG; in mp_sub_d() 65 c->sign = MP_ZPOS; in mp_sub_d()
|
D | bn_mp_div.c | 73 n = a->sign; in mp_div() 74 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); in mp_div() 77 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2; in mp_div() 81 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n; in mp_div() 148 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; in mp_div() 149 x.sign = y.sign = MP_ZPOS; in mp_div() 243 if (x.sign == MP_NEG) { in mp_div() 263 x.sign = x.used == 0 ? MP_ZPOS : a->sign; in mp_div() 268 c->sign = neg; in mp_div()
|
/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.
|