/dalvik/libcore/sql/src/main/java/SQLite/ |
StringEncoder.java | 28 * is applied after determining and applying a shift that minimizes 45 // bogus shift, no data 53 // determine shift for minimum number of escapes 54 int shift = 1; local 63 shift = i; 73 out.append((char)shift); 75 // apply shift 76 char c = (char)((a[i] - shift)&0xff); 124 // first element is the shift 127 int shift = s.charAt(i++) local [all...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/ |
hp_max.cpp | 140 Word16 shift, shift1, shift2; 196 shift = sub(shift1, shift2); 198 if (shift >= 0) 200 *cor_hp_max = shr(cor_max, shift); // Q15 204 *cor_hp_max = shl(cor_max, negate(shift)); // Q15 251 Word16 shift, shift1, shift2; local 319 shift = sub(shift1, shift2, pOverflow); 321 if (shift >= 0) 323 *cor_hp_max = shr(cor_max, shift, pOverflow); /* Q15 */ 327 *cor_hp_max = shl(cor_max, negate(shift), pOverflow); /* Q15 * [all...] |
/external/speex/libspeex/ |
lpc.c | 138 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));
|
arch.h | 165 #define SHR16(a,shift) (a) 166 #define SHL16(a,shift) (a) 167 #define SHR32(a,shift) (a) 168 #define SHL32(a,shift) (a) 169 #define PSHR16(a,shift) (a) 170 #define PSHR32(a,shift) (a) 171 #define VSHR32(a,shift) (a) 175 #define PSHR(a,shift) (a) 176 #define SHR(a,shift) (a) 177 #define SHL(a,shift) (a [all...] |
/external/srec/srec/cfront/ |
chelmel4.c | 132 if (channel->shift > 0) 137 SHIFT_DOWN(cepobj->mel_offset[ii], channel->shift)), 138 channel->shift); 145 SHIFT_UP(cepobj->mel_offset[ii], -channel->shift)), 146 channel->shift);
|
spec_anl.c | 65 channel->shift = 0; 83 channel->shift += place_sample_data(&freqobj->fft, channel->prebuff, 87 if (channel->shift >= 0) 89 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.real, D_FIXED, (float)(0x01 << channel->shift)); 90 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.imag, D_FIXED, (float)(0x01 << channel->shift)); 94 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.real, D_FIXED, (float)1 / (0x01 << -channel->shift)); 95 write_scaled_frames(freqobj->fft.size, 1, freqobj->fft.imag, D_FIXED, (float)1 / (0x01 << -channel->shift)); 98 channel->shift *= 2; 99 channel->shift += fft_perform_and_magsq(&freqobj->fft); 103 if (channel->shift >= 0 [all...] |
/external/srec/srec/clib/ |
matx_ops.c | 76 int ii, jj, shift; local 98 shift = 0; 101 shift++; 105 scale_coef = (1 << shift); 121 return (shift);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
hp_max.cpp | 140 Word16 shift, shift1, shift2; 196 shift = sub(shift1, shift2); 198 if (shift >= 0) 200 *cor_hp_max = shr(cor_max, shift); // Q15 204 *cor_hp_max = shl(cor_max, negate(shift)); // Q15 251 Word16 shift, shift1, shift2; local 319 shift = sub(shift1, shift2, pOverflow); 321 if (shift >= 0) 323 *cor_hp_max = shr(cor_max, shift, pOverflow); /* Q15 */ 327 *cor_hp_max = shl(cor_max, negate(shift), pOverflow); /* Q15 * [all...] |
/frameworks/base/services/java/com/android/server/status/ |
IconMerger.java | 82 int shift = -1; local 101 // decide how much to shift by 102 if (shift < 0) { 103 shift = childLeft - fitLeft; 105 // shift this left by shift 106 child.layout(childLeft-shift, child.getTop(), 107 childRight-shift, child.getBottom());
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetDecoder.java | 42 private final byte shift;
field in class:UTF7StyleCharsetDecoder 55 this.shift = cs.shift();
74 out.put((char)shift);
87 if (b == shift) {
|
/external/skia/src/effects/ |
SkColorMatrixFilter.cpp | 19 const int shift = state->fShift; local 22 result[0] = rowmul4(&array[0], r, g, b, a) >> shift; 23 result[1] = rowmul4(&array[5], r, g, b, a) >> shift; 24 result[2] = rowmul4(&array[10], r, g, b, a) >> shift; 25 result[3] = rowmul4(&array[15], r, g, b, a) >> shift; 42 const int shift = state->fShift; local 45 result[0] = rowmul3(&array[0], r, g, b) >> shift; 46 result[1] = rowmul3(&array[5], r, g, b) >> shift; 47 result[2] = rowmul3(&array[10], r, g, b) >> shift; 65 const int shift = state->fShift local 90 const int shift = state->fShift; local [all...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/ |
homing_amr_wb_dec.cpp | 250 int16 i, j, tmp, shift; local 289 shift = 15 - tmp; 290 param[i] = shl_int16(param[i], shift); 320 shift = 0; 335 tmp >>= shift; local 336 tmp = shl_int16(tmp, shift);
|
/external/skia/src/images/ |
SkFlipPixelRef.cpp | 83 const void* srcAddr, int shift) { 84 const size_t offset = rect.fTop * dst.rowBytes() + (rect.fLeft << shift); 88 const size_t bytes = rect.width() << shift; 115 const int shift = getShift(dst.config()); local 116 if (shift < 0) { 124 copyRect(dst, iter.rect(), srcAddr, shift);
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
homing_amr_wb_dec.cpp | 250 int16 i, j, tmp, shift; local 289 shift = 15 - tmp; 290 param[i] = shl_int16(param[i], shift); 320 shift = 0; 335 tmp >>= shift; local 336 tmp = shl_int16(tmp, shift);
|
/system/core/libpixelflinger/codeflinger/ |
ARMAssemblerInterface.cpp | 88 uint32_t ARMAssemblerInterface::reg_imm(int Rm, int type, uint32_t shift) 90 return ((shift&0x1F)<<7) | ((type&0x3)<<5) | (Rm&0xF); 124 uint32_t shift, int W) 128 reg_imm(abs(Rm), type, shift); 131 uint32_t ARMAssemblerInterface::reg_scale_post(int Rm, int type, uint32_t shift) 133 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift);
|
load_store.cpp | 329 const int shift = (GGL_DITHER_BITS - (sbits-dbits)); local 330 if (shift>0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSR, shift)); 331 else if (shift<0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSL,-shift)); 337 int shift = sh-dbits; local 339 MOV(AL, 0, ireg, reg_imm(s.reg, LSR, shift)); 347 MOV(AL, 0, d.reg, reg_imm(s.reg, LSR, shift)); 349 ORR(AL, 0, d.reg, d.reg, reg_imm(s.reg, LSR, shift)); 353 int shift = sh-dh local [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
RSAEngine.java | 19 private int shift; field in class:RSAEngine 38 this.shift = 0; 42 this.shift = (8 - (bitSize % 8)); 106 else if (inLen == (getInputBlockSize() + 1) && (in[inOff] & (0x80 >> shift)) != 0)
|
/dalvik/vm/mterp/x86-atom/ |
OP_SHR_LONG.S | 19 * Code: Performs a shift right long 23 * Description: Perform a binary shift operation using two source registers 24 * where one is the shift amount and the other is the value to shift. 37 pand %xmm2, %xmm0 # %xmm0<- masked for the shift bits 46 psubq %xmm0, %xmm3 # %xmm3<- 64 - shift amount
|
/external/qemu/audio/ |
wavaudio.c | 69 samples = INT_MAX >> hw->info.shift; 72 samples = bytes >> hw->info.shift; 89 dst = advance (wav->pcm_buf, rpos << hw->info.shift); 92 qemu_put_buffer (wav->f, dst, convert_samples << hw->info.shift); 156 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); 159 hw->samples << hw->info.shift); 186 uint32_t datalen = wav->total_samples << hw->info.shift; 240 int shift = 0; local 243 result = result | (p[0] << shift); 245 shift += 8 [all...] |
ossaudio.c | 307 bufsize = hw->samples << hw->info.shift; 332 decr = audio_MIN (bytes >> hw->info.shift, live); 358 decr = audio_MIN (abinfo.bytes >> hw->info.shift, live); 371 dst = advance (oss->pcm_buf, rpos << hw->info.shift); 377 written = write (oss->fd, dst, convert_samples << hw->info.shift); 383 convert_samples << hw->info.shift, 389 if (written != convert_samples << hw->info.shift) { 390 int wsamples = written >> hw->info.shift; 391 int wbytes = wsamples << hw->info.shift; 424 err = munmap (oss->pcm_buf, hw->samples << hw->info.shift); [all...] |
/external/webkit/JavaScriptCore/wtf/ |
TCPackedCache.h | 194 const int shift = kHashbits - kValuebits; local 196 return static_cast<T>(k >> shift) & kUpperMask; 203 const int shift = kHashbits - kValuebits; local 205 return static_cast<K>(u) << shift;
|
/frameworks/base/opengl/libagl/ |
matrix.h | 149 // that have been shifted right by 'shift' bits relative to normal 154 GLint shift, 169 "r"(shift), 183 accum = (accum << shift) + c; 194 GLint shift, 210 "r"(shift), 225 accum = (accum << shift) + c; 235 GLint shift, 251 "r"(shift), 266 accum = (accum << shift) + c [all...] |
/external/libpng/ |
pngwtran.c | 66 &(png_ptr->shift)); 138 int shift, v; local 144 shift = 6; 151 v |= (value << shift); 152 if (shift == 0) 154 shift = 6; 160 shift -= 2; 163 if (shift != 6) 170 int shift, v; local 176 shift = 4 [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwtran.c | 61 &(png_ptr->shift)); 132 int shift, v; local 138 shift = 6; 145 v |= (value << shift); 146 if (shift == 0) 148 shift = 6; 154 shift -= 2; 157 if (shift != 6) 164 int shift, v; local 170 shift = 4 [all...] |
/external/skia/src/core/ |
SkFloat.cpp | 39 int SkFloat::GetShift(int32_t packed, int shift) 44 int exp = get_unsigned_exp(packed) - EXP_BIAS - shift; 67 int32_t SkFloat::SetShift(int value, int shift) 81 shift += bias; 88 shift -= zeros; 93 shift += EXP_BIAS; 94 if (shift < 0) // underflow 98 if (shift > 255) // overflow 100 shift = 255; 104 packed |= shift << 23; // store the packed exponen [all...] |