Home
last modified time | relevance | path

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

12345678910>>...22

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
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 …]
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 …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2_16.java72 int ix; in get() local
79 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
80 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
81 value = index[ix]; in get()
91 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
92 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
93 value = index[ix]; in get()
98ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
99 ix = index[ix]; in get()
100 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
[all …]
DTrie2_32.java71 int ix; in get() local
78 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
79 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
80 value = data32[ix]; in get()
90 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
91 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
92 value = data32[ix]; in get()
97ix = (UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH) + (codePoint >> UTRIE2_SHIFT_1); in get()
98 ix = index[ix]; in get()
99 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/skia/third_party/skcms/src/
DTransform_inl.h334 SI U8 gather_8(const uint8_t* p, I32 ix) { in gather_8() argument
336 U8 v = p[ix]; in gather_8()
338 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]] }; in gather_8()
340 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]], in gather_8()
341 p[ix[4]], p[ix[5]], p[ix[6]], p[ix[7]] }; in gather_8()
343 U8 v = { p[ix[ 0]], p[ix[ 1]], p[ix[ 2]], p[ix[ 3]], in gather_8()
344 p[ix[ 4]], p[ix[ 5]], p[ix[ 6]], p[ix[ 7]], in gather_8()
345 p[ix[ 8]], p[ix[ 9]], p[ix[10]], p[ix[11]], in gather_8()
346 p[ix[12]], p[ix[13]], p[ix[14]], p[ix[15]] }; in gather_8()
351 SI U16 gather_16(const uint8_t* p, I32 ix) { in gather_16() argument
[all …]
/external/skqp/third_party/skcms/src/
DTransform_inl.h334 SI U8 gather_8(const uint8_t* p, I32 ix) { in gather_8() argument
336 U8 v = p[ix]; in gather_8()
338 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]] }; in gather_8()
340 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]], in gather_8()
341 p[ix[4]], p[ix[5]], p[ix[6]], p[ix[7]] }; in gather_8()
343 U8 v = { p[ix[ 0]], p[ix[ 1]], p[ix[ 2]], p[ix[ 3]], in gather_8()
344 p[ix[ 4]], p[ix[ 5]], p[ix[ 6]], p[ix[ 7]], in gather_8()
345 p[ix[ 8]], p[ix[ 9]], p[ix[10]], p[ix[11]], in gather_8()
346 p[ix[12]], p[ix[13]], p[ix[14]], p[ix[15]] }; in gather_8()
351 SI U16 gather_16(const uint8_t* p, I32 ix) { in gather_16() argument
[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_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_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_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 */
/external/arm-optimized-routines/math/
Dpowf.c34 log2_inline (uint32_t ix) in log2_inline() argument
44 tmp = ix - OFF; in log2_inline()
47 iz = ix - top; in log2_inline()
130 zeroinfnan (uint32_t ix) in zeroinfnan() argument
132 return 2 * ix - 1 >= 2u * 0x7f800000 - 1; in zeroinfnan()
139 uint32_t ix, iy; in powf() local
141 ix = asuint (x); in powf()
143 if (unlikely (ix - 0x00800000 >= 0x7f800000 - 0x00800000 || zeroinfnan (iy))) in powf()
150 if (ix == 0x3f800000) in powf()
152 if (2 * ix > 2u * 0x7f800000 || 2 * iy > 2u * 0x7f800000) in powf()
[all …]
Dlogf.c35 uint32_t ix, iz, tmp; in logf() local
38 ix = asuint (x); in logf()
41 if (unlikely (ix == 0x3f800000)) in logf()
44 if (unlikely (ix - 0x00800000 >= 0x7f800000 - 0x00800000)) in logf()
47 if (ix * 2 == 0) in logf()
49 if (ix == 0x7f800000) /* log(inf) == inf. */ in logf()
51 if ((ix & 0x80000000) || ix * 2 >= 0xff000000) in logf()
54 ix = asuint (x * 0x1p23f); in logf()
55 ix -= 23 << 23; in logf()
61 tmp = ix - OFF; in logf()
[all …]
Dlog2f.c30 uint32_t ix, iz, top, tmp; in log2f() local
33 ix = asuint (x); in log2f()
36 if (unlikely (ix == 0x3f800000)) in log2f()
39 if (unlikely (ix - 0x00800000 >= 0x7f800000 - 0x00800000)) in log2f()
42 if (ix * 2 == 0) in log2f()
44 if (ix == 0x7f800000) /* log2(inf) == inf. */ in log2f()
46 if ((ix & 0x80000000) || ix * 2 >= 0xff000000) in log2f()
49 ix = asuint (x * 0x1p23f); in log2f()
50 ix -= 23 << 23; in log2f()
56 tmp = ix - OFF; in log2f()
[all …]
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers_test.py71 for ix in range(number_of_layers):
73 (ix + 1) * depth_step, kernel_size)
77 for ix in range(number_of_layers):
78 self.assertListEqual(masks[ix].get_shape().as_list(), [
79 kernel_size, kernel_size, base_depth + ix * depth_step,
80 base_depth + (ix + 1) * depth_step
85 for ix in range(number_of_layers):
86 self.assertListEqual(masked_weight[ix].get_shape().as_list(), [
87 kernel_size, kernel_size, base_depth + ix * depth_step,
88 base_depth + (ix + 1) * depth_step
[all …]
/external/v8/src/base/
Dieee754.cc96 #define EXTRACT_WORD64(ix, d) \ argument
100 (ix) = ew_u.xparts.w; \
132 #define INSERT_WORD64(d, ix) \ argument
135 iw_u.xparts.w = (ix); \
224 int32_t e0, i, j, nx, n, ix, hx; in __ieee754_rem_pio2() local
229 ix = hx & 0x7FFFFFFF; in __ieee754_rem_pio2()
230 if (ix <= 0x3FE921FB) { /* |x| ~<= pi/4 , no need for reduction */ in __ieee754_rem_pio2()
235 if (ix < 0x4002D97C) { /* |x| < 3pi/4, special case with n=+-1 */ in __ieee754_rem_pio2()
238 if (ix != 0x3FF921FB) { /* 33+53 bit pi is good enough */ in __ieee754_rem_pio2()
249 if (ix != 0x3FF921FB) { /* 33+53 bit pi is good enough */ in __ieee754_rem_pio2()
[all …]
/external/arm-optimized-routines/math/single/
De_powf.c19 unsigned ix, iy; in powf() local
21 ix = fai(x); in powf()
24 if (__builtin_expect((ix - 0x00800000) >= (0x7f800000 - 0x00800000) || in powf()
72 …if (__builtin_expect((ix - 0x80800000) < (0xff800000 - 0x80800000), 1)) { /* normal but negative… in powf()
76 ix = fai(x); in powf()
122 … } else if (__builtin_expect((ix << 1) != 0 && (ix << 1) < 0x01000000, 0)) { /* denormal x */ in powf()
127 ix = fai(x); in powf()
134 if (ix & 0x80000000) in powf()
138 } else if ((ix - 0x00800000) < (0x7f800000 - 0x00800000)) { in powf()
149 if ((ix << 1) != 0 && (ix << 1) < 0xFF000000) in powf()
[all …]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DSwatDeprecated.java207 int ix = line.indexOf(srcTag); in processFile() local
216 if (ix != -1) { in processFile()
221 line = line.substring(0,ix) + trgTag; in processFile()
226 ix = line.indexOf("opyright"); in processFile()
227 if (ix != -1) { in processFile()
233 ix = line.indexOf("-200"); in processFile()
234 if (ix != -1) { in processFile()
235 … nline = line.substring(0, ix) + "-" + copyYear + line.substring(ix+5); in processFile()
238 ix = line.indexOf("- 200"); in processFile()
239 if (ix != -1) { in processFile()
[all …]
/external/tensorflow/tensorflow/core/util/sparse/
Dsparse_tensor_test.cc36 Eigen::Tensor<int64, 2, Eigen::RowMajor, Eigen::DenseIndex> ix(N, NDIM); in GetSimpleIndexTensor() local
37 ix(0, 0) = 0; in GetSimpleIndexTensor()
38 ix(0, 1) = 0; in GetSimpleIndexTensor()
39 ix(0, 2) = 0; in GetSimpleIndexTensor()
41 ix(1, 0) = 3; in GetSimpleIndexTensor()
42 ix(1, 1) = 0; in GetSimpleIndexTensor()
43 ix(1, 2) = 0; in GetSimpleIndexTensor()
45 ix(2, 0) = 2; in GetSimpleIndexTensor()
46 ix(2, 1) = 0; in GetSimpleIndexTensor()
47 ix(2, 2) = 0; in GetSimpleIndexTensor()
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_argmax.cpp171 array<DenseIndex, 4> ix; in test_argmax_dim() local
176 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_argmax_dim()
177 if (ix[dim] != 0) continue; in test_argmax_dim()
179 tensor(ix) = 10.0; in test_argmax_dim()
198 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_argmax_dim()
199 if (ix[dim] != tensor.dimension(dim) - 1) continue; in test_argmax_dim()
201 tensor(ix) = 20.0; in test_argmax_dim()
229 array<DenseIndex, 4> ix; in test_argmin_dim() local
234 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_argmin_dim()
235 if (ix[dim] != 0) continue; in test_argmin_dim()
[all …]
Dcxx11_tensor_argmax_cuda.cu84 array<DenseIndex, 4> ix; in test_cuda_argmax_dim() local
89 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_cuda_argmax_dim()
90 if (ix[dim] != 0) continue; in test_cuda_argmax_dim()
92 tensor(ix) = 10.0; in test_cuda_argmax_dim()
131 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_cuda_argmax_dim()
132 if (ix[dim] != tensor.dimension(dim) - 1) continue; in test_cuda_argmax_dim()
134 tensor(ix) = 20.0; in test_cuda_argmax_dim()
173 array<DenseIndex, 4> ix; in test_cuda_argmin_dim() local
178 ix[0] = i; ix[1] = j; ix[2] = k; ix[3] = l; in test_cuda_argmin_dim()
179 if (ix[dim] != 0) continue; in test_cuda_argmin_dim()
[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()

12345678910>>...22