/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_jn.c | 74 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 218 int32_t sign; local 227 sign = 1; 230 sign = 1 - ((n&1)<<1); 233 if(n==1) return(sign*__ieee754_y1(x)); 269 if(sign>0) return b; else return -b;
|
e_jnf.c | 49 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 170 int32_t sign; local 179 sign = 1; 182 sign = 1 - ((n&1)<<1); 185 if(n==1) return(sign*__ieee754_y1f(x)); 198 if(sign>0) return b; else return -b;
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl1Test.java | 34 * Class under test for int sign(byte[], int, int) 40 s.sign(b, 0, 5); 48 s.sign(b, 0, 5); 54 s.sign(b, 0, 5); 55 assertEquals("state", Signature.SIGN, s.getState()); 56 assertTrue("sign() failed", s.runEngineSign);
|
/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/libcxx/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 30 assert ( sign( sv1.compare(pos1, n1, s2, n2)) == sign(expected)); [all...] |
/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/skia/include/core/ |
SkFloatBits.h | 15 /** Convert a sign-bit int (i.e. float interpreted as int) into a 2s compliement 27 /** Convert a 2s compliment int to a sign-bit (i.e. int interpreted as float). 31 int sign = x >> 31; local 33 x = (x ^ sign) - sign; 34 // set the sign bit as needed 35 x |= sign << 31;
|
/external/skia/src/core/ |
SkFloatBits.cpp | 18 Floor and Cast are very similar, but Cast applies its sign after all other 81 // apply the sign after we check for overflow 84 // apply the sign before we right-shift 120 // apply the sign after we check for overflow 123 // apply the sign before we right-shift 150 // apply the sign after we check for overflow 153 // apply the sign before we right-shift 181 // record the sign and make value positive 182 int sign = SkExtractSign(value); local 183 value = SkApplySign(value, sign); [all...] |
SkMath.cpp | 59 // make numer and denom positive, and sign hold the resulting sign 60 int32_t sign = SkExtractSign(numer ^ denom); local 72 return SkApplySign(SK_MaxS32, sign); 111 return SkApplySign(result, sign);
|
/external/v8/test/cctest/ |
test-dtoa.cc | 64 int sign; local 66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); 70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); 75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); 80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); 84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); 90 DoubleToAscii(1.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); 96 DoubleToAscii(1.5, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); 100 DoubleToAscii(1.5, DTOA_FIXED, 10, buffer, &sign, &length, &point); 106 DoubleToAscii(1.5, DTOA_PRECISION, 10, buffer, &sign, &length, &point) 270 int sign; local 290 int sign; local 313 int sign; local [all...] |
/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; 131 cal.add(Calendar.DAY_OF_MONTH, sign*weeks*7); 132 cal.add(Calendar.DAY_OF_MONTH, sign*days); 133 cal.add(Calendar.HOUR, sign*hours); 134 cal.add(Calendar.MINUTE, sign*minutes); 135 cal.add(Calendar.SECOND, sign*seconds); 143 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;
|
/ndk/sources/android/support/src/stdio/ |
fpmath.h | 51 unsigned int sign :1; member in struct:IEEEf2bits::__anon27872 53 unsigned int sign :1; 70 unsigned int sign :1; member in struct:IEEEd2bits::__anon27873 76 unsigned int sign :1; 78 unsigned int sign :1;
|
/bionic/libm/ |
fpmath.h | 46 unsigned int sign :1; member in struct:IEEEf2bits::__anon1105 59 unsigned int sign :1; member in struct:IEEEd2bits::__anon1106 71 unsigned int sign :1; member in struct:IEEEl2bits::__anon1107
|
/external/aac/libAACenc/src/ |
aacenc_pns.cpp | 515 INT sign = (accu < FL2FXCONST_DBL(0.0f)) ? 1 : 0 ; local 519 ccf = (ccf>=FL2FXCONST_DBL(0.0)) ? ((FIXP_DBL)MAXVAL_DBL) : (sign) ? -CalcInvLdData(ccf) : CalcInvLdData(ccf);
|
/external/boringssl/src/crypto/bn/ |
gcd.c | 233 int sign; local 271 sign = -1; 275 * -sign*X*a == B (mod |n|), 276 * sign*Y*a == A (mod |n|). 289 * (1) -sign*X*a == B (mod |n|), 290 * (2) sign*Y*a == A (mod |n|) */ 344 * (1) -sign*X*a == B (mod |n|), 345 * (2) sign*Y*a == A (mod |n|), 349 /* -sign*(X + Y)*a == B - A (mod |n|) */ 359 /* sign*(X + Y)*a == A - B (mod |n|) * 546 int sign; local [all...] |
/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 == '-' ); 146 if ( sign ) 203 FT_Bool sign = 0; local 213 sign = FT_BOOL( *p == '-' ); 340 if ( sign )
|
/external/iproute2/tc/ |
f_flow.c | 101 int sign = 0; local 105 sign = 1; 127 if (sign)
|
/external/pdfium/third_party/freetype/src/psaux/ |
psconv.c | 91 FT_Bool sign = 0; local 109 sign = FT_BOOL( *p == '-' ); 146 if ( sign ) 203 FT_Bool sign = 0; local 213 sign = FT_BOOL( *p == '-' ); 340 if ( sign )
|
/external/v8/src/ |
dateparser-inl.h | 152 // Extra sign or ')' is illegal if a number has been read. 209 // Keep the sign token, so we can pass it back to the legacy 213 int sign = sign_token.ascii_sign(); local 215 if (sign < 0 && year == 0) return sign_token; 216 day->Add(sign * year);
|
/external/vixl/test/ |
test-invalset.cc | 198 int sign = ((i % 2) == 0) ? -1 : 1; local 199 set.insert(Obj(sign * i, i));
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
DrmPlugin.h | 198 virtual status_t sign( function in class:clearkeydrm::DrmPlugin
|