/external/v8/src/ |
misc-intrinsics.h | 63 int result, shift; local 65 shift = (value > 0xFFFF) << 4; 66 value >>= shift; local 67 result = shift; 69 shift = (value > 0xFF) << 3; 70 value >>= shift; local 71 result |= shift; 73 shift = (value > 0xF) << 2; 74 value >>= shift; local 75 result |= shift; 78 value >>= shift; local [all...] |
/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/aac/libFDK/src/arm/ |
scale_arm.cpp | 106 /* It performs a fMultDiv2 and increments shift by 1 */ 107 int shift = scalefactor + 1; local 110 shift = fixmin_I(shift,(INT)DFRACT_BITS-1); 112 if (shift >= 0) 124 tmp0 <<= shift; local 125 tmp1 <<= shift; local 126 tmp2 <<= shift; local 127 tmp3 <<= shift; local 137 tmp0 <<= shift; local 154 tmp0 >>= shift; local 155 tmp1 >>= shift; local 156 tmp2 >>= shift; local 157 tmp3 >>= shift; local 167 tmp0 >>= shift; local [all...] |
/external/aac/libSBRdec/src/ |
transcendent.h | 128 int shift; local 138 shift = (int)(a_e - b_e); 140 shiftAbs = (shift>0)? shift : -shift; 142 shiftedMantissa = (shift>0)? (FX_SGL2FX_DBL(b_m) >> shiftAbs) : (FX_SGL2FX_DBL(a_m) >> shiftAbs); 143 otherMantissa = (shift>0)? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m); 144 *ptrSum_e = (shift>0)? a_e : b_e; 147 /* shift by 1 bit to avoid overflow */ 166 int shift; local 215 int preShift, postShift, index, shift; local 271 int preShift, postShift, index, shift; local 347 int shift = result_e - *destScale; local [all...] |
/external/compiler-rt/lib/ |
floatunsisf.c | 34 // Shift a into the significand field, rounding if it is a right-shift 36 const int shift = significandBits - exponent; local 37 result = (rep_t)a << shift ^ implicitBit; 39 const int shift = exponent - significandBits; local 40 result = (rep_t)a >> shift ^ implicitBit; 41 rep_t round = (rep_t)a << (typeWidth - shift);
|
floatsisf.c | 42 // Shift a into the significand field, rounding if it is a right-shift 44 const int shift = significandBits - exponent; local 45 result = (rep_t)a << shift ^ implicitBit; 47 const int shift = exponent - significandBits; local 48 result = (rep_t)a >> shift ^ implicitBit; 49 rep_t round = (rep_t)a << (typeWidth - shift);
|
floatsidf.c | 42 // Shift a into the significand field and clear the implicit bit. Extra 45 const int shift = significandBits - exponent; local 46 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
|
floatunsidf.c | 34 // Shift a into the significand field and clear the implicit bit. 35 const int shift = significandBits - exponent; local 36 result = (rep_t)a << shift ^ implicitBit;
|
/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 | 16 the points into FDot6. This is modulated by the shift parameter, which 20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6). 23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift). 29 int shift) { 34 float scale = float(1 << (shift + 6)); 40 shift = 10 - shift; 41 x0 = p0.fX >> shift; 42 y0 = p0.fY >> shift; 43 x1 = p1.fX >> shift; 257 int shift = fCurveShift; local [all...] |
SkBitmap_scroll.cpp | 22 int shift; local 27 shift = 0; 31 shift = 1; 34 shift = 2; 97 src -= dx << shift; 100 dst += dx << shift; 110 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:__anon12637 40 int log_lookup(log_table_info *logtab, int operand, int shift);
|
/frameworks/av/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/av/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/ |
buildAll.bat | 37 if x%1==x-mapVersionTag set mapVersionTag=%2 && shift && shift && goto processcmdlineargs
38 if x%1==x-vm set vm=%2 && shift && shift && goto processcmdlineargs
39 if x%1==x-bc set bootclasspath=-Dbootclasspath=%2 && shift && shift && goto processcmdlineargs
40 if x%1==x-target set target=%2 && shift && shift && goto processcmdlineargs
41 if x%1==x-buildID set buildID=-DbuildId=%2 && shift && shift && goto processcmdlineargs [all...] |
/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/av/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...] |
/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...] |