/external/dropbear/libtommath/ |
bn_mp_prime_is_prime.c | 28 int ix, err, res; local 39 for (ix = 0; ix < PRIME_SIZE; ix++) { 40 if (mp_cmp_d(a, ltm_prime_tab[ix]) == MP_EQ) { 61 for (ix = 0; ix < t; ix++) { 63 mp_set (&b, ltm_prime_tab[ix]);
|
bn_fast_s_mp_mul_digs.c | 36 int olduse, res, pa, ix, iz; local 52 for (ix = 0; ix < pa; ix++) { 58 ty = MIN(b->used-1, ix); 59 tx = ix - ty; 77 W[ix] = ((mp_digit)_W) & MP_MASK; 90 for (ix = 0; ix < pa+1; ix++) [all...] |
bn_fast_s_mp_mul_high_digs.c | 29 int olduse, res, pa, ix, iz; local 44 for (ix = digs; ix < pa; ix++) { 49 ty = MIN(b->used-1, ix); 50 tx = ix - ty; 67 W[ix] = ((mp_digit)_W) & MP_MASK; 81 for (ix = digs; ix < pa; ix++) [all...] |
bn_fast_s_mp_sqr.c | 30 int olduse, res, pa, ix, iz; local 44 for (ix = 0; ix < pa; ix++) { 53 ty = MIN(a->used-1, ix); 54 tx = ix - ty; 80 if ((ix&1) == 0) { 81 _W += ((mp_word)a->dp[ix>>1])*((mp_word)a->dp[ix>>1]); 85 W[ix] = (mp_digit)(_W & MP_MASK) [all...] |
bn_mp_reduce_is_2k.c | 21 int ix, iy, iw; local 34 for (ix = DIGIT_BIT; ix < iy; ix++) {
|
bn_s_mp_sqr.c | 22 int res, ix, iy, pa; local 34 for (ix = 0; ix < pa; ix++) { 35 /* first calculate the digit at 2*ix */ 37 r = ((mp_word) t.dp[2*ix]) + 38 ((mp_word)a->dp[ix])*((mp_word)a->dp[ix]); 41 t.dp[ix+ix] = (mp_digit) (r & ((mp_word) MP_MASK)) [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cos.c | 58 int32_t n, ix; local 61 GET_HIGH_WORD(ix,x); 64 ix &= 0x7fffffff; 65 if(ix <= 0x3fe921fb) { 66 if(ix<0x3e46a09e) /* if x < 2**-27 * sqrt(2) */ 72 else if (ix>=0x7ff00000) return x-x;
|
s_ilogb.c | 30 int32_t hx,lx,ix; local 39 for (ix = -1043; lx>0; lx<<=1) ix -=1; 41 for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1; 43 return ix;
|
s_sin.c | 58 int32_t n, ix; local 61 GET_HIGH_WORD(ix,x); 64 ix &= 0x7fffffff; 65 if(ix <= 0x3fe921fb) { 66 if(ix<0x3e500000) /* |x| < 2**-26 */ 72 else if (ix>=0x7ff00000) return x-x;
|
s_tan.c | 57 int32_t n, ix; local 60 GET_HIGH_WORD(ix,x); 63 ix &= 0x7fffffff; 64 if(ix <= 0x3fe921fb) { 65 if(ix<0x3e400000) /* x < 2**-27 */ 71 else if (ix>=0x7ff00000) return x-x; /* NaN */
|
e_sinh.c | 44 int32_t ix,jx; local 48 ix = jx&0x7fffffff; 51 if(ix>=0x7ff00000) return x+x; 56 if (ix < 0x40360000) { /* |x|<22 */ 57 if (ix<0x3e300000) /* |x|<2**-28 */ 60 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one)); 65 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x)); 68 if (ix<=0x408633CE)
|
e_sinhf.c | 28 int32_t ix,jx; local 31 ix = jx&0x7fffffff; 34 if(ix>=0x7f800000) return x+x; 39 if (ix < 0x41100000) { /* |x|<9 */ 40 if (ix<0x39800000) /* |x|<2**-12 */ 43 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one)); 48 if (ix < 0x42b17217) return h*__ieee754_expf(fabsf(x)); 51 if (ix<=0x42b2d4fc)
|
s_scalbnf.c | 34 int32_t k,ix; local 35 GET_FLOAT_WORD(ix,x); 36 k = (ix&0x7f800000)>>23; /* extract exponent */ 38 if ((ix&0x7fffffff)==0) return x; /* +-0 */ 40 GET_FLOAT_WORD(ix,x); 41 k = ((ix&0x7f800000)>>23) - 25; 48 {SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23)); return x;} 54 SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23));
|
s_ilogbf.c | 26 int32_t hx,ix; local 34 for (ix = -126,hx<<=8; hx>0; hx<<=1) ix -=1; 35 return ix;
|
s_copysignf.c | 31 u_int32_t ix,iy; local 32 GET_FLOAT_WORD(ix,x); 34 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
|
e_atanh.c | 48 int32_t hx,ix; local 51 ix = hx&0x7fffffff; 52 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */ 54 if(ix==0x3ff00000) 56 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */ 57 SET_HIGH_WORD(x,ix); 58 if(ix<0x3fe00000) { /* x < 0.5 */
|
e_atanhf.c | 30 int32_t hx,ix; local 32 ix = hx&0x7fffffff; 33 if (ix>0x3f800000) /* |x|>1 */ 35 if(ix==0x3f800000) 37 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */ 38 SET_FLOAT_WORD(x,ix); 39 if(ix<0x3f000000) { /* x < 0.5 */
|
s_asinh.c | 41 int32_t hx,ix; local 43 ix = hx&0x7fffffff; 44 if(ix>=0x7ff00000) return x+x; /* x is inf or NaN */ 45 if(ix< 0x3e300000) { /* |x|<2**-28 */ 48 if(ix>0x41b00000) { /* |x| > 2**28 */ 50 } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
|
s_asinhf.c | 31 int32_t hx,ix; local 33 ix = hx&0x7fffffff; 34 if(ix>=0x7f800000) return x+x; /* x is inf or NaN */ 35 if(ix< 0x31800000) { /* |x|<2**-28 */ 38 if(ix>0x4d800000) { /* |x| > 2**28 */ 40 } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
|
s_modff.c | 38 u_int32_t ix; local 40 GET_FLOAT_WORD(ix,x); 41 SET_FLOAT_WORD(x,ix&0x80000000); /* return +-0 */ 49 u_int32_t ix; local 53 GET_FLOAT_WORD(ix,x); 54 SET_FLOAT_WORD(x,ix&0x80000000); /* return +-0 */
|
s_tanh.c | 49 int32_t jx,ix; local 52 ix = jx&0x7fffffff; 55 if(ix>=0x7ff00000) { 61 if (ix < 0x40360000) { /* |x|<22 */ 62 if (ix<0x3e300000) { /* |x|<2**-28 */ 65 if (ix>=0x3ff00000) { /* |x|>=1 */
|
/external/chromium_org/third_party/opus/src/silk/float/ |
LPC_analysis_filter_FLP.c | 50 opus_int ix; local 54 for( ix = 16; ix < length; ix++ ) { 55 s_ptr = &s[ix - 1]; 76 r_LPC[ix] = s_ptr[ 1 ] - LPC_pred; 88 opus_int ix; local 92 for( ix = 12; ix < length; ix++ ) 122 opus_int ix; local 154 opus_int ix; local 184 opus_int ix; local [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
stereo_quant_pred.c | 37 opus_int8 ix[ 2 ][ 3 ] /* O Quantization indices */ 57 ix[ n ][ 0 ] = i; 58 ix[ n ][ 1 ] = j; 66 ix[ n ][ 2 ] = silk_DIV32_16( ix[ n ][ 0 ], 3 ); 67 ix[ n ][ 0 ] -= ix[ n ][ 2 ] * 3;
|
/external/fdlibm/ |
e_atanh.c | 51 int hx,ix; local 55 ix = hx&0x7fffffff; 56 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */ 58 if(ix==0x3ff00000) 60 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */ 61 __HI(x) = ix; /* x <- |x| */ 62 if(ix<0x3fe00000) { /* x < 0.5 */
|
e_cosh.c | 51 int ix; local 55 ix = __HI(x); 56 ix &= 0x7fffffff; 59 if(ix>=0x7ff00000) return x*x; 62 if(ix<0x3fd62e43) { 65 if (ix<0x3c800000) return w; /* ieee_cosh(tiny) = 1 */ 70 if (ix < 0x40360000) { 76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x)); 80 if (ix<0x408633CE || 81 (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) [all...] |