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

1 2 3 4 5 6 7 8 91011>>

  /external/srec/srec/cfront/
sh_down.h 35 static PINLINE int fixed_point_convert(float xx, int shift);
36 static PINLINE int shift_up_inline(int value, unsigned int shift);
37 static PINLINE int shift_down_inline(int value, unsigned int shift);
42 static PINLINE int shift_up_inline(int value, unsigned int shift)
44 /* Shift up using bit operations with max limit */
47 ASSERT(shift > 0);
53 retval = temp << shift;
64 static PINLINE int shift_down_inline(int value, unsigned int shift)
65 /* Shift down using bit operations with rounding */
67 if (shift-- == 0
    [all...]
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/kernel-headers/original/linux/
bitops.h 38 * @shift: bits to roll
40 static inline __u32 rol32(__u32 word, unsigned int shift)
42 return (word << shift) | (word >> (32 - shift));
49 * @shift: bits to roll
51 static inline __u32 ror32(__u32 word, unsigned int shift)
53 return (word >> shift) | (word << (32 - shift));
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/
general1.js 33 var TITLE = 'String:push,unshift,shift';
50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123);
55 array1.shift(); //array1 = [dog,-99,mouse]
56 array1.shift(); //array1 = [-99,mouse]
57 array1.shift(); //array1 = [mouse]
58 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),"mouse");
59 testcases[count++] = new TestCase( SECTION, "array1.shift()", "undefined", String(array1.shift()));
    [all...]
  /external/chromium/base/
bits.h 24 int shift = (1 << i); local
25 uint32 x = value >> shift;
28 log += shift;
  /external/skia/src/core/
SkEdge.cpp 23 the points into FDot6. This is modulated by the shift parameter, which
27 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6).
30 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift).
36 int shift) {
41 float scale = float(1 << (shift + 6));
47 shift = 10 - shift;
48 x0 = p0.fX >> shift;
49 y0 = p0.fY >> shift;
50 x1 = p1.fX >> shift;
264 int shift = fCurveShift; local
    [all...]
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:__anon11152
40 int log_lookup(log_table_info *logtab, int operand, int shift);
  /frameworks/base/media/libeffects/lvm/lib/Common/src/
Int16LShiftToInt32_16x32.c 31 LVM_INT16 shift )
40 *dst = ( ((LVM_INT32)*src) << shift);
Int32RShiftToInt16_Sat_32x16.c 31 LVM_INT16 shift )
38 temp = *src >> shift;
  /packages/apps/Email/src/com/beetstra/jutf7/
ModifiedUTF7Charset.java 45 if (ch == shift())
50 byte shift() { method in class:ModifiedUTF7Charset
  /frameworks/base/media/libstagefright/codecs/aacenc/src/
ms_stereo.c 65 Word32 idx, shift; local
77 shift = norm_l(nrgL);
78 nrgL = Div_32(thrL << shift, nrgL << shift);
80 shift = norm_l(nrgR);
81 nrgR = Div_32(thrR << shift, nrgR << shift);
89 shift = norm_l(nrgL);
90 nrgL = Div_32(minThreshold << shift, nrgL << shift);
    [all...]
  /external/speex/libspeex/
fixed_generic.h 45 #define SHR16(a,shift) ((a) >> (shift))
46 #define SHL16(a,shift) ((a) << (shift))
47 #define SHR32(a,shift) ((a) >> (shift))
48 #define SHL32(a,shift) ((a) << (shift))
49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift)
    [all...]
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/libvpx/vp8/decoder/
dboolhuff.h 54 int shift; \
55 for(shift = VP8_BD_VALUE_SIZE - 8 - ((_count) + 8); shift >= 0; ) \
62 (_value) |= (VP8_BD_VALUE)*(_bufptr)++ << shift; \
63 shift -= 8; \
94 register unsigned int shift = vp8dx_bitreader_norm[range]; local
95 range <<= shift; local
96 value <<= shift; local
97 count -= shift;
  /frameworks/base/media/libstagefright/codecs/aacdec/
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...]
esc_iquant_scaling.cpp 163 shift = QTABLE - *pQFormat;
171 tmp_coef = x * (inverseQuantTable[absX] >> shift);
190 tmp_coef = x * (inverseQuantTable[absX] >> shift);
195 approxOneThird = (w1 * FACTOR) >> shift;
203 deltaOneThird >>= (shift + ORDER - 1);
349 * a) If yes, just multiply by table value by itself, then shift as
367 * then FACTOR is a simple power of 2, so a shift can do the job.
447 Int shift; local
492 shift = QTABLE - QFormat;
506 mult_high = (x * (inverseQuantTable[absX] >> shift));
    [all...]
  /external/freetype/src/base/
fttrigon.c 103 FT_Int shift; local
110 shift = 0;
113 /* determine msb bit index in `shift' */
117 shift += 16;
122 shift += 8;
127 shift += 4;
132 shift += 2;
137 shift += 1;
140 if ( shift <= 27 )
142 shift = 27 - shift
420 FT_Int shift; local
457 FT_Int shift; local
493 FT_Int shift; local
    [all...]
  /external/webkit/Source/JavaScriptCore/parser/
Lexer.cpp 108 /* 14 - Shift Out */ CharacterInvalid,
109 /* 15 - Shift In */ CharacterInvalid,
274 ALWAYS_INLINE void Lexer::shift() function in class:JSC::Lexer
302 shift();
303 shift();
304 shift();
305 shift();
314 shift();
318 shift();
410 shift();
    [all...]
  /external/qemu/target-arm/
op_helper.c 37 int shift; local
41 for (shift = 0; shift < 32; shift += 8) {
42 index = (ireg >> shift) & 0xff;
45 val |= tmp << shift;
47 val |= def & (0xff << shift);
57 #define SHIFT 0
60 #define SHIFT 1
63 #define SHIFT
388 int shift = i & 0xff; local
396 int shift = i & 0xff; local
404 int shift = i & 0xff; local
412 int shift = i & 0xff; local
428 int shift = i & 0xff; local
444 int shift = i & 0xff; local
457 int shift1, shift; local
    [all...]
  /external/libvpx/vp8/encoder/
boolhuff.c 83 register unsigned int shift; local
106 shift = norm[range];
108 range <<= shift; local
109 count += shift;
113 int offset = shift - count;
130 shift = count;
135 lowvalue <<= shift; local
  /external/webrtc/src/common_audio/signal_processing_library/main/source/
complex_ifft.c 24 extern "C" int FFT_4OIQ14(void *src, void *dest, int NC, int shift);
36 int i, j, l, k, istep, n, m, scale, shift; local
57 shift = 0;
63 shift++;
69 shift++;
103 frfi[2 * j] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 - tr32, shift);
104 frfi[2 * j + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 - ti32, shift);
105 frfi[2 * i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 + tr32, shift);
106 frfi[2 * i + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 + ti32, shift);
140 shift+CIFFTSFT)
    [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/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
AESEngine.java 222 private int shift( method in class:AESEngine
224 int shift)
226 return (r >>> shift) | (r << -shift);
257 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24);
309 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC)-1];
488 r0 = T0[C0&255] ^ shift(T0[(C1>>8)&255], 24) ^ shift(T0[(C2>>16)&255],16) ^ shift(T0[(C3>>24)&255],8) ^ KW[r][0]
    [all...]
  /external/skia/tests/
RegionTest.cpp 7 int shift = 32 - bits; local
8 rect->set(rand.nextU() >> shift, rand.nextU() >> shift,
9 rand.nextU() >> shift, rand.nextU() >> shift);

Completed in 714 milliseconds

1 2 3 4 5 6 7 8 91011>>