Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 25 of 180) sorted by relevance

12345678

/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_sqrtf.c41 if(ix<=0) { in __ieee754_sqrtf()
47 m = (ix>>23); in __ieee754_sqrtf()
49 for(i=0;(ix&0x00800000)==0;i++) ix<<=1; in __ieee754_sqrtf()
53 ix = (ix&0x007fffff)|0x00800000; in __ieee754_sqrtf()
55 ix += ix; in __ieee754_sqrtf()
59 ix += ix; in __ieee754_sqrtf()
65 if(t<=ix) { in __ieee754_sqrtf()
67 ix -= t; in __ieee754_sqrtf()
70 ix += ix; in __ieee754_sqrtf()
75 if(ix!=0) { in __ieee754_sqrtf()
[all …]
H A De_j0.c89 int32_t hx,ix; in __ieee754_j0() local
92 ix = hx&0x7fffffff; in __ieee754_j0()
149 int32_t hx,ix,lx; in __ieee754_y0() local
152 ix = 0x7fffffff&hx; in __ieee754_y0()
160 if((ix|lx)==0) return -one/vzero; in __ieee754_y0()
281 int32_t ix; in pzero() local
282 GET_HIGH_WORD(ix,x); in pzero()
283 ix &= 0x7fffffff; in pzero()
378 int32_t ix; in qzero() local
379 GET_HIGH_WORD(ix,x); in qzero()
[all …]
H A De_j0f.c51 int32_t hx,ix; in __ieee754_j0f() local
54 ix = hx&0x7fffffff; in __ieee754_j0f()
111 int32_t hx,ix; in __ieee754_y0f() local
114 ix = 0x7fffffff&hx; in __ieee754_y0f()
116 if(ix==0) return -one/vzero; in __ieee754_y0f()
235 int32_t ix; in pzerof() local
236 GET_FLOAT_WORD(ix,x); in pzerof()
237 ix &= 0x7fffffff; in pzerof()
332 int32_t ix; in qzerof() local
333 GET_FLOAT_WORD(ix,x); in qzerof()
[all …]
H A De_j1.c90 int32_t hx,ix; in __ieee754_j1() local
93 ix = hx&0x7fffffff; in __ieee754_j1()
94 if(ix>=0x7ff00000) return one/x; in __ieee754_j1()
146 int32_t hx,ix,lx; in __ieee754_y1() local
149 ix = 0x7fffffff&hx; in __ieee754_y1()
275 int32_t ix; in pone() local
276 GET_HIGH_WORD(ix,x); in pone()
277 ix &= 0x7fffffff; in pone()
372 int32_t ix; in qone() local
373 GET_HIGH_WORD(ix,x); in qone()
[all …]
H A De_j1f.c52 int32_t hx,ix; in __ieee754_j1f() local
55 ix = hx&0x7fffffff; in __ieee754_j1f()
108 int32_t hx,ix; in __ieee754_y1f() local
111 ix = 0x7fffffff&hx; in __ieee754_y1f()
113 if(ix==0) return -one/vzero; in __ieee754_y1f()
230 int32_t ix; in ponef() local
231 GET_FLOAT_WORD(ix,x); in ponef()
232 ix &= 0x7fffffff; in ponef()
327 int32_t ix; in qonef() local
328 GET_FLOAT_WORD(ix,x); in qonef()
[all …]
H A Ds_logbf.c28 int32_t ix; in logbf() local
29 GET_FLOAT_WORD(ix,x); in logbf()
30 ix &= 0x7fffffff; /* high |x| */ in logbf()
31 if(ix==0) return (float)-1.0/fabsf(x); in logbf()
32 if(ix>=0x7f800000) return x*x; in logbf()
33 if(ix<0x00800000) { in logbf()
35 GET_FLOAT_WORD(ix,x); in logbf()
36 ix &= 0x7fffffff; in logbf()
37 return (float) ((ix>>23)-127-25); in logbf()
39 return (float) ((ix>>23)-127); in logbf()
H A De_logf.c39 int32_t k,ix,i,j; in __ieee754_logf() local
41 GET_FLOAT_WORD(ix,x); in __ieee754_logf()
44 if (ix < 0x00800000) { /* x < 2**-126 */ in __ieee754_logf()
45 if ((ix&0x7fffffff)==0) in __ieee754_logf()
49 GET_FLOAT_WORD(ix,x); in __ieee754_logf()
51 if (ix >= 0x7f800000) return x+x; in __ieee754_logf()
52 k += (ix>>23)-127; in __ieee754_logf()
53 ix &= 0x007fffff; in __ieee754_logf()
54 i = (ix+(0x95f64<<3))&0x800000; in __ieee754_logf()
74 i = ix-(0x6147a<<3); in __ieee754_logf()
[all …]
H A Ds_logb.c33 int32_t lx,ix; in logb() local
34 EXTRACT_WORDS(ix,lx,x); in logb()
35 ix &= 0x7fffffff; /* high |x| */ in logb()
36 if((ix|lx)==0) return -1.0/fabs(x); in logb()
37 if(ix>=0x7ff00000) return x*x; in logb()
38 if(ix<0x00100000) { in logb()
40 GET_HIGH_WORD(ix,x); in logb()
41 ix &= 0x7fffffff; in logb()
42 return (double) ((ix>>20)-1023-54); in logb()
44 return (double) ((ix>>20)-1023); in logb()
H A Ds_erff.c83 int32_t hx,ix,i; in erff() local
86 ix = hx&0x7fffffff; in erff()
87 if(ix>=0x7f800000) { /* erff(nan)=nan */ in erff()
92 if(ix < 0x3f580000) { /* |x|<0.84375 */ in erff()
93 if(ix < 0x38800000) { /* |x|<2**-14 */ in erff()
110 if (ix >= 0x40800000) { /* inf>|x|>=4 */ in erff()
130 int32_t hx,ix; in erfcf() local
133 ix = hx&0x7fffffff; in erfcf()
139 if(ix < 0x3f580000) { /* |x|<0.84375 */ in erfcf()
140 if(ix < 0x33800000) /* |x|<2**-24 */ in erfcf()
[all …]
H A De_pow.c106 int32_t hx,hy,ix,iy; in __ieee754_pow() local
111 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_pow()
120 if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) || in __ieee754_pow()
147 if(((ix-0x3ff00000)|lx)==0) in __ieee754_pow()
167 if(ix==0x7ff00000||ix==0||ix==0x3ff00000){ in __ieee754_pow()
171 if(((ix-0x3ff00000)|yisint)==0) { in __ieee754_pow()
214 if(ix<0x00100000) in __ieee754_pow()
216 n += ((ix)>>20)-0x3ff; in __ieee754_pow()
217 j = ix&0x000fffff; in __ieee754_pow()
222 else {k=0;n+=1;ix -= 0x00100000;} in __ieee754_pow()
[all …]
H A De_coshf.c28 int32_t ix; in __ieee754_coshf() local
30 GET_FLOAT_WORD(ix,x); in __ieee754_coshf()
31 ix &= 0x7fffffff; in __ieee754_coshf()
34 if(ix>=0x7f800000) return x*x; in __ieee754_coshf()
37 if(ix<0x3eb17218) { in __ieee754_coshf()
40 if (ix<0x39800000) return one; /* cosh(tiny) = 1 */ in __ieee754_coshf()
45 if (ix < 0x41100000) { in __ieee754_coshf()
51 if (ix < 0x42b17217) return half*__ieee754_expf(fabsf(x)); in __ieee754_coshf()
54 if (ix<=0x42b2d4fc) in __ieee754_coshf()
H A De_rem_pio2.c59 int32_t e0,i,j,nx,n,ix,hx; in __ieee754_rem_pio2() local
63 ix = hx&0x7fffffff; in __ieee754_rem_pio2()
68 if (ix <= 0x400f6a7a) { /* |x| ~<= 5pi/4 */ in __ieee754_rem_pio2()
71 if (ix <= 0x4002d97c) { /* |x| ~<= 3pi/4 */ in __ieee754_rem_pio2()
97 if (ix <= 0x401c463b) { /* |x| ~<= 9pi/4 */ in __ieee754_rem_pio2()
98 if (ix <= 0x4015fdbc) { /* |x| ~<= 7pi/4 */ in __ieee754_rem_pio2()
99 if (ix == 0x4012d97c) /* |x| ~= 3pi/2 */ in __ieee754_rem_pio2()
113 if (ix == 0x401921fb) /* |x| ~= 4pi/2 */ in __ieee754_rem_pio2()
136 j = ix>>20; in __ieee754_rem_pio2()
163 if(ix>=0x7ff00000) { /* x is inf or NaN */ in __ieee754_rem_pio2()
[all …]
H A De_cosh.c49 int32_t ix; in __ieee754_cosh() local
52 GET_HIGH_WORD(ix,x); in __ieee754_cosh()
53 ix &= 0x7fffffff; in __ieee754_cosh()
56 if(ix>=0x7ff00000) return x*x; in __ieee754_cosh()
59 if(ix<0x3fd62e43) { in __ieee754_cosh()
62 if (ix<0x3c800000) return w; /* cosh(tiny) = 1 */ in __ieee754_cosh()
67 if (ix < 0x40360000) { in __ieee754_cosh()
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x)); in __ieee754_cosh()
76 if (ix<=0x408633CE) in __ieee754_cosh()
H A De_lgammaf_r.c127 int i,ix; in __ieee754_lgammaf_r() local
133 ix = hx&0x7fffffff; in __ieee754_lgammaf_r()
134 if(ix>=0x7f800000) return x*x; in __ieee754_lgammaf_r()
138 if(ix<0x32000000) { /* |x|<2**-27, return -log(|x|) */ in __ieee754_lgammaf_r()
139 if(ix==0) in __ieee754_lgammaf_r()
157 if (ix==0x3f800000||ix==0x40000000) r = 0; in __ieee754_lgammaf_r()
159 else if(ix<0x40000000) { in __ieee754_lgammaf_r()
162 if(ix>=0x3f3b4a20) {y = one-x; i= 0;} in __ieee754_lgammaf_r()
163 else if(ix>=0x3e6d3308) {y= x-(tc-one); i=1;} in __ieee754_lgammaf_r()
188 else if(ix<0x41000000) { in __ieee754_lgammaf_r()
[all …]
H A Ds_tanf.c40 int32_t n, hx, ix; in tanf() local
43 ix = hx & 0x7fffffff; in tanf()
45 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ in tanf()
46 if(ix<0x39800000) /* |x| < 2**-12 */ in tanf()
50 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ in tanf()
51 if(ix<=0x4016cbe3) /* |x| ~<= 3pi/4 */ in tanf()
56 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ in tanf()
57 if(ix<=0x40afeddf) /* |x| ~<= 7*pi/4 */ in tanf()
64 else if (ix>=0x7f800000) return x-x; in tanf()
H A Ds_cosf.c42 int32_t n, hx, ix; in cosf() local
45 ix = hx & 0x7fffffff; in cosf()
47 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ in cosf()
48 if(ix<0x39800000) /* |x| < 2**-12 */ in cosf()
52 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ in cosf()
53 if(ix>0x4016cbe3) /* |x| ~> 3*pi/4 */ in cosf()
62 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ in cosf()
63 if(ix>0x40afeddf) /* |x| ~> 7*pi/4 */ in cosf()
74 else if (ix>=0x7f800000) return x-x; in cosf()
H A Ds_sinf.c42 int32_t n, hx, ix; in sinf() local
45 ix = hx & 0x7fffffff; in sinf()
47 if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ in sinf()
48 if(ix<0x39800000) /* |x| < 2**-12 */ in sinf()
52 if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ in sinf()
53 if(ix<=0x4016cbe3) { /* |x| ~<= 3pi/4 */ in sinf()
61 if(ix<=0x40e231d5) { /* |x| ~<= 9*pi/4 */ in sinf()
62 if(ix<=0x40afeddf) { /* |x| ~<= 7*pi/4 */ in sinf()
72 else if (ix>=0x7f800000) return x-x; in sinf()
H A Ds_atan.c77 int32_t ix,hx,id; in atan() local
80 ix = hx&0x7fffffff; in atan()
81 if(ix>=0x44100000) { /* if |x| >= 2^66 */ in atan()
84 if(ix>0x7ff00000|| in atan()
85 (ix==0x7ff00000&&(low!=0))) in atan()
89 } if (ix < 0x3fdc0000) { /* |x| < 0.4375 */ in atan()
90 if (ix < 0x3e400000) { /* |x| < 2^-27 */ in atan()
96 if (ix < 0x3ff30000) { /* |x| < 1.1875 */ in atan()
97 if (ix < 0x3fe60000) { /* 7/16 <=|x|<11/16 */ in atan()
103 if (ix < 0x40038000) { /* |x| < 2.4375 */ in atan()
H A De_powf.c64 int32_t hx,hy,ix,iy,is; in __ieee754_powf() local
68 ix = hx&0x7fffffff; iy = hy&0x7fffffff; in __ieee754_powf()
77 if(ix > 0x7f800000 || in __ieee754_powf()
98 if (ix==0x3f800000) in __ieee754_powf()
116 if(ix==0x7f800000||ix==0||ix==0x3f800000){ in __ieee754_powf()
120 if(((ix-0x3f800000)|yisint)==0) { in __ieee754_powf()
155 if(ix<0x00800000) in __ieee754_powf()
157 n += ((ix)>>23)-0x7f; in __ieee754_powf()
158 j = ix&0x007fffff; in __ieee754_powf()
163 else {k=0;n+=1;ix -= 0x00800000;} in __ieee754_powf()
[all …]
H A Ds_atanf.c52 int32_t ix,hx,id; in atanf() local
55 ix = hx&0x7fffffff; in atanf()
56 if(ix>=0x4c800000) { /* if |x| >= 2**26 */ in atanf()
57 if(ix>0x7f800000) in atanf()
61 } if (ix < 0x3ee00000) { /* |x| < 0.4375 */ in atanf()
62 if (ix < 0x39800000) { /* |x| < 2**-12 */ in atanf()
68 if (ix < 0x3f980000) { /* |x| < 1.1875 */ in atanf()
69 if (ix < 0x3f300000) { /* 7/16 <=|x|<11/16 */ in atanf()
75 if (ix < 0x401c0000) { /* |x| < 2.4375 */ in atanf()
/aosp12/frameworks/av/media/codec2/vndk/util/
H A DC2ParamUtils.cpp72 for (size_t ix = 0; ix < name.size(); ++ix) { in camelCaseToDashed() local
75 << name.substr(ix, 1) << "]" << name.substr(ix + 1) in camelCaseToDashed()
77 if (isupper(name[ix])) { in camelCaseToDashed()
80 word_start = ix; in camelCaseToDashed()
82 name[ix] = tolower(name[ix]); in camelCaseToDashed()
87 word_start = ix; in camelCaseToDashed()
90 word_start = ix - 1; in camelCaseToDashed()
96 word_start = ix; in camelCaseToDashed()
101 name.erase(ix--, 1); in camelCaseToDashed()
103 name[ix] = '-'; in camelCaseToDashed()
[all …]
/aosp12/frameworks/rs/driver/runtime/
H A Drs_f16_math.c32 short hx, ix; in frexp() local
36 ix = hx & 0x7fff; in frexp()
39 if (ix >= 0x7c00 || ix == 0) return x; // NaN, infinity or zero in frexp()
40 if (ix <= 0x0400) { in frexp()
45 ix = hx & 0x7fff; in frexp()
62 short hx, ix; in ilogb() local
70 ix -= 1; in ilogb()
71 return ix; in ilogb()
106 unsigned short ix; in modf() local
118 short hx, hy, ix, iy; in nextafter() local
[all …]
/aosp12/frameworks/minikin/tools/
H A Dmk_hyb_file.py91 def is_free(self, ix): argument
96 def use(self, ix): argument
100 self.succ[self.pred[ix]] = self.succ[ix]
104 self.pred[self.succ[ix]] = self.pred[ix]
107 self.pred[ix] = -1
208 if (ix >= 0 and nodes.is_free(ix) and
218 node.ix = ix
232 ix = 0
242 ix += 1
266 dedup_ix[ix] = ix
[all …]
/aosp12/frameworks/av/media/libstagefright/foundation/
H A DAStringUtils.cpp32 size_t ix = 0, globIx = 0; in MatchesGlob() local
41 ix = globIx; in MatchesGlob()
55 if (ix + len > strLen) { in MatchesGlob()
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob()
63 ++ix; in MatchesGlob()
65 if (ix + len > strLen) { in MatchesGlob()
68 ix += len; in MatchesGlob()
73 return ix == strLen; in MatchesGlob()
/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DMediaCodec_sanity_test.cpp131 size_t ix; in TEST_P() local
134 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P()
160 size_t ix; in TEST_P() local
163 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P()
193 size_t ix; in TEST_P() local
196 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P()
226 size_t ix; in TEST_F() local
255 EXPECT_EQ(codec->getOutputBuffer(ix, &buf), OK); in TEST_F()
308 size_t ix; in TEST_P() local
432 for (ix = 0; ix < 3; ++ix) { in TEST_P()
[all …]

12345678