Searched defs:bits (Results 201 - 225 of 403) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/platform/gtk/
H A DCursorGtk.h362 const unsigned char* bits; member in struct:__anon14686
/external/webp/src/enc/
H A Dsyntax.c131 uint32_t bits; local
138 bits = 0 // keyframe (1b)
142 vp8_frm_hdr[0] = (bits >> 0) & 0xff;
143 vp8_frm_hdr[1] = (bits >> 8) & 0xff;
144 vp8_frm_hdr[2] = (bits >> 16) & 0xff;
240 // we don't use ref_lf_delta => emit four 0 bits
320 VP8BitWriterInit(bw, mb_size * 7 / 8); // ~7 bits per macroblock
/external/webp/src/utils/
H A Dbit_writer.c53 const int32_t bits = bw->value_ >> s; local
55 bw->value_ -= bits << s;
57 if ((bits & 0xff) != 0xff) {
62 if (bits & 0x100) { // overflow -> propagate carry over pending 0xff's
66 const int value = (bits & 0x100) ? 0x00 : 0xff;
69 bw->buf_[pos++] = bits;
112 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize
237 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { argument
240 // Technically, this branch of the code can write up to 25 bits at a time,
241 // but in prefix encoding, the maximum number of bits writte
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dmd5.c114 u32 bits[2]; member in struct:MD5Context
196 ctx->bits[0] = 0;
197 ctx->bits[1] = 0;
210 t = ctx->bits[0];
211 if ((ctx->bits[0] = t + ((u32) len << 3)) < t)
212 ctx->bits[1]++; /* Carry from low to high */
213 ctx->bits[1] += len >> 29;
250 * 1 0* (64-bit count of bits processed, MSB-first)
258 count = (ctx->bits[0] >> 3) & 0x3F;
283 /* Append length in bits an
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DDotZLib.cs230 private static int bitSize(uint bits) argument
232 switch (bits)
/external/zlib/src/contrib/infback9/
H A Dinfback9.c56 unsigned sym, bits, low, size; local
69 bits = 9;
70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);
76 bits = 5;
77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);
94 printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits,
105 printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits,
120 bits = 0; \
143 hold += (unsigned long)(*next++) << bits; \
144 bits
235 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/zlib/src/contrib/puff/
H A Dpuff.c19 * assumes that long's are at least 32 bits. puff.c uses the short data type,
20 * assumed to be 16 bits, for arrays in order to to conserve memory. The code
48 * are 16 bits
90 #define MAXBITS 15 /* maximum bits in a code */
108 int bitcnt; /* number of bits in bit buffer */
110 /* input limit error return state for bits() and decode() */
115 * Return need bits from the input stream. This always leaves less than
116 * eight bits in the buffer. bits() works properly for need == 0.
121 * significant bit. Therefore bits ar
125 local int bits(struct state *s, int need) function
[all...]
/external/zlib/src/examples/
H A Dgun.c116 the gzip trailer is stored modulo 2^32, so it's ok if a long is 32 bits and
167 /* throw out what's left in the current bits byte buffer (this is a vestigial
204 int left; /* bits left in rem */
205 unsigned rem; /* unused bits from input */
206 int bits; /* current bits per code */ local
208 unsigned mask; /* mask for current bits codes */
209 int max; /* maximum bits per code for this stream */
234 strm->msg = (char *)"lzw bits out of range";
242 bits
[all...]
/external/zlib/src/
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
120 state->bits = 0;
165 /* set number of window bits, free window if different */
229 int ZEXPORT inflatePrime(strm, bits, value)
231 int bits;
238 if (bits < 0) {
240 state->bits = 0;
243 if (bits > 16 || state->bits + bits > 3
270 unsigned sym, bits; local
613 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/zlib/src/test/
H A Dinfcover.c277 inflate() on each call, or zero to feed it all, win is the window bits
620 unsigned bits; local
626 for (bits = 0; bits < 15; bits++)
627 lens[bits] = (unsigned short)(bits + 1);
630 bits = 15;
631 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
634 bits
[all...]
/external/aac/libAACenc/src/
H A Ddyn_bits.cpp118 /* count bits using all possible tables */
258 /* Side-Info bits will be calculated in Stage 1! */
299 /* we can merge. update tables, side info bits will be updated outside of this loop */
307 /* add side info info bits */
388 /* count bits used by the noiseless coder */
432 /* count bits in this group */
463 compress output, calculate total huff and side bits
485 /* sum up side info bits (section data bits) */
497 description : count bits use
674 int i, bits=0; local
[all...]
/external/elfutils/libdwfl/
H A Dlinux-kernel-modules.c461 unsigned char *bits = p; local
478 vaddr += bits - buf.data;
479 return INTUSE(dwfl_module_report_build_id) (mod, bits,
/external/elfutils/libebl/
H A Deblopenbackend.c221 int *bits, int *type);
723 int *bits, int *type)
730 *bits = -1;
719 default_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) argument
/external/flac/libFLAC/
H A Dbitwriter.c57 /* WATCHOUT: there are a few places where the code will not work unless bwword is >= 32 bits wide */
84 #define FLAC__TOTAL_BITS(bw) (FLAC__WORDS_TO_BITS((bw)->words) + (bw)->bits)
104 bwword accum; /* accumulator; bits are right-justified; when full, accum is appended to buffer */
107 unsigned bits; /* # of used bits in accum */ member in struct:FLAC__BitWriter
128 /* calculate total words needed to store 'bits_to_add' additional bits */
129 new_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD);
143 FLAC__ASSERT(new_capacity >= bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD));
185 bw->words = bw->bits = 0;
202 bw->words = bw->bits
302 FLAC__bitwriter_write_zeroes(FLAC__BitWriter *bw, unsigned bits) argument
340 FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits) argument
379 FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits) argument
388 FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits) argument
[all...]
/external/grub/netboot/
H A Dotulip.c120 unsigned lastbit, data, bits, bit, csr; local
127 for (bits = idx|cmdmask, bit = bitwidth + 3; bit > 0; bit--, bits <<= 1)
129 const unsigned thisbit = bits & msb;
141 for (data = 0, bits = 0; bits < 16; bits++) {
/external/harfbuzz/src/
H A Dharfbuzz-dump.c461 int bits; local
473 bits = 2;
476 bits = 4;
479 bits = 8;
482 bits = 0;
487 if (!bits)
494 n_per = 16 / bits;
495 mask = (1 << bits) - 1;
496 mask = mask << (16 - bits);
501 HB_Short signed_val = ((val << ((i % n_per) * bits))
[all...]
H A Dharfbuzz-gdef.c655 HB_UShort byte, bits; local
683 bits = byte >> ( 16 - ( glyph_index % 4 + 1 ) * 4 );
685 return bits & 0x000F;
988 HB_UShort byte, bits, mask; local
1049 bits = byte >> ( 16 - ( glyph_index % 4 + 1 ) * 4 );
1050 class = bits & 0x000F;
1056 bits = new_class << ( 16 - ( glyph_index % 4 + 1 ) * 4 );
1060 ngc[array_index][glyph_index / 4] |= bits;
/external/jpeg/
H A Djchuff.c31 int put_bits; /* # of bits now in it */
212 i = (int) htbl->bits[l];
233 * it must still fit in si bits, since no code is allowed to be all ones.
292 /* Outputting bits to the file */
294 /* Only the right 24 bits of put_buffer are used; the valid bits are
295 * left-justified in this part. At most 16 bits can be passed to emit_bits
296 * in one call, and we never retain more than 7 bits in put_buffer
297 * between calls, so 24 bits are sufficient.
303 /* Emit some bits; retur
708 UINT8 bits[MAX_CLEN+1]; /* bits[k] = # of symbols with code length k */ local
[all...]
/external/libvpx/build/make/
H A Dobj_int_extract.c62 int bits = 0; local
77 bits = 32;
90 bits = 64;
189 if (bits == 32)
202 else /* if (bits == 64) */
318 int bits; /* 32 or 64 */ member in struct:__anon8148
343 elf->bits = 32;
362 elf->bits = 64;
432 if (elf->bits == 32)
445 else /* if (elf->bits
[all...]
/external/mesa3d/include/pixelflinger2/
H A Dpixelflinger2_format.h107 inline uint32_t bits(int i) const { function in struct:__anon9467
/external/openssh/
H A Dauthfd.c317 u_int bits; local
333 bits = buffer_get_int(&auth->identities);
338 if (keybits < 0 || bits != (u_int)keybits)
340 BN_num_bits(key->rsa->n), bits);
/external/openssl/crypto/bn/
H A Dbntest.c742 int bits = (200*(i+1))/num2; local
744 if (bits == 0)
746 BN_bntest_rand(&n,bits,0,1);
/external/openssl/crypto/des/
H A Ddestest.c331 static int cfb_test(int bits, unsigned char *cfb_cipher);
852 static int cfb_test(int bits, unsigned char *cfb_cipher) argument
859 des_cfb_encrypt(plain,cfb_buf1,bits,sizeof(plain),ks,&cfb_tmp,
869 des_cfb_encrypt(cfb_buf1,cfb_buf2,bits,sizeof(plain),ks,&cfb_tmp,
/external/openssl/crypto/ec/
H A Dec_mult.c264 * no new bits will be added into window_val,
462 size_t bits; local
464 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
465 wsize[i] = EC_window_bits_for_scalar_size(bits);
771 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local
807 bits = BN_num_bits(order);
811 * TBD: The combination 8, 4 is perfect for 160 bits; for other
817 if (EC_window_bits_for_scalar_size(bits) > w)
820 w = EC_window_bits_for_scalar_size(bits);
823 numblocks = (bits
[all...]
/external/openssl/crypto/
H A Dmem_dbg.c305 void CRYPTO_dbg_set_options(long bits) argument
307 options = bits;

Completed in 389 milliseconds

1234567891011>>