Home
last modified time | relevance | path

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

12345678910>>...13

/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-segnames.c148 is_freeslot(UInt ix) in is_freeslot() argument
150 aspacem_assert(ix >= overhead && ix <= segnames_used); in is_freeslot()
151 return (segnames[ix - 4] & fbit_mask) != 0; in is_freeslot()
155 put_slotindex(UInt ix, UInt slotindex) in put_slotindex() argument
157 aspacem_assert(ix >= overhead && ix <= segnames_used); in put_slotindex()
162 segnames[ix - 1] = slotindex & 0xFF; slotindex >>= 8; in put_slotindex()
163 segnames[ix - 2] = slotindex & 0xFF; slotindex >>= 8; in put_slotindex()
164 segnames[ix - 3] = slotindex & 0xFF; slotindex >>= 8; in put_slotindex()
165 segnames[ix - 4] = slotindex & 0xFF; in put_slotindex()
169 get_slotindex(UInt ix) in get_slotindex() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2_16.java70 int ix; in get() local
77 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
78 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
79 value = index[ix]; in get()
89 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
90 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
91 value = index[ix]; in get()
96ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
97 ix = index[ix]; in get()
98 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
[all …]
DTrie2_32.java69 int ix; in get() local
76 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
77 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
78 value = data32[ix]; in get()
88 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
89 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
90 value = data32[ix]; in get()
95ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
96 ix = index[ix]; in get()
97 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2_32.java67 int ix; in get() local
74 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
75 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
76 value = data32[ix]; in get()
86 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
87 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
88 value = data32[ix]; in get()
93ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
94 ix = index[ix]; in get()
95 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
[all …]
DTrie2_16.java68 int ix; in get() local
75 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
76 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
77 value = index[ix]; in get()
87 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
88 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
89 value = index[ix]; in get()
94ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
95 ix = index[ix]; in get()
96 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
[all …]
/external/libopus/silk/float/
DLPC_analysis_filter_FLP.c50 opus_int ix; in silk_LPC_analysis_filter16_FLP() local
54 for( ix = 16; ix < length; ix++ ) { in silk_LPC_analysis_filter16_FLP()
55 s_ptr = &s[ix - 1]; in silk_LPC_analysis_filter16_FLP()
76 r_LPC[ix] = s_ptr[ 1 ] - LPC_pred; in silk_LPC_analysis_filter16_FLP()
88 opus_int ix; in silk_LPC_analysis_filter12_FLP() local
92 for( ix = 12; ix < length; ix++ ) { in silk_LPC_analysis_filter12_FLP()
93 s_ptr = &s[ix - 1]; in silk_LPC_analysis_filter12_FLP()
110 r_LPC[ix] = s_ptr[ 1 ] - LPC_pred; in silk_LPC_analysis_filter12_FLP()
122 opus_int ix; in silk_LPC_analysis_filter10_FLP() local
126 for( ix = 10; ix < length; ix++ ) { in silk_LPC_analysis_filter10_FLP()
[all …]
/external/fdlibm/
De_j0.c96 int hx,ix; local
99 ix = hx&0x7fffffff;
100 if(ix>=0x7ff00000) return one/(x*x);
102 if(ix >= 0x40000000) { /* |x| >= 2.0 */
107 if(ix<0x7fe00000) { /* make sure x+x not overflow */
116 if(ix>0x48000000) z = (invsqrtpi*cc)/ieee_sqrt(x);
123 if(ix<0x3f200000) { /* |x| < 2**-13 */
125 if(ix<0x3e400000) return one; /* |x|<2**-27 */
132 if(ix < 0x3FF00000) { /* |x| < 1.00 */
165 int hx,ix,lx; local
[all …]
De_j1.c97 int hx,ix; local
100 ix = hx&0x7fffffff;
101 if(ix>=0x7ff00000) return one/x;
103 if(ix >= 0x40000000) { /* |x| >= 2.0 */
108 if(ix<0x7fe00000) { /* make sure y+y not overflow */
117 if(ix>0x48000000) z = (invsqrtpi*cc)/ieee_sqrt(y);
125 if(ix<0x3e400000) { /* |x|<2**-27 */
166 int hx,ix,lx; local
169 ix = 0x7fffffff&hx;
172 if(ix>=0x7ff00000) return one/(x+x*x);
[all …]
De_cosh.c51 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)) {
De_lgamma_r.c166 int n,ix; local
168 ix = 0x7fffffff&__HI(x);
170 if(ix<0x3fd00000) return __kernel_sin(pi*x,zero,0);
183 if(ix>=0x43400000) {
186 if(ix<0x43300000) z = y+two52; /* exact */
214 int i,hx,lx,ix; local
221 ix = hx&0x7fffffff;
222 if(ix>=0x7ff00000) return x*x;
223 if((ix|lx)==0) return one/zero;
224 if(ix<0x3b900000) { /* |x|<2**-70, return -ieee_log(|x|) */
[all …]
De_pow.c110 int hx,hy,ix,iy; local
116 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
122 if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) ||
149 if(((ix-0x3ff00000)|lx)==0)
151 else if (ix >= 0x3ff00000)/* (|x|>1)**+-inf = inf,0 */
169 if(ix==0x7ff00000||ix==0||ix==0x3ff00000){
173 if(((ix-0x3ff00000)|yisint)==0) {
193 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny;
194 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny;
197 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny;
[all …]
De_sinh.c48 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)) {
Ds_atan.c93 int ix,hx,id; local
96 ix = hx&0x7fffffff;
97 if(ix>=0x44100000) { /* if |x| >= 2^66 */
98 if(ix>0x7ff00000||
99 (ix==0x7ff00000&&(__LO(x)!=0)))
103 } if (ix < 0x3fdc0000) { /* |x| < 0.4375 */
104 if (ix < 0x3e200000) { /* |x| < 2^-29 */
110 if (ix < 0x3ff30000) { /* |x| < 1.1875 */
111 if (ix < 0x3fe60000) { /* 7/16 <=|x|<11/16 */
117 if (ix < 0x40038000) { /* |x| < 2.4375 */
De_rem_pio2.c92 int e0,i,j,nx,n,ix,hx; local
95 ix = hx&0x7fffffff;
96 if(ix<=0x3fe921fb) /* |x| ~<= pi/4 , no need for reduction */
98 if(ix<0x4002d97c) { /* |x| < 3pi/4, special case with n=+-1 */
101 if(ix!=0x3ff921fb) { /* 33+53 bit pi is good enough */
112 if(ix!=0x3ff921fb) { /* 33+53 bit pi is good enough */
123 if(ix<=0x413921fb) { /* |x| ~<= 2^19*(pi/2), medium size */
129 if(n<32&&ix!=npio2_hw[n-1]) {
132 j = ix>>20;
158 if(ix>=0x7ff00000) { /* x is inf or NaN */
[all …]
Ds_erf.c197 int hx,ix,i; local
200 ix = hx&0x7fffffff;
201 if(ix>=0x7ff00000) { /* ieee_erf(nan)=nan */
206 if(ix < 0x3feb0000) { /* |x|<0.84375 */
207 if(ix < 0x3e300000) { /* |x|<2**-28 */
208 if (ix < 0x00800000)
218 if(ix < 0x3ff40000) { /* 0.84375 <= |x| < 1.25 */
224 if (ix >= 0x40180000) { /* inf>|x|>=6 */
229 if(ix< 0x4006DB6E) { /* |x| < 1/0.35 */
253 int hx,ix; local
[all …]
Ds_frexp.c40 int hx, ix, lx; local
42 ix = 0x7fffffff&hx;
45 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
46 if (ix<0x00100000) { /* subnormal */
49 ix = hx&0x7fffffff;
52 *eptr += (ix>>20)-1022;
De_atanh.c51 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 */
De_jn.c60 int i,hx,ix,lx, sgn; local
68 ix = 0x7fffffff&hx;
71 if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
81 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */
85 if(ix>=0x52D00000) { /* x > 2**302 */
116 if(ix<0x3e100000) { /* x < 2**-29 */
221 int i,hx,ix,lx; local
226 ix = 0x7fffffff&hx;
229 if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
230 if((ix|lx)==0) return -one/zero;
[all …]
Ds_logb.c29 int lx,ix; local
30 ix = (__HI(x))&0x7fffffff; /* high |x| */
32 if((ix|lx)==0) return -1.0/ieee_fabs(x);
33 if(ix>=0x7ff00000) return x*x;
34 if((ix>>=20)==0) /* IEEE 754 logb */
37 return (double) (ix-1023);
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DSwatDeprecated.java205 int ix = line.indexOf(srcTag); in processFile() local
214 if (ix != -1) { in processFile()
219 line = line.substring(0,ix) + trgTag; in processFile()
224 ix = line.indexOf("opyright"); in processFile()
225 if (ix != -1) { in processFile()
231 ix = line.indexOf("-200"); in processFile()
232 if (ix != -1) { in processFile()
233 … nline = line.substring(0, ix) + "-" + copyYear + line.substring(ix+5); in processFile()
236 ix = line.indexOf("- 200"); in processFile()
237 if (ix != -1) { in processFile()
[all …]
/external/libopus/silk/
Dstereo_decode_pred.c40 opus_int n, ix[ 2 ][ 3 ]; in silk_stereo_decode_pred() local
45 ix[ 0 ][ 2 ] = silk_DIV32_16( n, 5 ); in silk_stereo_decode_pred()
46 ix[ 1 ][ 2 ] = n - 5 * ix[ 0 ][ 2 ]; in silk_stereo_decode_pred()
48 ix[ n ][ 0 ] = ec_dec_icdf( psRangeDec, silk_uniform3_iCDF, 8 ); in silk_stereo_decode_pred()
49 ix[ n ][ 1 ] = ec_dec_icdf( psRangeDec, silk_uniform5_iCDF, 8 ); in silk_stereo_decode_pred()
54 ix[ n ][ 0 ] += 3 * ix[ n ][ 2 ]; in silk_stereo_decode_pred()
55 low_Q13 = silk_stereo_pred_quant_Q13[ ix[ n ][ 0 ] ]; in silk_stereo_decode_pred()
56 step_Q13 = silk_SMULWB( silk_stereo_pred_quant_Q13[ ix[ n ][ 0 ] + 1 ] - low_Q13, in silk_stereo_decode_pred()
58 pred_Q13[ n ] = silk_SMLABB( low_Q13, step_Q13, 2 * ix[ n ][ 1 ] + 1 ); in silk_stereo_decode_pred()
Dstereo_encode_pred.c37 …opus_int8 ix[ 2 ][ 3 ] /* I Quantization indices … in silk_stereo_encode_pred()
43 n = 5 * ix[ 0 ][ 2 ] + ix[ 1 ][ 2 ]; in silk_stereo_encode_pred()
47 silk_assert( ix[ n ][ 0 ] < 3 ); in silk_stereo_encode_pred()
48 silk_assert( ix[ n ][ 1 ] < STEREO_QUANT_SUB_STEPS ); in silk_stereo_encode_pred()
49 ec_enc_icdf( psRangeEnc, ix[ n ][ 0 ], silk_uniform3_iCDF, 8 ); in silk_stereo_encode_pred()
50 ec_enc_icdf( psRangeEnc, ix[ n ][ 1 ], silk_uniform5_iCDF, 8 ); in silk_stereo_encode_pred()
/external/valgrind/coregrind/
Dm_sparsewa.c92 static inline UWord swa_bitarray_read ( const UChar* arr, UWord ix ) { in swa_bitarray_read() argument
93 UWord bix = ix >> 3; in swa_bitarray_read()
94 UWord off = ix & 7; in swa_bitarray_read()
98 static inline UWord swa_bitarray_read_then_set ( UChar* arr, UWord ix ) { in swa_bitarray_read_then_set() argument
99 UWord bix = ix >> 3; in swa_bitarray_read_then_set()
100 UWord off = ix & 7; in swa_bitarray_read_then_set()
107 static inline UWord swa_bitarray_read_then_clear ( UChar* arr, UWord ix ) { in swa_bitarray_read_then_clear() argument
108 UWord bix = ix >> 3; in swa_bitarray_read_then_clear()
109 UWord off = ix & 7; in swa_bitarray_read_then_clear()
281 UWord ix; in VG_() local
[all …]
/external/libvorbis/lib/
Dscales.h37 } ix; in unitnorm() local
38 ix.f = x; in unitnorm()
39 ix.i = (ix.i & 0x80000000U) | (0x3f800000U); in unitnorm()
40 return ix.f; in unitnorm()
48 } ix; in todB() local
49 ix.f = *x; in todB()
50 ix.i = ix.i&0x7fffffff; in todB()
51 return (float)(ix.i * 7.17711438e-7f -764.6161886f); in todB()
/external/mesa3d/src/mesa/swrast/
Ds_aatritemp.h190 GLint ix, startX = (GLint) (x - xAdj); variable
207 ix = startX;
211 span.attrStart[FRAG_ATTRIB_WPOS][3] = solve_plane(ix + 0.5F, iy + 0.5F, wPlane);
215 span.attrStart[attr][c] = solve_plane(ix + 0.5F, iy + 0.5F, attrPlane[attr][c]);
223 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F;
233 ix++;
235 coverage = compute_coveragef(pMin, pMid, pMax, ix, iy);
238 if (ix > startX) {
241 span.end = (GLuint) ix - (GLuint) startX;
259 GLint ix, left, startX = (GLint) (x + xAdj); variable
[all …]

12345678910>>...13