Searched defs:shift (Results 151 - 175 of 657) sorted by relevance

1234567891011>>

/external/pcre/dist/sljit/
H A DsljitNativePPC_64.c41 #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/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftbbox.c406 FT_Int shift; local
418 /* Necessarily, we need to shift `a', `b', and `c' so that the most */
430 shift = FT_MSB( FT_ABS( a ) | FT_ABS( b ) | FT_ABS( c ) );
432 if ( shift > 22 )
434 shift -= 22;
438 a >>= shift; local
439 b >>= shift; local
440 c >>= shift; local
444 shift = 22 - shift;
446 a <<= shift; local
447 b <<= shift; local
448 c <<= shift; local
[all...]
H A Dfttrigon.c118 FT_Int shift; local
124 shift = FT_MSB( FT_ABS( x ) | FT_ABS( y ) );
126 if ( shift <= FT_TRIG_SAFE_MSB )
128 shift = FT_TRIG_SAFE_MSB - shift;
129 vec->x = (FT_Pos)( (FT_ULong)x << shift );
130 vec->y = (FT_Pos)( (FT_ULong)y << shift );
134 shift -= FT_TRIG_SAFE_MSB;
135 vec->x = x >> shift;
136 vec->y = y >> shift;
365 FT_Int shift; local
402 FT_Int shift; local
438 FT_Int shift; local
[all...]
/external/pdfium/fpdfsdk/src/javascript/
H A Devent.cpp37 JS_STATIC_PROP_ENTRY(shift)
273 FX_BOOL event::shift(OBJ_PROP_PARAMS) function in class:event
/external/qemu/audio/
H A Dwavcapture.c97 int stereo, bits16, shift; local
125 shift = bits16 + stereo;
130 le_store (hdr + 28, freq << shift, 4);
131 le_store (hdr + 32, 1 << shift, 2);
/external/skia/include/core/
H A DSkMath.h56 * Computes (numer1 << shift) / denom in full 64 intermediate precision.
60 int32_t SkDivBits(int32_t numer, int32_t denom, int shift);
185 * Return a*b/((1 << shift) - 1), rounding any fractional bits.
186 * Only valid if a and b are unsigned and <= 32767 and shift is > 0 and <= 8
188 static inline unsigned SkMul16ShiftRound(U16CPU a, U16CPU b, int shift) { argument
191 SkASSERT(shift > 0 && shift <= 8);
192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1));
193 return (prod + (prod >> shift)) >> shift;
[all...]
/external/skia/src/core/
H A DSkEdgeBuilder.cpp75 static void setShiftedClip(SkRect* dst, const SkIRect& src, int shift) { argument
76 dst->set(SkIntToScalar(src.fLeft >> shift),
77 SkIntToScalar(src.fTop >> shift),
78 SkIntToScalar(src.fRight >> shift),
79 SkIntToScalar(src.fBottom >> shift));
/external/skia/src/image/
H A DSkSurface_Raster.cpp42 int shift = 0; local
45 shift = 0;
48 shift = 1;
51 shift = 2;
61 uint64_t minRB = (uint64_t)info.fWidth << shift;
66 size_t alignedRowBytes = rowBytes >> shift << shift;
/external/skia/tests/
H A DPathCoverageTest.cpp50 int shift = 30 - SkCLZ(distance); local
52 shift &= ~(shift>>31);
53 if (shift > MAX_COEFF_SHIFT) {
54 shift = MAX_COEFF_SHIFT;
56 return 1 << shift;
H A DRandomTest.cpp59 static void test_random_byte(skiatest::Reporter* reporter, int shift) { argument
65 bins[(rand.nextU() >> shift) & 0xff]++;
93 // we are using the random bit generated from a single shift position to generate
102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { argument
117 value |= ((rnd >> shift) & 0x1);
124 value |= ((rnd >> shift) & 0x1);
/external/speex/libspeex/
H A Dfftwrap.c47 int i, shift; local
56 shift=0;
60 shift++;
64 out[i] = SHL16(in[i], shift);
66 return shift;
69 static void renorm_range(spx_word16_t *in, spx_word16_t *out, int shift, int len) argument
74 out[i] = PSHR16(in[i], shift);
275 int shift; local
277 shift = maximize_range(in, in, 32000, t->N);
279 renorm_range(in, in, shift,
[all...]
H A Dstereo.c154 int shift; local
187 shift = spx_ilog2(largest)-15;
188 largest = VSHR32(largest, shift-4);
189 smallest = VSHR32(smallest, shift);
206 shift = spx_ilog2(e_tot);
207 e_tot = VSHR32(e_tot, shift-25);
208 e_left = VSHR32(e_left, shift-10);
209 e_right = VSHR32(e_right, shift-10);
/external/srec/srec/clib/
H A Dspecnorm.c310 void shift_distribution_counts(spect_dist_info *spec, int shift) argument
315 if (shift > 0)
317 if (shift > (spec->high_entry - spec->low_entry))
319 for (ii = 0; ii < shift; ii++)
321 - spec->low_entry - shift + ii];
323 MEMMOVE(&spec->hist[shift], spec->hist,
324 (spec->high_entry - spec->low_entry - shift + 1),
326 for (ii = 0; ii < shift; ii++)
329 else if (shift < 0)
331 if (shift < (spe
356 shift_parameters(spect_dist_info *spec, int shift) argument
[all...]
/external/valgrind/main/none/tests/s390x/
H A Ddfp-2.c10 - shift left/right 64/128 bit
215 int *shift = (int *) amount; local
219 :[in]"f"(in),[amount]"a"(shift));
231 int *shift = (int *) amount; local
235 :[in]"f"(in),[amount]"a"(shift));
247 int *shift = (int *) amount; local
251 :[in]"f"(in),[amount]"a"(shift));
263 int *shift = (int *) amount; local
267 :[in]"f"(in),[amount]"a"(shift));
/external/webrtc/src/common_audio/signal_processing/
H A Dcomplex_fft.c289 int i, j, l, k, istep, n, m, scale, shift; local
310 shift = 0;
316 shift++;
322 shift++;
356 frfi[2 * j] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 - tr32, shift);
357 frfi[2 * j + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 - ti32, shift);
358 frfi[2 * i] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qr32 + tr32, shift);
359 frfi[2 * i + 1] = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(qi32 + ti32, shift);
410 shift+CIFFTSFT);
412 (qi32 - ti32 + round2), shift
[all...]
/external/aac/libAACdec/src/
H A Daacdec_pns.cpp294 int i, shift, sfExponent; local
308 shift = sfExponent - specScale + 1 + noise_e;
311 if (shift>=0) {
312 shift = fixMin( shift, DFRACT_BITS-1 );
314 spec [i] = fMultDiv2 (spec [i], sfMatissa) << shift;
317 shift = fixMin( -shift, DFRACT_BITS-1 );
319 spec [i] = fMultDiv2 (spec [i], sfMatissa) >> shift;
/external/aac/libAACenc/src/
H A Dband_nrg.cpp199 INT shift = -leadingBits; local
201 spec = mdctSpectrum[j]>>shift;
/external/aac/libSYS/src/
H A Dwav_file.cpp486 int shift; local
495 shift = (nBufBits-nSigBits)-(32-bps);
499 shift += 8;
502 if (shift < 0)
503 tmp >>= -shift;
505 tmp <<= shift; local
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DAESEngine.java223 private static int shift(int r, int shift) argument
225 return (r >>> shift) | (r << -shift);
256 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24);
308 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC)-1];
487 r0 = T0[C0&255] ^ shift(T0[(C1>>8)&255], 24) ^ shift(T
[all...]
H A DAESFastEngine.java553 private static int shift(int r, int shift) argument
555 return (r >>> shift) | (r << -shift);
586 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24);
639 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC) - 1];
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager.cc158 int shift = std::min(vertical_displacement, local
160 if (shift > 0) {
161 gfx::Point origin(window_bounds.x(), window_bounds.y() - shift);
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_network_interceptor.cc140 int64_t shift = ticks % length; local
143 (ticks / length) * kPacketSize + (i < shift ? kPacketSize : 0));
146 throttled_transactions_.begin() + shift, throttled_transactions_.end());
/external/chromium_org/chrome/browser/extensions/
H A Dextension_action.cc47 color_utils::HSL shift = {-1, 0, 0.5}; variable
49 SkBitmapOperations::CreateHSLShiftedBitmap(icon_rep.sk_bitmap(), shift),
/external/chromium_org/chrome/browser/history/
H A Dvisit_filter.cc200 base::TimeDelta shift = base::TimeDelta::FromDays( local
204 day_base -= shift;
/external/chromium_org/chrome/browser/ui/app_list/
H A Dextension_app_item.cc108 const color_utils::HSL shift = {-1, 0, 0.6}; member in namespace:__anon4948
126 shift)),
189 const color_utils::HSL shift = {-1, 0, 0.6}; local
190 icon = gfx::ImageSkiaOperations::CreateHSLShiftedImage(icon, shift);

Completed in 1723 milliseconds

1234567891011>>