Searched defs:shift (Results 101 - 125 of 522) sorted by relevance

1234567891011>>

/external/freetype/src/truetype/
H A Dttpload.c67 FT_Int shift; local
90 shift = 2;
98 face->num_locations = table_len >> shift;
102 shift = 1;
110 face->num_locations = table_len >> shift;
122 ( (FT_Long)( face->root.num_glyphs ) + 1 ) << shift;
/external/grub/netboot/
H A Dmisc.c97 int shift = 28; local
107 shift = 12;
113 shift = 4;
134 for (; shift >= 0; shift -= 4)
135 *q++ = "0123456789ABCDEF"[(h >> shift) & 0xF] | ncase;
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael-alg-fst.c411 word8 temp[4], shift; local
429 shift = (4 - i) & 3;
430 temp[0] = a[(0 + shift) & 3][i];
431 temp[1] = a[(1 + shift) & 3][i];
432 temp[2] = a[(2 + shift) & 3][i];
433 temp[3] = a[(3 + shift) & 3][i];
476 shift = (4 - i) & 3;
477 temp[0] = a[(0 + shift) & 3][i];
478 temp[1] = a[(1 + shift) & 3][i];
479 temp[2] = a[(2 + shift)
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dreconintra.c39 int shift; local
65 shift = 3 + x->up_available + x->left_available;
66 expected_dc = (average + (1 << (shift - 1))) >> shift;
170 int shift; local
199 shift = 2 + x->up_available + x->left_available;
200 expected_udc = (Uaverage + (1 << (shift - 1))) >> shift;
201 expected_vdc = (Vaverage + (1 << (shift - 1))) >> shift;
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_shader.cpp320 const unsigned shift = 4 * (2 - i); local
321 offset_bits |= (offsets[i] << shift) & (0xF << shift);
/external/openssl/crypto/bn/
H A Dbn_gcd.c263 int shift; local
277 shift = 0;
278 while (!BN_is_bit_set(B, shift)) /* note that 0 < B */
280 shift++;
289 if (shift > 0)
291 if (!BN_rshift(B, B, shift)) goto err;
296 shift = 0;
297 while (!BN_is_bit_set(A, shift)) /* note that 0 < A */
299 shift++;
308 if (shift >
[all...]
/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/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.cpp45 int shift = 0; local
48 shift = 0;
51 shift = 1;
54 shift = 2;
66 uint64_t minRB = (uint64_t)info.fWidth << shift;
71 size_t alignedRowBytes = rowBytes >> shift << shift;
/external/skia/src/images/
H A DSkFlipPixelRef.cpp66 const void* srcAddr, int shift) {
67 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift);
71 const size_t bytes = rect.width() << shift;
98 const int shift = getShift(dst.config()); local
99 if (shift < 0) {
107 copyRect(dst, iter.rect(), srcAddr, shift);
65 copyRect(const SkBitmap& dst, const SkIRect& rect, const void* srcAddr, int shift) argument
/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.cpp60 static void test_random_byte(skiatest::Reporter* reporter, int shift) { argument
66 bins[(rand.nextU() >> shift) & 0xff]++;
94 // we are using the random bit generated from a single shift position to generate
103 static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { argument
118 value |= ((rnd >> shift) & 0x1);
125 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/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DCalendarTest.java1062 Map<String, Integer> result, int shift) {
1071 assertEquals(i + shift, result.get(trimValue.get(i)).intValue());
1061 assertDisplayNameMap(String[] values, Map<String, Integer> result, int shift) argument
/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/chrome/browser/automation/
H A Dui_controls_linux.cc101 bool shift,
130 ui::SynthesizeKeyPressEvents(event_window, key, control, shift, alt, &events);
144 bool shift,
152 if (shift)
158 return SendKeyPress(window, key, control, shift, alt, command);
98 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
141 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, Task* task) argument
H A Dui_controls_win.cc166 bool control, bool shift, bool alt,
195 if (shift) {
221 if (shift) {
331 bool shift,
335 return SendKeyPressImpl(key, control, shift, alt, NULL);
341 bool shift,
346 return SendKeyPressImpl(key, control, shift, alt, task);
165 SendKeyPressImpl(ui::KeyboardCode key, bool control, bool shift, bool alt, Task* task) argument
328 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument
338 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, Task* task) argument
/external/chromium/chrome/browser/
H A Dprocess_info_snapshot_mac.cc88 int shift = 0; local
91 shift = 0;
95 shift = 1;
98 shift = 2;
101 shift = 3;
104 shift = 4;
107 shift = 5;
110 shift = 6;
117 for (int i = 0; i < shift; i++)

Completed in 3002 milliseconds

1234567891011>>