Searched refs:bits (Results 76 - 100 of 751) sorted by relevance

1234567891011>>

/external/zlib/src/
H A Dinfback.c92 unsigned sym, bits; local
103 bits = 9;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
110 bits = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
135 bits = state->bits; \
146 state->bits = bits; \
153 bits
262 unsigned bits; /* bits in bit buffer */ local
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3bitset.c65 if (bitset->blist.bits != NULL)
67 ANTLR3_FREE(bitset->blist.bits);
68 bitset->blist.bits = NULL;
98 // No we need to allocate the memory for the number of bits asked for
103 bitset->blist.bits = (pANTLR3_BITWORD) ANTLR3_MALLOC((size_t)(numelements * sizeof(ANTLR3_BITWORD)));
104 memset(bitset->blist.bits, 0, (size_t)(numelements * sizeof(ANTLR3_BITWORD)));
107 if (bitset->blist.bits == NULL)
168 bitset->blist.bits = (pANTLR3_BITWORD)ANTLR3_MALLOC((size_t)(numElements * sizeof(ANTLR3_BITWORD)));
170 if (bitset->blist.bits == NULL)
176 ANTLR3_MEMCPY(bitset->blist.bits, blis
[all...]
/external/aac/libMpegTPEnc/src/
H A Dtpenc_asc.h133 * \return the amount of bits required for the PCE including the given bit offset.
138 int bits
/external/elfutils/backends/
H A Ds390_regs.c57 int *bits, int *type)
67 *bits = ebl->class == ELFCLASS64 ? 64 : 32;
78 *bits = 64;
85 *bits = 32;
54 s390_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/elfutils/libdwfl/
H A Ddwfl_module_register_names.c58 int bits, int type);
82 int bits = -1; local
85 &prefix, &setname, &bits, &type);
95 result = (*func) (arg, regno, setname, prefix, name, bits, type);
/external/guava/guava-tests/test/com/google/common/hash/
H A DHashFunctionsTest.java32 assertTrue(hasher.bits() >= i);
49 assertEquals(hashFunction.bits(), hashcode1.bits());
50 assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8);
/external/kernel-headers/original/asm-x86/
H A Dio_apic_32.h25 } __attribute__ ((packed)) bits; member in union:IO_APIC_reg_00
36 } __attribute__ ((packed)) bits; member in union:IO_APIC_reg_01
45 } __attribute__ ((packed)) bits; member in union:IO_APIC_reg_02
53 } __attribute__ ((packed)) bits; member in union:IO_APIC_reg_03
/external/kernel-headers/original/linux/
H A Dbitmap.h41 * bitmap_empty(src, nbits) Are all bits zero in *src?
42 * bitmap_full(src, nbits) Are all bits set in *src?
43 * bitmap_weight(src, nbits) Hamming Weight: number set bits
52 * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region
74 * The DECLARE_BITMAP(name,bits) macro, in linux/types.h, can be used
76 * contain all bit positions from 0 to 'bits' - 1.
83 extern int __bitmap_empty(const unsigned long *bitmap, int bits);
84 extern int __bitmap_full(const unsigned long *bitmap, int bits);
86 const unsigned long *bitmap2, int bits);
88 int bits);
[all...]
/external/libvpx/vp8/encoder/
H A Dboolhuff.h39 extern void vp8_encode_value(BOOL_CODER *br, int data, int bits);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/wpa_supplicant_8/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dmd5_i.h14 u32 bits[2]; member in struct:MD5Context
/external/okhttp/src/main/java/libcore/io/
H A DBase64.java71 int bits = 0;
85 bits = chr - 65;
90 bits = chr - 71;
95 bits = chr + 4;
97 bits = 62;
99 bits = 63;
104 quantum = (quantum << 6) | (byte) bits;
/external/speex/libspeex/
H A Dquant_lsp.c159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument
178 speex_bits_pack(bits, id, 6);
184 speex_bits_pack(bits, id, 6);
190 speex_bits_pack(bits, id, 6);
193 speex_bits_pack(bits, id, 6);
199 speex_bits_pack(bits, id, 6);
213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits) argument
220 id=speex_bits_unpack_unsigned(bits, 6);
224 id=speex_bits_unpack_unsigned(bits, 6);
228 id=speex_bits_unpack_unsigned(bits,
242 lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument
283 lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits) argument
306 lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument
310 lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) argument
319 lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) argument
366 lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) argument
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DBloomFilter.java48 * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
50 <T> void put(T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits); argument
53 * Queries {@code numHashFunctions} bits of the given bit array, by hashing a user element;
54 * returns {@code true} if and only if all selected bits are set.
57 T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits);
61 private final BitArray bits; field in class:BloomFilter
77 private BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, argument
80 this.bits = checkNotNull(bits);
91 return strategy.mightContain(object, funnel, numHashFunctions, bits);
56 mightContain( T object, Funnel<? super T> funnel, int numHashFunctions, BitArray bits) argument
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c57 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
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DGCMUtil.java39 byte bits = val[i];
42 if ((bits & (1 << j)) != 0)
127 int bits = 0;
131 block[i] = (b >>> n) | bits;
136 bits = b << (32 - n);
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/
H A DForm23x.java80 BitSet bits = new BitSet(3);
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;
H A DForm33x.java84 BitSet bits = new BitSet(3);
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/
H A Drng_get_bytes.c15 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/
H A Dbitreader.c54 /* 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) argument
440 FLAC__ASSERT(bits <= 32);
441 FLAC__ASSERT((br->capacity*FLAC__BITS_PER_WORD) * 2 >= bits);
473 *val <<= bits; local
514 FLAC__bitreader_read_raw_int32(FLAC__BitReader *br, FLAC__int32 *val, unsigned bits) argument
525 FLAC__bitreader_read_raw_uint64(FLAC__BitReader *br, FLAC__uint64 *val, unsigned bits) argument
571 FLAC__bitreader_skip_bits_no_crc(FLAC__BitReader *br, unsigned bits) argument
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/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/qemu/audio/
H A Dwavcapture.c10 int bits; member in struct:__anon10340
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;
84 wav_start_capture(CaptureState *s, const char *path, int freq, int bits, int nchannels) argument
/external/skia/src/core/
H A DSkFloat.h33 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/tinyalsa/
H A Dtinycap.c62 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...]

Completed in 1353 milliseconds

1234567891011>>