/external/chromium_org/third_party/opus/src/silk/float/ |
noise_shape_analysis_FLP.c | 232 opus_int shift, slope_part, flat_part; local 237 shift = slope_part; 238 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(silk_float) ); 239 shift += flat_part; 240 silk_apply_sine_window_FLP( x_windowed + shift, x_ptr + shift, 2, slope_part );
|
/external/chromium_org/third_party/skia/tests/ |
PathCoverageTest.cpp | 50 int shift = 30 - SkCLZ(distance); local 52 shift &= ~(shift>>31); 53 if (shift > MAX_COEFF_SHIFT) { 54 shift = MAX_COEFF_SHIFT; 56 return 1 << shift;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
malloc_hook_test.cc | 208 void MultithreadedTestThread(TestHookList* list, int shift, 218 int value = (i << shift) + thread_num; 268 // shift is the smallest number such that (1<<shift) > kHookListMaxValues 269 int shift = 0; local 271 shift += 1; 273 MultithreadedTestThread(&list, shift, thread_num);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
malloc_hook_test.cc | 208 void MultithreadedTestThread(TestHookList* list, int shift, 218 int value = (i << shift) + thread_num; 268 // shift is the smallest number such that (1<<shift) > kHookListMaxValues 269 int shift = 0; local 271 shift += 1; 273 MultithreadedTestThread(&list, shift, thread_num);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/ |
win64-except.c | 471 int shift; local 495 size = 0; low = 8; high = 128; shift = 3; mask = 0x7; 499 size = 2; low = 136; high = 8*64*1024-8; shift = 3; 501 size = 4; low = high = 0; shift = 0; 506 size = 2; low = 0; high = 8*64*1024-8; shift = 3; mask = 0x7; 509 size = 2; low = 0; high = 16*64*1024-16; shift = 4; mask = 0xF; 512 size = 4; low = high = 0; shift = 0; mask = 0x7; 515 size = 4; low = high = 0; shift = 0; mask = 0xF; 545 code->info = (yasm_intnum_get_uint(intn) >> shift)-1; 551 yasm_intnum_get_sized(intn, buf, size, size*8, -shift, 0, 1) [all...] |
/external/eigen/test/ |
householder.cpp | 78 // test householder sequence on the left with a shift 80 Index shift = internal::random<Index>(0, std::max<Index>(rows-2,0)); local 81 Index brows = rows - shift; 83 HBlockMatrixType hbm = m1.block(shift,0,brows,cols); 86 m2.block(shift,0,brows,cols) = qr.matrixQR(); 89 hseq.setLength(hc.size()).setShift(shift); 91 VERIFY(hseq.shift() == shift); 94 m5.block(shift,0,brows,cols).template triangularView<StrictlyLower>().setZero(); 116 // test householder sequence on the right with a shift [all...] |
/external/freetype/src/base/ |
fttrigon.c | 118 FT_Int shift; local 124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) ); 126 if ( shift <= FT_TRIG_SAFE_MSB ) 128 shift = FT_TRIG_SAFE_MSB - shift; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 134 shift -= FT_TRIG_SAFE_MSB; 135 vec->x = x >> shift; 136 vec->y = y >> shift; 365 FT_Int shift; local 402 FT_Int shift; local 438 FT_Int shift; local [all...] |
/external/guava/guava/src/com/google/common/math/ |
DoubleUtils.java | 155 int shift = exponent - SIGNIFICAND_BITS - 1; local 156 long twiceSignifFloor = absX.shiftRight(shift).longValue(); 166 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift);
|
/external/harfbuzz_ng/src/ |
hb-ot-map-private.hh | 49 unsigned int shift; member in struct:hb_ot_map_t::feature_map_t 80 inline hb_mask_t get_mask (hb_tag_t feature_tag, unsigned int *shift = NULL) const { 82 if (shift) *shift = map ? map->shift : 0;
|
/external/libhevc/decoder/ |
ihevcd_deblk.c | 237 WORD32 shift = 0; local 240 * shift = (col & ((MAX_CTB_SIZE >> log2_ctb_size) - 1)) << (log2_ctb_size - 1); 245 shift = (col & 1) << (log2_ctb_size - 1); 248 u4_bs = (pu4_vert_bs[0] >> shift) << 2; 254 UWORD32 u4_top_bs = (*pu4_vert_bs_top) >> (shift + (1 << (log2_ctb_size - 1)) - 2); 377 WORD32 shift = 0; local 380 * shift = (row & (MAX_CTB_SIZE / ctb_size - 1)) * ctb_size / 2; 385 shift = (row & 1) << (log2_ctb_size - 1); 388 u4_bs = (pu4_horz_bs[0] >> shift) << 2; 396 UWORD32 u4_left_bs = (*pu4_horz_bs_left) >> (shift + (1 << (log2_ctb_size - 1)) - 2) [all...] |
/external/libhevc/decoder/x86/ |
ihevcd_it_rec_dc_sse42_intr.c | 71 WORD32 add, shift; local 82 shift = IT_SHIFT_STAGE_1; 83 add = 1 << (shift - 1); 84 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); 85 shift = IT_SHIFT_STAGE_2; 86 add = 1 << (shift - 1); 87 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); 211 WORD32 add, shift; local 225 shift = IT_SHIFT_STAGE_1; 226 add = 1 << (shift - 1) [all...] |
ihevcd_it_rec_dc_ssse3_intr.c | 73 WORD32 add, shift; local 83 shift = IT_SHIFT_STAGE_1; 84 add = 1 << (shift - 1); 85 dc_value = CLIP_S16((quant_out * 64 + add) >> shift); 86 shift = IT_SHIFT_STAGE_2; 87 add = 1 << (shift - 1); 88 dc_value = CLIP_S16((dc_value * 64 + add) >> shift); 211 WORD32 add, shift; local 225 shift = IT_SHIFT_STAGE_1; 226 add = 1 << (shift - 1) [all...] |
/external/libopus/celt/ |
entenc.c | 215 int shift; local 218 shift=EC_SYM_BITS-_nbits; 219 mask=((1<<_nbits)-1)<<shift; 222 _this->buf[0]=(unsigned char)((_this->buf[0]&~mask)|_val<<shift); 226 _this->rem=(_this->rem&~mask)|_val<<shift; 231 (opus_uint32)_val<<(EC_CODE_SHIFT+shift);
|
mdct.c | 106 const opus_val16 *window, int overlap, int shift, int stride) 115 N >>= shift; local 176 yr = -S_MUL(re,t[i<<shift]) - S_MUL(im,t[(N4-i)<<shift]); 177 yi = -S_MUL(im,t[i<<shift]) + S_MUL(re,t[(N4-i)<<shift]); 185 opus_fft(l->kfft[shift], (kiss_fft_cpx *)f, (kiss_fft_cpx *)f2); 198 yr = S_MUL(fp[1],t[(N4-i)<<shift]) + S_MUL(fp[0],t[i<<shift]); 199 yi = S_MUL(fp[0],t[(N4-i)<<shift]) - S_MUL(fp[1],t[i<<shift]) 220 N >>= shift; local [all...] |
/external/libopus/silk/float/ |
noise_shape_analysis_FLP.c | 232 opus_int shift, slope_part, flat_part; local 237 shift = slope_part; 238 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(silk_float) ); 239 shift += flat_part; 240 silk_apply_sine_window_FLP( x_windowed + shift, x_ptr + shift, 2, slope_part );
|
/external/lldb/tools/debugserver/source/ |
DNBDataRef.cpp | 244 int shift = 0; local 253 result |= (byte & 0x7f) << shift; 254 shift += 7; 275 int shift = 0; local 286 result |= (byte & 0x7f) << shift; 287 shift += 7; 293 if (shift < size && (byte & 0x40)) 294 result |= - (1ll << shift);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format_yuv.c | 82 * Avoid shift with per-element count. 100 LLVMValueRef shift; local 101 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); 102 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 8), ""); 103 *y = LLVMBuildLShr(builder, packed, shift, ""); 150 * Avoid shift with per-element count. 167 LLVMValueRef shift; local 168 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); 169 *y = LLVMBuildLShr(builder, packed, shift, ""); [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r300_fragprog_emit.c | 538 int shift = 3 - emit.current_node; local 541 code->code_addr[shift + i] = code->code_addr[i]; 542 for(i = 0; i < shift; ++i)
|
/external/mesa3d/src/glx/ |
XF86dri.c | 199 int shift = 32; /* var to prevent warning on next line */ local 200 *hSAREA |= ((drm_handle_t) rep.hSAREAHigh) << shift; 506 * backwards compatibility (Because of the >> 2 shift) but the fix 575 int shift = 32; /* var to prevent warning on next line */ local 576 *hFrameBuffer |= ((drm_handle_t) rep.hFrameBufferHigh) << shift;
|
/external/mesa3d/src/mesa/main/ |
pixeltransfer.c | 192 * Apply color index shift and offset to an array of pixels. 198 GLint shift = ctx->Pixel.IndexShift; local 201 if (shift > 0) { 203 indexes[i] = (indexes[i] << shift) + offset; 206 else if (shift < 0) { 207 shift = -shift; 209 indexes[i] = (indexes[i] >> shift) + offset; 222 * Apply color index shift, offset and table lookup to an array 245 * Apply stencil index shift, offset and table lookup to an arra 254 GLint shift = ctx->Pixel.IndexShift; local [all...] |
texenv.c | 352 GLuint shift; local 355 shift = 0; 358 shift = 1; 361 shift = 2; 371 if (texUnit->Combine.ScaleShiftRGB == shift) 374 texUnit->Combine.ScaleShiftRGB = shift; 377 if (texUnit->Combine.ScaleShiftA == shift) 380 texUnit->Combine.ScaleShiftA = shift;
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
fttrigon.c | 118 FT_Int shift; local 124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) ); 126 if ( shift <= FT_TRIG_SAFE_MSB ) 128 shift = FT_TRIG_SAFE_MSB - shift; 129 vec->x = (FT_Pos)( (FT_ULong)x << shift ); 130 vec->y = (FT_Pos)( (FT_ULong)y << shift ); 134 shift -= FT_TRIG_SAFE_MSB; 135 vec->x = x >> shift; 136 vec->y = y >> shift; 365 FT_Int shift; local 402 FT_Int shift; local 438 FT_Int shift; local [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
event.cpp | 37 JS_STATIC_PROP_ENTRY(shift)
273 FX_BOOL event::shift(OBJ_PROP_PARAMS)
function in class:event 282 if (pEvent->Shift())
|
/external/qemu/audio/ |
wavcapture.c | 97 int stereo, bits16, shift; local 125 shift = bits16 + stereo; 130 le_store (hdr + 28, freq << shift, 4); 131 le_store (hdr + 32, 1 << shift, 2);
|
/external/qemu/include/exec/ |
softmmu_template.h | 26 #define DATA_SIZE (1 << SHIFT) 130 #if SHIFT <= 2 131 val = io_mem_read(index, physaddr, 1 << SHIFT); 140 #endif /* SHIFT > 2 */ 191 unsigned shift; local 202 shift = (addr & (DATA_SIZE - 1)) * 8; 205 res = (res1 >> shift) | (res2 << ((DATA_SIZE * 8) - shift)); 273 unsigned shift; local 284 shift = (addr & (DATA_SIZE - 1)) * 8 [all...] |