Searched defs:bit (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/external/libpcap/Win32/Src/
H A Dffs.c47 register int bit; local
51 for (bit = 1; !(mask & 1); bit++)
53 return(bit);
/external/bison/lib/
H A Dldexpl.c43 int bit; local
60 for (bit = 1;;)
62 /* Invariant: Here bit = 2^i, factor = 2^-2^i or = 2^2^i,
63 and bit <= exp. */
64 if (exp & bit)
66 bit <<= 1;
67 if (bit > exp)
/external/aac/libAACdec/src/
H A Drvlcbit.cpp20 individually for the purpose of encoding or decoding bit streams in products that are compliant with
96 description: This function returns a bit from the bitstream according to read direction.
103 return: - bit from bitstream
110 UINT bit; local
118 bit = FDKreadBits(bs, 1);
123 bit = FDKreadBits(bs, 1);
129 return (bit);
H A Daacdec_hcr_bit.cpp20 individually for the purpose of encoding or decoding bit streams in products that are compliant with
113 description: This function returns a bit from the bitstream according to read direction.
122 return: - bit from bitstream
129 UINT bit; local
138 bit = FDKreadBits(bs, 1);
149 bit = FDKreadBits(bs, 1);
159 bit = (bit == 0) ? 1 : 0;
163 return (bit);
/external/aac/libSBRdec/src/
H A Dhuff_dec.cpp20 individually for the purpose of encoding or decoding bit streams in products that are compliant with
109 int value, bit; local
112 bit = FDKreadBits (hBs, 1);
113 index = h[index][bit];
/external/iptables/include/linux/netfilter/
H A Dxt_connlabel.h10 __u16 bit; member in struct:xt_connlabel_mtinfo
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_connlabel.h10 __u16 bit; member in struct:xt_connlabel_mtinfo
/external/syslinux/gpxe/src/core/
H A Dbase64.c53 unsigned int bit; local
56 for ( bit = 0 ; bit < raw_bit_len ; bit += 6 ) {
57 tmp = ( ( raw_bytes[ bit / 8 ] << ( bit % 8 ) ) |
58 ( raw_bytes[ bit / 8 + 1 ] >> ( 8 - ( bit % 8 ) ) ) );
62 for ( ; ( bit % 8 ) != 0 ; bit
[all...]
/external/ImageMagick/coders/
H A Dmono.c118 bit,
168 bit=0;
172 if (bit == 0)
178 bit++;
179 if (bit == 8)
180 bit=0;
304 bit,
334 bit=0;
347 bit++;
348 if (bit
115 bit, local
298 bit, local
[all...]
H A Dmac.c118 bit,
190 bit=0;
194 if (bit == 0)
197 bit++;
199 if (bit == 8)
200 bit=0;
225 bit=0;
229 if (bit == 0)
232 bit++;
234 if (bit
116 bit, local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DTables1kGCMExponentiator.java28 int bit = 0;
33 ensureAvailable(bit);
34 GCMUtil.multiply(y, (int[])lookupPowX2.elementAt(bit));
36 ++bit;
43 private void ensureAvailable(int bit) argument
46 if (count <= bit)
55 while (++count <= bit);
/external/elfutils/libcpu/
H A Di386_parse.y222 struct bitvalue *bit;
238 %type <bit> bit byte bytes
408 byte: byte bit
416 | bit
420 bit: '0' label
822 /* Now compute the bit offset of the field. */
/external/icu/icu4c/source/layoutex/
H A DLXUtilities.cpp16 // Finds the high bit by binary searching
25 le_int8 bit = 0; local
29 bit += 16;
34 bit += 8;
39 bit += 4;
44 bit += 2;
49 bit += 1;
52 return bit;
/external/libvpx/libvpx/test/
H A Dvp9_boolcoder_test.cc58 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local
61 bit = (i & 1);
63 bit = bit_rnd(2);
65 vpx_write(&bw, bit, static_cast<int>(probas[i]));
70 // First bit should be zero
78 bit = (i & 1);
80 bit = bit_rnd(2);
82 GTEST_ASSERT_EQ(vpx_read(&br, probas[i]), bit)
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.c62 int bit; local
64 for (bit = bits - 1; bit >= 0; bit--) {
65 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_cost.h30 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? 256 - (prob) : (prob))
43 const int bit = (bits >> --len) & 1; local
44 cost += vp9_cost_bit(probs[i >> 1], bit);
45 i = tree[i + bit];
H A Dvp9_treewriter.h35 const int bit = (bits >> --len) & 1; local
36 vpx_write(w, bit, probs[i >> 1]);
37 i = tree[i + bit];
/external/libvpx/libvpx/vpx_dsp/
H A Dbitreader_buffer.c22 const int bit = (rb->bit_buffer[p] >> q) & 1; local
24 return bit;
32 int value = 0, bit; local
33 for (bit = bits - 1; bit >= 0; bit--) value |= vpx_rb_read_bit(rb) << bit;
H A Dbitwriter_buffer.c21 void vpx_wb_write_bit(struct vpx_write_bit_buffer *wb, int bit) { argument
26 wb->bit_buffer[p] = bit << q;
29 wb->bit_buffer[p] |= bit << q;
35 int bit; local
36 for (bit = bits - 1; bit >= 0; bit--) vpx_wb_write_bit(wb, (data >> bit) & 1);
/external/skia/tests/
H A DPathOpsChalkboardTest.cpp143 int bit; local
145 bit = r.nextRangeU(0, 63);
146 } while (testlines & (1LL << bit));
147 testlines |= 1LL << bit;
/external/vboot_reference/utility/
H A Dchromeos-tpm-recovery45 # bit <n> <i> outputs bit i of number n, with bit 0 being the lsb.
47 bit () { function
308 DEV_MODE_NOW=$(bit $(cat $CHSW) 4)
309 DEV_MODE_AT_BOOT=$(bit $(cat $CHSW) 5)
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) argument
42 if (bit >= bf->max_bits)
44 bf->bits[bit / 8] |= BIT(bit % 8);
48 void bitfield_clear(struct bitfield *bf, size_t bit) argument
50 if (bit >= bf->max_bits)
52 bf->bits[bit / 8] &= ~BIT(bit % 8);
56 int bitfield_is_set(struct bitfield *bf, size_t bit) argument
58 if (bit >
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) argument
42 if (bit >= bf->max_bits)
44 bf->bits[bit / 8] |= BIT(bit % 8);
48 void bitfield_clear(struct bitfield *bf, size_t bit) argument
50 if (bit >= bf->max_bits)
52 bf->bits[bit / 8] &= ~BIT(bit % 8);
56 int bitfield_is_set(struct bitfield *bf, size_t bit) argument
58 if (bit >
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) argument
42 if (bit >= bf->max_bits)
44 bf->bits[bit / 8] |= BIT(bit % 8);
48 void bitfield_clear(struct bitfield *bf, size_t bit) argument
50 if (bit >= bf->max_bits)
52 bf->bits[bit / 8] &= ~BIT(bit % 8);
56 int bitfield_is_set(struct bitfield *bf, size_t bit) argument
58 if (bit >
[all...]
/external/v8/tools/
H A Dgenerate-ten-powers.scm43 (define (bit-lshbx::bignum x::bignum by::bint)
48 (define (bit-rshbx::bignum x::bignum by::bint)
57 (define max-container (- (bit-lshbx #z1 nb-bits) 1))
65 (-bx (bit-lshbx #z1
70 (bit-lshbx #z1
73 (cut (bit-rshbx (round n) shift))
74 (exact? (=bx n (bit-lshbx cut shift))))
93 (max-container (- (bit-lshbx #z1 nb-bits) 1)))
116 (loop i ten^i (bit-lshbx two^e 1) (+fx e 1)))))
122 (n (bit
[all...]

Completed in 549 milliseconds

1234567891011>>