HomeSort by relevance Sort by last modified time
    Searched defs:shift (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /dalvik/vm/alloc/
Float12.h 37 int shift = 0; local
39 /* Shift off the precision we don't care about.
48 shift++;
50 if (shift > 0 && (pval & 1)) {
56 shift++;
60 /* Shift off enough bits to create a valid exponent.
64 while (shift % 4 != 0) {
66 shift++;
74 if (shift > 0) {
75 val = ((oval >> (shift - 1)) + 1) >> 1
    [all...]
  /bootable/bootloader/legacy/libboot/
gpio_keypad.c 52 unsigned int shift; local
56 shift = keypad->noutputs * keypad->ninputs;
67 shift--;
69 if(((unsigned)(keypad->state >> shift) ^ (unsigned)keys) & 1) {
72 mapped_key = keypad->key_map[shift];
75 // shift, mapped_key, keys & 1);
  /external/dropbear/libtommath/
bn_mp_div_2d.c 18 /* shift right by a certain bit count (store quotient in c, optional remainder in d) */
26 /* if the shift count is <= 0 then we do no work */
53 /* shift by as many digits in the bit count */
58 /* shift any bit count < DIGIT_BIT */
61 register mp_digit *tmpc, mask, shift; local
66 /* shift for lsb */
67 shift = DIGIT_BIT - D;
78 /* shift the current word and mix in the carry bits from the previous word */
79 *tmpc = (*tmpc >> D) | (r << shift);
bn_mp_mul_2d.c 18 /* shift left by a certain bit count */
37 /* shift by as many digits in the bit count */
44 /* shift any bit count < DIGIT_BIT */
47 register mp_digit *tmpc, shift, mask, r, rr; local
53 /* shift for msbs */
54 shift = DIGIT_BIT - d;
63 rr = (*tmpc >> shift) & mask;
65 /* shift the current word and OR in the carry */
  /external/opencore/codecs_v2/audio/aac/dec/src/
ps_bstr_decoding.cpp 232 Int32 shift; local
234 shift = ps_dec->noEnv >> 1;
241 (env * ps_dec->noSubSamples) >> shift;
imdct_fxp.cpp 51 shift = shift factor to reflect scaling introduced by IFFT and imdct_fxp,
149 RETURNING( shift )
179 RETURN (exp - shift)
277 Int shift = 0; local
305 shift = 21; /* log2(n)-1 + 14 acomodates 2/N factor */
310 shift = 24; /* log2(n)-1 +14 acomodates 2/N factor */
446 shift -= mix_radix_fft(data_quant,
449 shift -= inv_long_complex_rot(data_quant,
456 shift -= fft_rx4_short(data_quant, &max)
    [all...]
long_term_prediction.cpp 388 Int shift; local
633 shift = 16 - pv_normalize(max);
635 if (shift < 0)
637 shift = 0;
643 return (shift);
trans4m_time_2_freq_fxp.cpp 51 Added shift down operation for case when the window was equal to one.
388 Int shift = *pQ_format - 1; local
423 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pLong_Window_1++) >> shift;
425 *pAux_temp_2 = fxp_mul32_by_16((*pAux_temp_2), *pLong_Window_2++) >> shift;
433 if (shift)
437 *(pAux_temp_1++) >>= shift;
438 *(pAux_temp_1++) >>= shift;
454 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pShort_Window_1--) >> shift;
456 *pAux_temp_2 = fxp_mul32_by_16((*pAux_temp_2), *pShort_Window_2--) >> shift;
487 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pShort_Window_1++) >> shift;
    [all...]
  /external/skia/src/core/
SkBitmap_scroll.cpp 15 int shift; local
20 shift = 0;
24 shift = 1;
27 shift = 2;
72 // if we get this far, then we need to shift the pixels
92 src -= dx << shift;
95 dst += dx << shift;
99 width <<= shift; // now width is the number of bytes to move per line local
  /external/srec/srec/include/
log_tabl.h 32 int shift; member in struct:__anon5876
40 int log_lookup(log_table_info *logtab, int operand, int shift);
  /frameworks/base/media/libstagefright/codecs/aacdec/
