/external/freetype/src/truetype/ |
H A D | ttpload.c | 67 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 D | misc.c | 97 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 D | rijndael-alg-fst.c | 411 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 D | reconintra.c | 39 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 D | brw_shader.cpp | 320 const unsigned shift = 4 * (2 - i); local 321 offset_bits |= (offsets[i] << shift) & (0xF << shift);
|
/external/openssl/crypto/bn/ |
H A D | bn_gcd.c | 263 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 D | wavcapture.c | 97 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 D | SkEdgeBuilder.cpp | 75 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 D | SkSurface_Raster.cpp | 45 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 D | SkFlipPixelRef.cpp | 66 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 D | PathCoverageTest.cpp | 50 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 D | RandomTest.cpp | 60 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 D | fftwrap.c | 47 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 D | stereo.c | 154 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 D | specnorm.c | 310 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 D | complex_fft.c | 289 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 D | aacdec_pns.cpp | 294 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 D | band_nrg.cpp | 199 INT shift = -leadingBits; local 201 spec = mdctSpectrum[j]>>shift;
|
/external/aac/libSYS/src/ |
H A D | wav_file.cpp | 486 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 D | CalendarTest.java | 1062 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 D | AESEngine.java | 223 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 D | AESFastEngine.java | 553 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 D | ui_controls_linux.cc | 101 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 D | ui_controls_win.cc | 166 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 D | process_info_snapshot_mac.cc | 88 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++)
|