Searched defs:shift (Results 1 - 25 of 441) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dmmx-shift-with-immediate.c4 void shift(__m64 a, __m64 b, int c) { function
/external/compiler-rt/test/ubsan/TestCases/Misc/Linux/
H A Dcoverage-levels.cc5 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=1 %s -o %t
10 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=1 %s -o %t
12 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=2 %s -o %t
14 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=3 %s -o %t
19 int shift = argc * 32; local
21 shift = 3;
23 if ((argc << shift) == 16) // False.
28 // CHECK_WARN: shift exponent 32 is too large
/external/compiler-rt/lib/builtins/
H A Dfloatsidf.c46 const int shift = significandBits - exponent; local
47 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
H A Dfloatsisf.c43 // Shift a into the significand field, rounding if it is a right-shift
45 const int shift = significandBits - exponent; local
46 result = (rep_t)a << shift ^ implicitBit;
48 const int shift = exponent - significandBits; local
49 result = (rep_t)a >> shift ^ implicitBit;
50 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunsidf.c36 const int shift = significandBits - exponent; local
37 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatunsisf.c35 // Shift a into the significand field, rounding if it is a right-shift
37 const int shift = significandBits - exponent; local
38 result = (rep_t)a << shift ^ implicitBit;
40 const int shift = exponent - significandBits; local
41 result = (rep_t)a >> shift ^ implicitBit;
42 rep_t round = (rep_t)a << (typeWidth - shift);
H A Dfloatunsitf.c32 const int shift = significandBits - exponent; local
33 result = (rep_t)a << shift ^ implicitBit;
H A Dfloatsitf.c43 const int shift = significandBits - exponent; local
44 result = (rep_t)aAbs << shift ^ implicitBit;
/external/libunwind/src/mi/
H A D_ReadSLEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
14 shift += 7;
19 if (shift < 8 * sizeof (unw_word_t) && (byte & 0x40) != 0)
21 result |= ((unw_word_t) -1) << shift;
H A D_ReadULEB.c6 unsigned shift = 0; local
13 result |= (byte & 0x7f) << shift;
16 shift += 7;
/external/openfst/src/include/fst/extensions/ngram/
H A Dnthbit.h26 uint32 shift = 0; local
30 shift += (32 & mask);
32 c = __builtin_popcount((v >> shift) & 0xffff);
35 shift += (16 & mask);
37 c = __builtin_popcount((v >> shift) & 0xff);
40 shift += (8 & mask);
42 return shift + ((nth_bit_bit_offset[(v >> shift) & 0xff] >>
/external/v8/src/
H A Dmisc-intrinsics.h40 int result, shift; local
42 shift = (value > 0xFFFF) << 4;
43 value >>= shift; local
44 result = shift;
46 shift = (value > 0xFF) << 3;
47 value >>= shift; local
48 result |= shift;
50 shift = (value > 0xF) << 2;
51 value >>= shift; local
52 result |= shift;
55 value >>= shift; local
[all...]
/external/libopus/silk/
H A Dsum_sqr_shift.c34 /* Compute number of bits to right shift the sum of squares of a vector */
38 opus_int *shift, /* O Number of bits right shift applied to energy */
82 *shift = shft;
36 silk_sum_sqr_shift( opus_int32 *energy, opus_int *shift, const opus_int16 *x, opus_int len ) argument
/external/v8/src/base/
H A Ddivision-by-constant.h19 : multiplier(m), shift(s), add(a) {}
23 unsigned shift; member in struct:v8::base::MagicNumbersForDivision
28 // Calculate the multiplier and shift for signed division via multiplication.
34 // Calculate the multiplier and shift for unsigned division via multiplication,
/external/vixl/src/vixl/
H A Dcompiler-intrinsics.cc104 int shift = 1 << i; local
105 value = ((value >> shift) & kMasks[i]) + (value & kMasks[i]);
/external/aac/libFDK/src/arm/
H A Dscale_arm.cpp106 /* 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/deqp/framework/delibs/debase/
H A DdeInt32.c131 int shift = deClz32(a); local
132 deUint32 normalized = (deUint32)a << shift; /* Highest bit is always 1. */
154 *exp = 31 - shift;
/external/fio/lib/
H A Dieee754.c14 int shift; local
32 shift = 0;
35 shift++;
39 shift--;
47 exp = shift + ((1 << (expbits - 1)) - 1); // shift + bias
56 long long shift; local
70 shift = ((i >> significandbits) & ((1LL << expbits) - 1)) - bias;
71 while (shift > 0) {
73 shift
[all...]
/external/icu/icu4c/source/layout/
H A DDeviceTables.cpp33 le_uint16 shift = 16 - (bits * (fieldIndex + 1)); local
34 le_uint16 field = (word >> shift) & fieldMasks[format];
/external/libhevc/decoder/
H A Dihevcd_itrans_recon_dc.c94 WORD32 add, shift; local
102 shift = IT_SHIFT_STAGE_1;
103 add = 1 << (shift - 1);
104 dc_value = CLIP_S16((quant_out * 64 + add) >> shift);
105 shift = IT_SHIFT_STAGE_2;
106 add = 1 << (shift - 1);
107 dc_value = CLIP_S16((dc_value * 64 + add) >> shift);
124 WORD32 add, shift; local
133 shift = IT_SHIFT_STAGE_1;
134 add = 1 << (shift
[all...]
/external/libvncserver/libvncserver/
H A Dtableinitcmtemplate.c52 int shift = colourMap->is16?16:8; local
71 t[i] = ((((r * (1 + out->redMax)) >> shift) << out->redShift) |
72 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) |
73 (((b * (1 + out->blueMax)) >> shift) << out->blueShift));
/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h68 const int shift = (1 << i); local
69 const unsigned int x = value >> shift;
72 log += shift;
/external/skia/src/codec/
H A DSkMasks.h36 uint32_t shift; member in struct:SkMasks::MaskInfo
/external/skia/src/core/
H A DSkBitmap_scroll.cpp26 int shift = this->bytesPerPixel() >> 1; local
83 src -= dx << shift;
86 dst += dx << shift;
96 width <<= shift; // now width is the number of bytes to move per line local
/external/speex/libspeex/
H A Dlpc.c138 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));

Completed in 608 milliseconds

1234567891011>>