/external/oprofile/libpopt/ |
H A D | poptint.h | 34 __pbm_bits bits[1]; member in struct:__anon9958 37 #define __PBM_BITS(set) ((set)->bits)
|
/external/qemu/ |
H A D | aes.c | 731 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, argument 740 if (bits != 128 && bits != 192 && bits != 256) 745 if (bits==128) 747 else if (bits==192) 756 if (bits == 128) { 776 if (bits == 192) { 798 if (bits == 256) { 832 int AES_set_decrypt_key(const unsigned char *userKey, const int bits, argument [all...] |
/external/qemu/distrib/jpeg-6b/ |
H A D | jcparam.c | 52 if (temp > 32767L) temp = 32767L; /* max quantizer needed for 12 bits */ 153 JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) 162 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); 170 nsymbols += bits[len]; 152 add_huff_table(j_compress_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) argument
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ums/ |
H A D | SDL_umsaudio.c | 55 static UMSAudioDevice_ReturnCode UADGetBitsPerSample(_THIS, long* bits); 56 static UMSAudioDevice_ReturnCode UADSetBitsPerSample(_THIS, long bits); 353 static UMSAudioDevice_ReturnCode UADGetBitsPerSample(_THIS, long* bits) 357 bits ); 360 static UMSAudioDevice_ReturnCode UADSetBitsPerSample(_THIS, long bits) 364 bits ); 352 UADGetBitsPerSample(_THIS, long* bits) argument 359 UADSetBitsPerSample(_THIS, long bits) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_bmp.c | 59 Uint8 *bits; local 159 /* Expand 1 and 4 bit bitmaps to 8 bits per pixel */ 278 bits = top; 280 bits = end - surface->pitch; 282 while ( bits >= top && bits < end ) { 297 *(bits+i) = (pixel>>shift); 303 if ( SDL_RWread(src, bits, 1, surface->pitch) 315 Uint16 *pix = (Uint16 *)bits; 322 Uint32 *pix = (Uint32 *)bits; 365 Uint8 *bits; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/ |
H A D | SDL_QWin.cc | 130 unsigned short *bits, 152 sp1 = (ulong*)bits + startx + starty*240; 187 unsigned short *bits, 208 sp1 = (ulong*)bits + startx + starty*240; 245 uchar *buf = (uchar*)my_image->bits(); 275 ushort *buf = (ushort*)my_image->bits(); 281 uchar *buf = (uchar*)my_image->bits(); 305 uchar *buf = (uchar*)my_image->bits(); 329 ushort *buf = (ushort*)my_image->bits(); 129 gs_fastRotateBlit_3( unsigned short *fb, unsigned short *bits, const QRect& rect ) argument 186 gs_fastRotateBlit_1( unsigned short *fb, unsigned short *bits, const QRect& rect ) argument
|
/external/qemu/distrib/zlib-1.2.3/ |
H A D | 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 215 unsigned sym, bits; local 563 unsigned bits; /* bits in bit buffer */ local [all...] |
H A D | inflate.h | 32 TYPE, /* i: waiting for type bits, including last-flag bit */ 40 LENEXT, /* i: waiting for length extra bits */ 42 DISTEXT, /* i: waiting for distance extra bits */ 95 unsigned bits; /* number of bits in "in" */ member in struct:inflate_state 100 unsigned extra; /* extra bits needed */ 104 unsigned lenbits; /* index bits for lencode */ 105 unsigned distbits; /* index bits for distcode */
|
/external/quake/quake/src/QW/client/ |
H A D | md4.c | 53 UINT4 count[2]; /* number of bits, modulo 2^64 (lsb first) */ 104 /* ROTATE_LEFT rotates x left n bits. */ 136 /* Update number of bits */ 166 unsigned char bits[8]; local 169 /* Save number of bits */ 170 Encode (bits, context->count, 8); 178 MD4Update (context, bits, 8);
|
/external/quake/quake/src/QW/server/ |
H A D | sv_ents.c | 46 // if this is a leaf, accumulate the pvs bits 112 byte bits[6]; // [48 bits] xyzpy 12 12 12 4 8 local 132 bits[0] = x; 133 bits[1] = (x>>8) | (y<<4); 134 bits[2] = (y>>4); 135 bits[3] = z; 136 bits[4] = (z>>8) | (p<<4); 137 bits[5] = yaw; 140 MSG_WriteByte (msg, bits[ 157 int bits; local [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | cl_parse.cpp | 330 void CL_ParseUpdate (int bits) argument 346 if (bits & U_MOREBITS) 349 bits |= (i<<8); 352 if (bits & U_LONGENTITY) 360 if (bits&(1<<i)) 370 if (bits & U_MODEL) 400 if (bits & U_FRAME) 405 if (bits & U_COLORMAP) 419 if (bits & U_SKIN) 431 if (bits 514 CL_ParseClientdata(int bits) argument [all...] |
H A D | sv_user.cpp | 442 int bits; local 461 bits = MSG_ReadByte (); 462 host_client->edict->u.v.button0 = bits & 1; 463 host_client->edict->u.v.button2 = (bits & 2)>>1;
|
/external/regex-re2/re2/ |
H A D | prog.cc | 317 uint32 bits = 0; local 320 bits = v.Word(i >> 5); 322 n += bits & 1; 323 bits >>= 1;
|
/external/skia/src/core/ |
H A D | Sk64.cpp | 17 #define shift_left_bits(hi, lo, bits) \ 18 SkASSERT((unsigned)(bits) < 31); \ 19 hi = (hi << (bits)) | (lo >> (32 - (bits))); \ 20 lo <<= (bits) 38 void Sk64::shiftLeft(unsigned bits) argument 40 SkASSERT(bits <= 63); 41 if (bits == 0) 44 if (bits >= 32) 46 fHi = fLo << (bits 52 fLo <<= bits; local 75 shiftRight(unsigned bits) argument 89 fHi >>= bits; local 93 roundRight(unsigned bits) argument 236 int bits; local [all...] |
H A D | SkBlitter.cpp | 72 const uint8_t bits[], 79 unsigned b = *bits++ & left_mask; 117 const uint8_t* bits = mask.getAddr1(cx, cy); local 121 bits_to_runs(this, cx, cy, bits, 0xFF, mask_rowBytes, 0xFF); 122 bits += mask_rowBytes; 152 bits_to_runs(this, cx, cy, bits, left_mask, 1, rite_mask); 153 bits += mask_rowBytes; 158 bits_to_runs(this, cx, cy, bits, left_mask, full_runs + 2, rite_mask); 159 bits += mask_rowBytes; 71 bits_to_runs(SkBlitter* blitter, int x, int y, const uint8_t bits[], U8CPU left_mask, int rowBytes, U8CPU right_mask) argument
|
H A D | SkFloat.h | 33 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } argument 34 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); } argument 36 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } argument 37 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); } argument 97 static int32_t Shift(int32_t, int bits);
|
/external/skia/src/effects/ |
H A D | SkArithmeticMode.cpp | 132 static bool fitsInBits(SkScalar x, int bits) { argument 137 return x < (1 << (bits - 1)); 139 return SkScalarAbs(x) < (1 << (bits - 1));
|
H A D | SkColorMatrixFilter.cpp | 142 /* All of fArray[] values must fit in 23 bits, to safely allow me to 146 int bits = SkCLZ(max); local 150 if (bits < 9) { 151 bits = 9 - bits; 152 fState.fShift -= bits; 154 array[i] >>= bits; local 156 one >>= bits; local 306 // now packed it back down to 16bits (hmmm, could dither...)
|
/external/skia/src/gpu/ |
H A D | SkGrFontScaler.cpp | 113 static void bits_to_bytes(const uint8_t bits[], uint8_t bytes[], int count) { argument 115 unsigned mask = *bits++; 140 // expand bits to bytes 141 const uint8_t* bits = reinterpret_cast<const uint8_t*>(src); local 144 bits_to_bytes(bits, bytes, width); 145 bits += srcRB;
|
/external/speex/libspeex/ |
H A D | bits.c | 48 EXPORT void speex_bits_init(SpeexBits *bits) argument 50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME); 51 if (!bits->chars) 54 bits->buf_size = MAX_CHARS_PER_FRAME; 56 bits->owner=1; 58 speex_bits_reset(bits); 61 EXPORT void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size) argument 63 bits->chars = (char*)buff; 64 bits->buf_size = buf_size; 66 bits 71 speex_bits_set_bit_buffer(SpeexBits *bits, void *buff, int buf_size) argument 85 speex_bits_destroy(SpeexBits *bits) argument 92 speex_bits_reset(SpeexBits *bits) argument 102 speex_bits_rewind(SpeexBits *bits) argument 109 speex_bits_read_from(SpeexBits *bits, char *chars, int len) argument 147 speex_bits_flush(SpeexBits *bits) argument 156 speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) argument 188 speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes) argument 211 speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes) argument 229 speex_bits_pack(SpeexBits *bits, int data, int nbBits) argument 272 speex_bits_unpack_signed(SpeexBits *bits, int nbBits) argument 283 speex_bits_unpack_unsigned(SpeexBits *bits, int nbBits) argument 305 speex_bits_peek_unsigned(SpeexBits *bits, int nbBits) argument 334 speex_bits_peek(SpeexBits *bits) argument 343 speex_bits_advance(SpeexBits *bits, int n) argument 353 speex_bits_remaining(SpeexBits *bits) argument 361 speex_bits_nbytes(SpeexBits *bits) argument 366 speex_bits_insert_terminator(SpeexBits *bits) argument [all...] |
H A D | cb_search.c | 110 SpeexBits *bits, 164 speex_bits_pack(bits,best_index,params->shape_bits+have_sign); 252 SpeexBits *bits, 297 split_cb_search_shape_sign_N1(target,ak,awk1,awk2,par,p,nsf,exc,r,bits,stack,update_target); 468 speex_bits_pack(bits,ind[i],params->shape_bits+have_sign); 518 SpeexBits *bits, 545 signs[i] = speex_bits_unpack_unsigned(bits, 1); 548 ind[i] = speex_bits_unpack_unsigned(bits, params->shape_bits); 582 SpeexBits *bits, 603 SpeexBits *bits, 100 split_cb_search_shape_sign_N1( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int update_target ) argument 242 split_cb_search_shape_sign( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int complexity, int update_target ) argument 514 split_cb_shape_sign_unquant( spx_sig_t *exc, const void *par, int nsf, SpeexBits *bits, char *stack, spx_int32_t *seed ) argument 572 noise_codebook_quant( spx_word16_t target[], spx_coef_t ak[], spx_coef_t awk1[], spx_coef_t awk2[], const void *par, int p, int nsf, spx_sig_t *exc, spx_word16_t *r, SpeexBits *bits, char *stack, int complexity, int update_target ) argument 599 noise_codebook_unquant( spx_sig_t *exc, const void *par, int nsf, SpeexBits *bits, char *stack, spx_int32_t *seed ) argument [all...] |
/external/tcpdump/ |
H A D | print-ospf6.c | 44 struct bits { struct 49 static const struct bits ospf6_option_bits[] = { 59 static const struct bits ospf6_rla_flag_bits[] = { 67 static const struct bits ospf6_asla_flag_bits[] = { 92 static inline void ospf6_print_bits(const struct bits *, u_char); 118 ospf6_print_bits(register const struct bits *bp, register u_char options)
|
/external/tinyalsa/ |
H A D | tinycap.c | 62 unsigned int bits, unsigned int period_size, 78 unsigned int bits = 16; local 85 "[-r rate] [-b bits] [-p period_size] [-n n_periods]\n", argv[0]); 113 bits = atoi(*argv); 139 header.bits_per_sample = bits; 166 unsigned int bits, unsigned int period_size, 179 if (bits == 32) 181 else if (bits == 16) 203 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); 215 return bytes_read / ((bits / 164 capture_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, unsigned int bits, unsigned int period_size, unsigned int period_count) argument [all...] |
/external/v8/src/ |
H A D | safepoint-table.cc | 89 uint8_t* bits = entry.bits(); local 91 // Print the stack slot bits. 96 for (int i = first; i < last; i++) PrintBits(bits[i], kBitsPerByte); 98 PrintBits(bits[last], last_bits); 173 // Take the register bits into account. 193 ZoneList<uint8_t> bits(bytes_per_entry); 197 bits.Clear(); 198 bits.AddBlock(0, bytes_per_entry); 205 bits[ [all...] |
/external/valgrind/main/coregrind/m_initimg/ |
H A D | simple_huffman.c | 15 * size of 32 bits). If I'm not mistaking, this should not be possible 22 * 12 bits per symbol (for 8 bit symbols), meaning a maximum of 384 102 * _Huffman_ReadBits() - Read bits from a bitstream. 106 UInt bits ) 115 /* Extract bits */ 117 for( count = 0; count < bits; ++ count ) 136 * _Huffman_WriteBits() - Write bits to a bitstream. 140 UInt bits ) 150 /* Append bits */ 151 mask = 1 << (bits 224 _Huffman_MakeTree( huff_sym_t *sym, huff_bitstream_t *stream, UInt code, UInt bits, UInt first, UInt last ) argument 309 _Huffman_RecoverTree( huff_sym_t *sym, huff_bitstream_t *stream, UInt code, UInt bits, UInt *symnum ) argument 455 UInt bits, delta_bits, new_bits, code; local [all...] |