/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cbrt.c | 45 u_int32_t sign; local 49 sign=hx&0x80000000; /* sign= sign(x) */ 50 hx ^=sign; 74 INSERT_WORDS(t,sign|((high&0x7fffffff)/3+B2),0); 76 INSERT_WORDS(t,sign|(hx/3+B1),0);
|
e_jnf.c | 55 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 176 int32_t sign; local 184 sign = 1; 187 sign = 1 - ((n&1)<<1); 190 if(n==1) return(sign*__ieee754_y1f(x)); 203 if(sign>0) return b; else return -b;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
strtod.c | 7 with bugfix for "123000.0" and acceptance of space after 'e' sign nuked.
67 int sign, scale, dotseen;
local 77 sign = 1;
78 if (*sp == '-') sign -= 2, sp++;
140 /* Now the number is sign*0.fraction*10**expt */
143 return HUGE*sign;
146 if (strcmp(buforg, MDMAXFRAC) > 0) return HUGE*sign;
149 return ZERO*sign;
152 if (strcmp(buforg, MDMINFRAC) < 0) return ZERO*sign;
158 return atof(buffer)*sign;
[all...] |
/external/deqp/framework/delibs/debase/ |
deFloat16.c | 30 deUint32 sign; local 40 sign = (x.u >> 16u) & 0x00008000u; 49 return (deFloat16) sign; 64 return (deFloat16) (sign | mantissa); 71 return (deFloat16) (sign | 0x7c00u); 77 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); 95 return (deFloat16) (sign | 0x7c00u); 98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); 145 deUint32 sign; /* sign : 0000 0000 0000 0000 X000 0000 0000 0000 * local 261 deUint32 sign; local [all...] |
/external/fio/ |
flow.c | 19 int sign; local 24 sign = td->o.flow > 0 ? 1 : -1; 25 if (sign * flow->flow_counter > td->o.flow_watermark) {
|
/external/libcups/cups/ |
snprintf.c | 36 sign, /* Sign of format width */ local 75 sign = *format++; 78 sign = 0; 290 if (sign == '-')
|
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 21 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); } function 28 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 31 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); [all...] |
/external/libxaac/decoder/ |
ixheaacd_ps_bitdec.c | 62 FLAG sign = (op < 0); local 64 if (sign) { 70 if (sign) { 79 FLAG sign = (op < 0); local 81 if (sign) { 91 if (sign) {
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_twoside.c | 40 float sign; /**< +1 or -1 */ member in struct:twoside_stage 81 if (header->det * twoside->sign < 0.0) { 131 * We'll multiply the primitive's determinant by this sign to determine 133 * sign = -1 for CCW, +1 for CW 135 twoside->sign = stage->draw->rasterizer->front_ccw ? -1.0f : 1.0f;
|
/external/mesa3d/src/util/ |
half_float.c | 41 * - It has no sign bias. 60 /* sign bit */ 142 /* sign bit */ 155 float sign = s ? -1.0f : 1.0f; local 156 return sign * mantissa * half_denorm;
|
/external/python/cpython2/Python/ |
strtod.c | 7 with bugfix for "123000.0" and acceptance of space after 'e' sign nuked. 67 int sign, scale, dotseen; local 77 sign = 1; 78 if (*sp == '-') sign -= 2, sp++; 140 /* Now the number is sign*0.fraction*10**expt */ 143 return HUGE*sign; 146 if (strcmp(buforg, MDMAXFRAC) > 0) return HUGE*sign; 149 return ZERO*sign; 152 if (strcmp(buforg, MDMINFRAC) < 0) return ZERO*sign; 158 return atof(buffer)*sign; [all...] |
/external/scapy/scapy/layers/tls/crypto/ |
pkcs1.py | 197 def sign(self, M, t="pkcs", h="sha256", mgf=None, L=None): member in class:_DecryptAndSignRSA 203 return self.key.sign(M, pad, h)
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
filterbanks_unittest.cc | 38 int sign = 1; local 41 sign *= -1; 42 data_ch1[i] = sign * WEBRTC_SPL_WORD32_MAX / (i * i + 1); 43 data_ch2[i] = sign * WEBRTC_SPL_WORD32_MIN / (i * i + 1);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d8_31pf.cpp | 80 /* define values/representation for output codevector and sign */ 276 indx[] -- array of type Word16 -- position and sign of 343 Word16 indx[], /* i : position and sign of 8 pulses (compressed) */ 500 index array of type Word16 -- index of 8 pulses (sign+position) 559 Word16 index[], /* i : index of 8 pulses (sign+position) */ 568 Word16 sign; local 594 sign = POS_CODE; /* +1.0 */ 598 sign = -NEG_CODE; /* -1.0 */ 603 cod[pos1] = sign; /* avoid buffer overflow */ 614 sign = negate(sign) [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
Duration.java | 31 public int sign; // 1 or -1 field in class:Duration 40 sign = 1; 49 sign = 1; 66 sign = -1; 134 cal.add(Calendar.DAY_OF_MONTH, sign*weeks*7); 135 cal.add(Calendar.DAY_OF_MONTH, sign*days); 136 cal.add(Calendar.HOUR, sign*hours); 137 cal.add(Calendar.MINUTE, sign*minutes); 138 cal.add(Calendar.SECOND, sign*seconds); 146 long factor = 1000 * sign; [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
G711Codec.cpp | 52 int sign = (sample >> 8) & 0x80; local 62 ulaws[i] = ~(sign | (exponent << 4) | mantissa); 103 int sign = (sample >> 8) & 0x80; local 112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 21 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); } function 39 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string.view.ops/ |
compare.size_size_sv_pointer_size.pass.cpp | 21 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); } function 28 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); 31 assert(sign(sv1.compare(pos1, n1, s2, n2)) == sign(expected)); [all...] |
/bionic/libc/tzcode/ |
bionic.cpp | 53 // POSIX and Java disagree about the sign in a timezone string. For POSIX, "GMT+3" means 56 // by Java, we flip the sign here to translate from Java to POSIX. http://b/25463955. 57 char sign = name[3]; local 58 if (sign == '-' || sign == '+') { 60 buf[3] = (sign == '-') ? '+' : '-';
|
/bionic/libm/ |
fpmath.h | 45 unsigned int sign :1; member in struct:IEEEf2bits::__anon1463 58 unsigned int sign :1; member in struct:IEEEd2bits::__anon1464 70 unsigned int sign :1; member in struct:IEEEl2bits::__anon1465
|
/external/aac/libAACenc/src/ |
aacenc_pns.cpp | 466 INT sign = (accu < FL2FXCONST_DBL(0.0f)) ? 1 : 0; local 474 : (sign) ? -CalcInvLdData(ccf) : CalcInvLdData(ccf);
|
/external/fdlibm/ |
e_jn.c | 79 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 222 int sign; local 232 sign = 1; 235 sign = 1 - ((n&1)<<1); 238 if(n==1) return(sign*__ieee754_y1(x)); 271 if(sign>0) return b; else return -b;
|
/external/freetype/src/psaux/ |
psconv.c | 91 FT_Bool sign = 0; local 109 sign = FT_BOOL( *p == '-' ); 115 /* only a single sign is allowed */ 150 if ( sign ) 207 FT_Bool sign = 0; local 217 sign = FT_BOOL( *p == '-' ); 223 /* only a single sign is allowed */ 348 if ( sign )
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
MacroProps.java | 30 public SignDisplay sign; field in class:MacroProps 52 if (sign == null) sign = fallback.sign; 71 sign, 93 && Utility.equals(sign, other.sign)
|
MicroProps.java | 18 public SignDisplay sign; field in class:MicroProps
|