/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-alg-fst.c | 411 word8 temp[4], shift; local 429 shift = (4 - i) & 3; 430 temp[0] = a[(0 + shift) & 3][i]; 431 temp[1] = a[(1 + shift) & 3][i]; 432 temp[2] = a[(2 + shift) & 3][i]; 433 temp[3] = a[(3 + shift) & 3][i]; 476 shift = (4 - i) & 3; 477 temp[0] = a[(0 + shift) & 3][i]; 478 temp[1] = a[(1 + shift) & 3][i]; 479 temp[2] = a[(2 + shift) & 3][i] [all...] |
/external/libaom/libaom/av1/encoder/ |
encodetxb.h | 33 int shift; member in struct:TxbInfo
|
/external/libaom/libaom/av1/encoder/x86/ |
highbd_block_error_intrin_avx2.c | 23 const int shift = 2 * (bps - 8); local 24 const int rounding = shift > 0 ? 1 << (shift - 1) : 0; 57 error = (error + rounding) >> shift; 58 sqcoeff = (sqcoeff + rounding) >> shift;
|
highbd_block_error_intrin_sse2.c | 24 const int shift = 2 * (bps - 8); local 25 const int rounding = shift > 0 ? 1 << (shift - 1) : 0; 67 error = (error + rounding) >> shift; 68 sqcoeff = (sqcoeff + rounding) >> shift;
|
/external/libdrm/freedreno/ |
freedreno_ringbuffer.h | 80 int32_t shift; member in struct:fd_reloc
|
/external/libhevc/encoder/arm/ |
ihevce_itrans_recon_neon.c | 224 WORD32 add, shift; local 227 shift = IT_SHIFT_STAGE_1; 228 add = 1 << (shift - 1); 229 dc_value = CLIP_S16((i2_deq_value * 64 + add) >> shift); 230 shift = IT_SHIFT_STAGE_2; 231 add = 1 << (shift - 1); 232 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
|
/external/libldac/src/ |
mdct_fixp_ldac.c | 31 int shift; local 44 shift = LDAC_C_BLKFLT - get_bit_length_ldac(get_absmax_ldac(p_x, nsmpl<<1)) - 1; 45 if (shift < 0) { 46 shift = 0; 50 if (LDAC_Q_MDCT_WIN-shift > 0){ 52 g0 = mul_rsftrnd_ldac(-p_x[3*nsmpl/2-1-i], p_w[nsmpl/2+i], LDAC_Q_MDCT_WIN-shift); 53 g1 = mul_rsftrnd_ldac(-p_x[3*nsmpl/2+i], p_w[nsmpl/2-1-i], LDAC_Q_MDCT_WIN-shift); 56 g0 = mul_rsftrnd_ldac(p_x[i], p_w[i], LDAC_Q_MDCT_WIN-shift); 57 g1 = mul_rsftrnd_ldac(-p_x[nsmpl-1-i], p_w[nsmpl-1-i], LDAC_Q_MDCT_WIN-shift); 63 g0 = mul_lsftrnd_ldac(-p_x[3*nsmpl/2-1-i], p_w[nsmpl/2+i], LDAC_Q_MDCT_WIN-shift); [all...] |
/external/libopus/celt/ |
kiss_fft.h | 92 int shift; member in struct:kiss_fft_state
|
mathops.c | 74 int shift = celt_ilog2(b)-29; local 75 a = VSHR32(a,shift); 76 b = VSHR32(b,shift);
|
/external/libopus/celt/tests/ |
test_unit_mdct.c | 116 int shift = 0; local 122 int shift; local 125 if (nfft == 1920) shift = 0; 126 else if (nfft == 960) shift = 1; 127 else if (nfft == 480) shift = 2; 128 else if (nfft == 240) shift = 3; 164 clt_mdct_backward(cfg,in,out, window, nfft/2, shift, 1, arch); 170 clt_mdct_forward(cfg,in,out,window, nfft/2, shift, 1, arch);
|
/external/libpng/ |
pngwtran.c | 74 unsigned int shift; local 81 shift = 6; 89 v |= (value << shift); 91 if (shift == 0) 93 shift = 6; 100 shift -= 2; 105 if (shift != 6) 114 unsigned int shift; local 121 shift = 4; 129 v |= (value << shift); [all...] |
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_highbd_block_error_intrin_sse2.c | 24 const int shift = 2 * (bd - 8); local 25 const int rounding = shift > 0 ? 1 << (shift - 1) : 0; 67 error = (error + rounding) >> shift; 68 sqcoeff = (sqcoeff + rounding) >> shift;
|
/external/libvpx/libvpx/vpx_dsp/ |
bitreader.h | 97 const unsigned char shift = vpx_norm[(unsigned char)range]; local 98 range <<= shift; local 99 value <<= shift; local 100 count -= shift;
|
/external/libxaac/decoder/ |
ixheaacd_basic_funcs.c | 180 WORD16 shift; local 183 shift = (WORD16)(ixheaacd_norm32(op) & ~1); 184 op = ixheaacd_shl32_dir_sat_limit(op, shift); 185 shift = ixheaacd_shr32_dir_sat_limit(shift, 1); 187 result = ixheaacd_shr32_dir_sat_limit(op, ixheaacd_sat16(shift - 1));
|
ixheaacd_mps_hybrid_filt.c | 40 static WORD32 ixheaacd_mps_mult32_local(WORD32 a, WORD32 b, WORD16 shift) { 44 temp = temp >> shift; 61 WORD16 shift = 8; local 74 in_re = in_re << shift; 75 in_im = in_im << shift; 102 output[q][i].re = (WORD32)(acc_re >> shift); 103 output[q][i].im = (WORD32)(acc_im >> shift); 121 WORD16 shift = 8; local 133 in_re = in_re << shift; 134 in_im = in_im << shift; [all...] |
/external/ltp/testcases/kernel/syscalls/lseek/ |
lseek11.c | 109 int shift; local 131 shift = offset >> 2; 132 while (shift && offset < (st.st_blksize * 2)) { 137 offset += pos ? -shift : shift; 138 shift >>= 1; 141 if (!shift)
|
/external/mesa3d/src/mesa/main/ |
texenv.c | 348 GLuint shift; local 351 shift = 0; 354 shift = 1; 357 shift = 2; 367 if (texUnit->Combine.ScaleShiftRGB == shift) 370 texUnit->Combine.ScaleShiftRGB = shift; 373 if (texUnit->Combine.ScaleShiftA == shift) 376 texUnit->Combine.ScaleShiftA = shift;
|
/external/parameter-framework/upstream/parameter/ |
ParameterType.cpp | 154 size_t shift = CHAR_BIT * (sizeof(data) - getSize()); local 156 // and `data × 2^shift` is representable in the result type, 159 // ISO C99 (6.5.7/4) & ISO C++11 [expr.shift] 160 data = (data << shift) >> shift; 184 size_t shift = getSize() * 8; local 189 return !(data >> shift); 194 bool bIsValueExpectedNegative = (data & (type(1) << (shift - 1))) != 0; 197 return bIsValueExpectedNegative ? !(~data >> shift) : !(data >> shift); [all...] |
/external/pcre/dist2/src/sljit/ |
sljitNativeMIPS_64.c | 31 sljit_s32 shift = 32; local 56 shift -= 8; 61 shift -= 4; 66 shift -= 2; 72 shift += 1; 74 SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32)); 83 imm &= (1l << shift) - 1; 85 ins = (shift == 32) ? DSLL32 : DSLL; 86 if (shift < 32 [all...] |
sljitNativePPC_64.c | 41 #define PUSH_RLDICR(reg, shift) \ 42 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1)) 47 sljit_uw shift; local 64 ASM_SLJIT_CLZ(tmp, shift); 65 SLJIT_ASSERT(shift > 0); 66 shift--; 67 tmp = (imm << shift); 71 shift += 15; 72 return PUSH_RLDICR(reg, shift); [all...] |
/external/pdfium/fxjs/xfa/ |
cjx_eventpseudomodel.cpp | 129 void CJX_EventPseudoModel::shift(CFXJSE_Value* pValue, function in class:CJX_EventPseudoModel 132 Property(pValue, XFA_Event::Shift, bSetting); 242 case XFA_Event::Shift:
|
/external/pdfium/third_party/libpng16/ |
pngwtran.c | 74 unsigned int shift; local 81 shift = 6; 89 v |= (value << shift); 91 if (shift == 0) 93 shift = 6; 100 shift -= 2; 105 if (shift != 6) 114 unsigned int shift; local 121 shift = 4; 129 v |= (value << shift); [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
int128.cc | 79 // Long division/modulo for uint128 implemented using the shift-subtract 106 int shift = Fls128(dividend) - Fls128(denominator); local 107 denominator <<= shift; local 108 position <<= shift; local 110 // Uses shift-subtract algorithm to divide dividend by denominator. The
|
/external/python/cpython3/Parser/ |
parser.c | 108 shift(stack *s, int type, char *str, int newstate, int lineno, int col_offset) function 268 /* Shift the token */ 269 if ((err = shift(&ps->p_stack, type, str, 271 D(printf(" MemError: shift.\n")); 274 D(printf(" Shift.\n"));
|
/external/skia/src/core/ |
SkMathPriv.h | 238 uint32_t shift = 1; local 239 while (shift < kNumSizeTBits) { 240 n |= n >> shift; 241 shift <<= 1;
|