/external/zlib/contrib/masmx64/ |
inffas8664.c | 57 state->bits < 8
67 - The maximum input bits used by a length/distance pair is 15 bits for the
68 length code, 5 bits for the length extra, 15 bits for the distance code,
69 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
95 /* 88 44 */ unsigned bits; /* ebx rbx local strm->bits */
member in struct:inffast_ar 136 ar.bits = state->bits; [all...] |
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form23x.java | 80 BitSet bits = new BitSet(3); local 82 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); 83 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); 84 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); 85 return bits;
|
Form33x.java | 84 BitSet bits = new BitSet(3); local 86 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); 87 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); 88 bits.set(2, unsignedFitsInShort(regs.get(2).getReg())); 89 return bits;
|
/external/dropbear/libtomcrypt/src/prngs/ |
rng_get_bytes.c | 15 portable way to get secure random bits to feed a PRNG (Tom St Denis) 61 int l, acc, bits, a, b; local 68 bits = 8; 72 while (bits--) { 81 bits = 8; 83 acc = bits = a = b = 0;
|
/external/flac/libFLAC/ |
bitreader.c | 54 /* WATCHOUT: there are a few places where the code will not work unless brword is >= 32 bits wide */ 83 * read. With FLAC this is on the order of maybe a few hundred bits. 137 /* any partially-consumed word at the head will stay right-justified as bits are consumed from the left */ 144 unsigned consumed_bits; /* ... + (#bits of head word) already consumed from the front of buffer */ 146 unsigned crc16_align; /* the number of bits in the current consumed word that should not be CRC'd */ 232 /* before reading, if the existing reader looks like this (say brword is 32 bits wide) 371 fprintf(out, "bitreader: capacity=%u words=%u bytes=%u consumed: words=%u, bits=%u\n", br->capacity, br->words, br->bytes, br->consumed_words, br->consumed_bits); 435 FLaC__INLINE FLAC__bool FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits) 440 FLAC__ASSERT(bits <= 32); 441 FLAC__ASSERT((br->capacity*FLAC__BITS_PER_WORD) * 2 >= bits); 473 *val <<= bits; local 813 unsigned bits; \/* the # of binary LSBs left to read to finish a rice codeword *\/ local 928 uval <<= bits; local 940 uval <<= bits; local 948 uval <<= bits; local 959 uval <<= bits; local [all...] |
/external/qemu/audio/ |
wavcapture.c | 10 int bits; member in struct:__anon9528 75 wav->freq, wav->bits, wav->nchannels, 85 int bits, int nchannels) 100 if (bits != 8 && bits != 16) { 101 monitor_printf(mon, "incorrect bit count %d, must be 8 or 16\n", bits); 112 bits16 = bits == 16; 142 wav->bits = bits;
|
/external/skia/src/core/ |
SkFloat.h | 40 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } 41 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); } 43 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } 44 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); } 104 static int32_t Shift(int32_t, int bits);
|
SkBlitBWMaskTemplate.h | 49 const uint8_t* bits = srcMask.getAddr1(cx, cy); local 58 U8CPU mask = *bits++; 97 U8CPU mask = *bits & left_mask; 99 bits += mask_rowBytes; 108 const uint8_t* b = bits; 125 bits += mask_rowBytes;
|
/external/tinyalsa/ |
tinycap.c | 62 unsigned int bits); 76 unsigned int bits = 16; local 81 "[-r rate] [-b bits]\n", argv[0]); 105 bits = atoi(*argv); 120 header.bits_per_sample = bits; 144 unsigned int bits) 156 if (bits == 32) 158 else if (bits == 16) 180 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); 192 return bytes_read / ((bits / 8) * channels) [all...] |
/system/core/init/ |
logo.c | 43 unsigned short *bits; member in struct:FB 65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE, 67 if (fb->bits == MAP_FAILED) 79 munmap(fb->bits, fb_size(fb)); 109 unsigned short *data, *bits, *ptr; local 136 bits = fb.bits; 141 android_memset16(bits, ptr[1], n << 1); 142 bits += n;
|
/external/webrtc/src/common_audio/signal_processing_library/main/interface/ |
spl_inl.h | 235 int bits; local 237 if ((0xFFFF0000 & n)) bits = 16; else bits = 0; 238 if ((0x0000FF00 & (n >> bits))) bits += 8; 239 if ((0x000000F0 & (n >> bits))) bits += 4; 240 if ((0x0000000C & (n >> bits))) bits += 2; 241 if ((0x00000002 & (n >> bits))) bits += 1 [all...] |
/external/speex/libspeex/ |
stereo.c | 108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) 124 speex_bits_pack(bits, 14, 5); 125 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4); 131 speex_bits_pack(bits, 0, 1); 133 speex_bits_pack(bits, 1, 1); 138 speex_bits_pack(bits, (int)balance, 5); 142 speex_bits_pack(bits, tmp, 2); 146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) 158 speex_bits_pack(bits, 14, 5); 160 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4) [all...] |
/external/zlib/ |
inflate.c | 30 * - Add comments on state->bits assertion in inffast.c 122 state->bits = 0; 154 /* set number of window bits, free window if different */ 209 int ZEXPORT inflatePrime(strm, bits, value) 211 int bits; 218 if (bits < 0) { 220 state->bits = 0; 223 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR 250 unsigned sym, bits; local 598 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/tremolo/Tremolo/ |
bitwise.c | 38 /* We're 'LSb' endian; if we write a word but read individual bits, 73 extern long oggpack_lookARM(oggpack_buffer *b,int bits); 75 long oggpack_look(oggpack_buffer *b,int bits){ 78 //fprintf(stderr, "PreLook: buffer=(%x,%x,%x) %08x%08x (%d bits)\n", 80 // b->ptr[1], b->ptr[0], bits); 82 l = oggpack_lookARM(b,bits); 83 //fprintf(stderr, "Look: buffer=(%d,%x,%d,%d) %08x%08x (%d bits) (result=%x)\n", 85 // b->ptr[1], b->ptr[0], bits, l); 91 extern void oggpack_advARM(oggpack_buffer *b,int bits); 93 void oggpack_adv(oggpack_buffer *b,int bits){ [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 146 int bits = readInt(nBytes); local 148 bits <<= bytesToMove; 149 return Float.intBitsToFloat(bits); 173 long bits = readLong(nBytes); local 175 bits <<= bytesToMove; 176 return Double.longBitsToDouble(bits);
|
/dalvik/vm/mterp/x86-atom/ |
OP_SHR_LONG.S | 37 pand %xmm2, %xmm0 # %xmm0<- masked for the shift bits 47 movq .L64bits, %xmm4 # %xmm4<- lower 64 bits set 48 psllq %xmm3, %xmm4 # %xmm4<- correct mask for sign bits
|
/external/opencv/otherlibs/highgui/ |
bitstrm.h | 128 int Get( int bits ); 129 int Show( int bits ); 148 int Get( int bits ); 149 int Show( int bits ); 223 void Put( int val, int bits ); 246 void Put( int val, int bits );
|
/external/speex/include/speex/ |
speex.h | 124 /** Set Average Bit-Rate (ABR) to n bits per seconds */ 227 typedef int (*encode_func)(void *state, void *in, SpeexBits *bits); 239 typedef int (*decode_func)(void *state, SpeexBits *bits, void *out); 308 "in". The encoded bit-stream is saved in "bits". 313 @param bits Bit-stream where the data will be written 316 int speex_encode(void *state, float *in, SpeexBits *bits); 319 "in". The encoded bit-stream is saved in "bits". 322 @param bits Bit-stream where the data will be written 325 int speex_encode_int(void *state, spx_int16_t *in, SpeexBits *bits); 354 * bit-stream bits. The output speech is saved written to out [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_util.c | 48 /* look-up table for expected values of stuffing bits */ 70 length number of bits in the code word 106 Check Raw Byte Stream Payload (RBSP) trailing bits, i.e. stuffing. 109 more '0' bits. 118 HANTRO_OK RBSP trailing bits found 156 -more than 8 bits left or 157 -last bits are not RBSP trailing bits 176 u32 bits; local 183 bits = pStrmData->strmBuffSize * 8 - pStrmData->strmBuffReadBits [all...] |
/external/icu4c/common/ |
ucnv_u7.c | 168 * 15..0 bits (up to 14 bits incoming base64) 174 * 7..0 bits (6 bits outgoing base64) 219 uint16_t bits; local 241 bits=(uint16_t)status; 285 bits=0; 321 bits=base64Value; 328 bits=(uint16_t)((bits<<6)|base64Value) 456 uint8_t bits; local 876 uint16_t bits; local 1142 uint8_t bits; local [all...] |
/external/openssl/crypto/dsa/ |
dsa_gen.c | 84 int DSA_generate_parameters_ex(DSA *ret, int bits, 89 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len, 94 size_t qbits = bits >= 2048 ? 256 : 160; 96 if (bits >= 2048) 107 return dsa_builtin_paramgen(ret, bits, qbits, evpmd, 112 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, 138 if (bits < 512) 139 bits = 512; 141 bits = (bits+63)/64*64 [all...] |
dsa_depr.c | 86 DSA *DSA_generate_parameters(int bits, 99 if(DSA_generate_parameters_ex(ret, bits, seed_in, seed_len,
|
/external/qemu/distrib/zlib-1.2.3/ |
inflate.c | 30 * - Add comments on state->bits assertion in inffast.c 122 state->bits = 0; 128 int ZEXPORT inflatePrime(strm, bits, value) 130 int bits; 137 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; 138 value &= (1L << bits) - 1; 139 state->hold += value << state->bits; 140 state->bits += bits 215 unsigned sym, bits; local 563 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/openssl/crypto/rsa/ |
rsa_depr.c | 71 RSA *RSA_generate_key(int bits, unsigned long e_value, 92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) {
|
/external/quake/quake/src/WinQuake/ |
sv_main.cpp | 376 // if this is a leaf, accumulate the pvs bits 430 int bits; local 472 bits = 0; 478 bits |= U_ORIGIN1<<i; 482 bits |= U_ANGLE1; 485 bits |= U_ANGLE2; 488 bits |= U_ANGLE3; 491 bits |= U_NOLERP; // don't mess up the step animation 494 bits |= U_COLORMAP; 497 bits |= U_SKIN 578 int bits; local [all...] |