/external/dropbear/libtommath/ |
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...] |
bn_fast_mp_montgomery_reduce.c | 28 int ix, res, olduse; local 55 for (ix = 0; ix < x->used; ix++) { 60 for (; ix < n->used * 2 + 1; ix++) { 68 for (ix = 0; ix < n->used; ix++) { 73 * that W[ix-1] have the carry cleared (see after the inner loop [all...] |
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_s_mp_mul_digs.c | 25 int res, pa, pb, ix, iy; local 44 for (ix = 0; ix < pa; ix++) { 49 pb = MIN (b->used, digs - ix); 53 tmpx = a->dp[ix]; 55 /* an alias for the destination shifted ix places */ 56 tmpt = t.dp + ix; 75 if (ix + iy < digs) {
|
/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...] |
e_sinh.c | 48 int ix,jx; local 53 ix = jx&0x7fffffff; 56 if(ix>=0x7ff00000) return x+x; 61 if (ix < 0x40360000) { /* |x|<22 */ 62 if (ix<0x3e300000) /* |x|<2**-28 */ 65 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one)); 70 if (ix < 0x40862E42) return h*__ieee754_exp(ieee_fabs(x)); 74 if (ix<0x408633CE || (ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) {
|
s_asinh.c | 44 int hx,ix; local 46 ix = hx&0x7fffffff; 47 if(ix>=0x7ff00000) return x+x; /* x is inf or NaN */ 48 if(ix< 0x3e300000) { /* |x|<2**-28 */ 51 if(ix>0x41b00000) { /* |x| > 2**28 */ 53 } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
|
s_tanh.c | 54 int jx,ix; local 58 ix = jx&0x7fffffff; 61 if(ix>=0x7ff00000) { 67 if (ix < 0x40360000) { /* |x|<22 */ 68 if (ix<0x3c800000) /* |x|<2**-55 */ 70 if (ix>=0x3ff00000) { /* |x|>=1 */
|
/external/skia/tests/ |
TestSize.cpp | 30 int ix = 5; local 32 SkScalar x = SkIntToScalar(ix); 54 ia.set(ix, iy);
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
gmed_n.cpp | 130 Word16 i, j, ix = 0; 149 ix = j; 152 tmp2[ix] = -32768; 153 tmp[i] = ix; 188 register Word16 i, j, ix = 0; local 207 ix = j; 210 *(tmp2 + ix) = -32768; 211 *(tmp + i) = ix;
|
/bionic/libm/src/ |
e_atan2f.c | 35 int32_t k,m,hx,hy,ix,iy; local 38 ix = hx&0x7fffffff; 41 if((ix>0x7f800000)|| 57 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; 60 if(ix==0x7f800000) { 81 k = (iy-ix)>>23;
|
e_fmod.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local 51 /* determine ix = ilogb(x) */ 54 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 56 for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1; 58 } else ix = (hx>>20)-1023; 70 if(ix >= -1022) 73 n = -1022-ix; 96 n = ix - iy [all...] |
e_fmodf.c | 34 int32_t n,hx,hy,hz,ix,iy,sx,i; local 50 /* determine ix = ilogb(x) */ 52 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1; 53 } else ix = (hx>>23)-127; 61 if(ix >= -126) 64 n = -126-ix; 75 n = ix - iy;
|
e_sqrtf.c | 30 int32_t ix,s,q,m,t,i; local 33 GET_FLOAT_WORD(ix,x); 36 if((ix&0x7f800000)==0x7f800000) { 41 if(ix<=0) { 42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */ 43 else if(ix<0) 47 m = (ix>>23); 49 for(i=0;(ix&0x00800000)==0;i++) ix<<=1; 53 ix = (ix&0x007fffff)|0x00800000 [all...] |
k_tan.c | 82 int32_t ix, hx; local 85 ix = hx & 0x7fffffff; /* high word of |x| */ 86 if (ix >= 0x3FE59428) { /* |x| >= 0.6744 */ 111 if (ix >= 0x3FE59428) {
|
s_atan.c | 76 int32_t ix,hx,id; local 79 ix = hx&0x7fffffff; 80 if(ix>=0x44100000) { /* if |x| >= 2^66 */ 83 if(ix>0x7ff00000|| 84 (ix==0x7ff00000&&(low!=0))) 88 } if (ix < 0x3fdc0000) { /* |x| < 0.4375 */ 89 if (ix < 0x3e200000) { /* |x| < 2^-29 */ 95 if (ix < 0x3ff30000) { /* |x| < 1.1875 */ 96 if (ix < 0x3fe60000) { /* 7/16 <=|x|<11/16 */ 102 if (ix < 0x40038000) { /* |x| < 2.4375 * [all...] |
s_atanf.c | 59 int32_t ix,hx,id; local 62 ix = hx&0x7fffffff; 63 if(ix>=0x50800000) { /* if |x| >= 2^34 */ 64 if(ix>0x7f800000) 68 } if (ix < 0x3ee00000) { /* |x| < 0.4375 */ 69 if (ix < 0x31000000) { /* |x| < 2^-29 */ 75 if (ix < 0x3f980000) { /* |x| < 1.1875 */ 76 if (ix < 0x3f300000) { /* 7/16 <=|x|<11/16 */ 82 if (ix < 0x401c0000) { /* |x| < 2.4375 */
|
s_cosf.c | 39 int32_t n, hx, ix; local 42 ix = hx & 0x7fffffff; 44 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ 45 if(ix<0x39800000) /* |x| < 2**-12 */ 49 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ 50 if(ix>0x4016cbe3) /* |x| ~> 3*pi/4 */ 59 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ 60 if(ix>0x40afeddf) /* |x| ~> 7*pi/4 */ 71 else if (ix>=0x7f800000) return x-x;
|
s_remquo.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local 57 /* determine ix = ilogb(x) */ 60 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; 62 for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1; 64 } else ix = (hx>>20)-1023; 76 if(ix >= -1022) 79 n = -1022-ix; 102 n = ix - iy [all...] |
s_remquof.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local 53 /* determine ix = ilogb(x) */ 55 for (ix = -126,i=(hx<<8); i>0; i<<=1) ix -=1; 56 } else ix = (hx>>23)-127; 64 if(ix >= -126) 67 n = -126-ix; 78 n = ix - iy;
|
s_sinf.c | 39 int32_t n, hx, ix; local 42 ix = hx & 0x7fffffff; 44 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ 45 if(ix<0x39800000) /* |x| < 2**-12 */ 49 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ 50 if(ix<=0x4016cbe3) { /* |x| ~<= 3pi/4 */ 58 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ 59 if(ix<=0x40afeddf) { /* |x| ~<= 7*pi/4 */ 69 else if (ix>=0x7f800000) return x-x;
|
s_tanf.c | 37 int32_t n, hx, ix; local 40 ix = hx & 0x7fffffff; 42 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ 43 if(ix<0x39800000) /* |x| < 2**-12 */ 47 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ 48 if(ix<=0x4016cbe3) /* |x| ~<= 3pi/4 */ 53 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ 54 if(ix<=0x40afeddf) /* |x| ~<= 7*pi/4 */ 61 else if (ix>=0x7f800000) return x-x;
|