ps_bstr_decoding.cpp 232 Int32 shift; local
234 shift = ps_dec->noEnv >> 1;
241 (env * ps_dec->noSubSamples) >> shift;
imdct_fxp.cpp 51 shift = shift factor to reflect scaling introduced by IFFT and imdct_fxp,
149 RETURNING( shift )
179 RETURN (exp - shift)
277 Int shift = 0; local
305 shift = 21; /* log2(n)-1 + 14 acomodates 2/N factor */
310 shift = 24; /* log2(n)-1 +14 acomodates 2/N factor */
446 shift -= mix_radix_fft(data_quant,
449 shift -= inv_long_complex_rot(data_quant,
456 shift -= fft_rx4_short(data_quant, &max)
    [all...]
long_term_prediction.cpp 388 Int shift; local
633 shift = 16 - pv_normalize(max);
635 if (shift < 0)
637 shift = 0;
643 return (shift);
  /packages/apps/Email/src/com/beetstra/jutf7/
ModifiedUTF7Charset.java 45 if (ch == shift())
50 byte shift() { method in class:ModifiedUTF7Charset
  /external/icu4c/layout/
DeviceTables.cpp 33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
  /external/iproute2/tc/
f_tcindex.c 21 " [ shift SHIFT ]\n");
71 else if (!strcmp(*argv,"shift")) {
72 int shift; local
75 shift = strtoul(*argv,&end,0);
80 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
81 sizeof(shift));
153 int shift; local
155 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
157 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT])
    [all...]
  /external/libpng/
pngwtran.c 66 &(png_ptr->shift));
138 int shift, v; local
144 shift = 6;
151 v |= (value << shift);
152 if (shift == 0)
154 shift = 6;
160 shift -= 2;
163 if (shift != 6)
170 int shift, v; local
176 shift = 4
    [all...]
  /external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/
c_g_aver.cpp 285 Word16 tmp[M], tmp1, tmp2, shift1, shift2, shift;
308 shift = sub(add(2, shift1), shift2);
309 if (shift >= 0)
311 tmp[i] = shr(tmp[i], shift); // Q15+Qn-Qm-Qx=Q13
315 tmp[i] = shl(tmp[i], negate(shift)); // Q15+Qn-Qm-Qx=Q13
489 Word16 shift; local
523 shift = 2 + shift1 - shift2;
525 if (shift >= 0)
527 *(tmp + i) = shr(*(tmp + i), shift, pOverflow);
532 *(tmp + i) = shl(*(tmp + i), negate(shift), pOverflow)
    [all...]
  /external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/
hp_max.cpp 140 Word16 shift, shift1, shift2;
196 shift = sub(shift1, shift2);
198 if (shift >= 0)
200 *cor_hp_max = shr(cor_max, shift); // Q15
204 *cor_hp_max = shl(cor_max, negate(shift)); // Q15
251 Word16 shift, shift1, shift2; local
319 shift = sub(shift1, shift2, pOverflow);
321 if (shift >= 0)
323 *cor_hp_max = shr(cor_max, shift, pOverflow); /* Q15 */
327 *cor_hp_max = shl(cor_max, negate(shift), pOverflow); /* Q15 *
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngwtran.c 61 &(png_ptr->shift));
132 int shift, v; local
138 shift = 6;
145 v |= (value << shift);
146 if (shift == 0)
148 shift = 6;
154 shift -= 2;
157 if (shift != 6)
164 int shift, v; local
170 shift = 4
    [all...]
  /external/speex/libspeex/
lpc.c 138 int shift, ac_shift; local
143 shift = 8;
144 while (shift && ac0<0x40000000)
146 shift--;
162 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
lpc_bfin.h 49 int shift, ac_shift; local
58 shift = 8;
59 while (shift && ac0<0x40000000)
61 shift--;
72 nshift = -shift;
115 d = ADD32(d,SHR32(MULT16_16(x[j],x[j]), shift));
124 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
  /external/srec/srec/cfront/
log_tabl.c 61 logtab->shift = (int)(val + 0.5);
84 int log_lookup(log_table_info *logtab, int operand, int shift)
94 shift++;
98 shift++;
102 log_report("tab: %d %d -> %d\n", operand, shift,
103 (int)((shift) *(logtab->shift) + logtab->table[operand]));
105 return ((int)((shift) *(logtab->shift) + logtab->table[operand]));
122 int ii, aa, bb, cc, value, shift; local
    [all...]
  /external/srec/srec/clib/
matx_ops.c 76 int ii, jj, shift; local
98 shift = 0;
101 shift++;
105 scale_coef = (1 << shift);
121 return (shift);
  /external/stlport/test/unit/
transform_test.cpp 34 static char shift( char c ) { function in class:TransformTest
77 transform( s.begin(), s.end(), s.begin(), shift );

Completed in 605 milliseconds

1 2 3 4 5 6 7 8 9