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

12345678910

/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/libvpx/libvpx/vp9/encoder/
H A Dvp9_write_bit_buffer.c18 void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) { argument
23 wb->bit_buffer[p] = bit << q;
26 wb->bit_buffer[p] |= bit << q;
32 int bit; local
33 for (bit = bits - 1; bit >= 0; bit--)
34 vp9_wb_write_bit(wb, (data >> bit) & 1);
H A Dvp9_cost.h26 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? vp9_complement(prob) \
40 const int bit = (bits >> --len) & 1; local
41 cost += vp9_cost_bit(probs[i >> 1], bit);
42 i = tree[i + bit];
H A Dvp9_treewriter.h35 const int bit = (bits >> --len) & 1; local
36 vp9_write(w, bit, probs[i >> 1]);
37 i = tree[i + bit];
/external/sepolicy/tools/sepolicy-analyze/
H A Dattribute.c11 unsigned int bit; local
24 ebitmap_for_each_bit(&policydb->attr_type_map[attr->s.value - 1], n, bit) {
25 if (!ebitmap_node_get_bit(n, bit))
27 printf("%s\n", policydb->p_type_val_to_name[bit]);
H A Dperm.c10 unsigned int bit; local
15 ebitmap_for_each_bit(&policydb->permissive_map, n, bit)
17 if (ebitmap_node_get_bit(n, bit)) {
18 printf("%s\n", policydb->p_type_val_to_name[bit -1]);
/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/src/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/layout/
H A DCoverageTables.cpp45 le_uint8 bit = OpenTypeUtilities::highBit(count); local
46 le_uint16 power = 1 << bit;
/external/icu/icu4c/source/layoutex/
H A DLXUtilities.cpp14 // Finds the high bit by binary searching
23 le_int8 bit = 0; local
27 bit += 16;
32 bit += 8;
37 bit += 4;
42 bit += 2;
47 bit += 1;
50 return bit;
/external/libvpx/libvpx/test/
H A Dvp9_boolcoder_test.cc57 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local
60 bit = (i & 1);
62 bit = bit_rnd(2);
64 vp9_write(&bw, bit, static_cast<int>(probas[i]));
69 // First bit should be zero
77 bit = (i & 1);
79 bit = bit_rnd(2);
81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.c65 int bit; local
67 for (bit = bits - 1; bit >= 0; bit--)
68 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_read_bit_buffer.c24 const int bit = (rb->bit_buffer[p] & (1 << q)) >> q; local
26 return bit;
31 int value = 0, bit; local
32 for (bit = bits - 1; bit >= 0; bit--)
33 value |= vp9_rb_read_bit(rb) << bit;
/external/lldb/source/Plugins/Process/Utility/
H A DInstructionUtils.h13 // Common utilities for manipulating instruction bit fields.
17 // Return the bit field(s) from the most significant bit (msbit) to the
18 // least significant bit (lsbit) of a 64-bit unsigned value.
26 // Return the bit field(s) from the most significant bit (msbit) to the
27 // least significant bit (lsbit) of a 32-bit unsigned value.
35 // Return the bit valu
37 Bit32(const uint32_t bits, const uint32_t bit) argument
43 Bit64(const uint64_t bits, const uint32_t bit) argument
[all...]
/external/marisa-trie/tests/
H A Dvector-test.cc220 const bool bit = (std::rand() % 2) == 0; local
221 bits[i] = bit;
222 bv.push_back(bit);
223 (bit ? ones : zeros).push_back(i);
/external/marisa-trie/v0_1_5/tests/
H A Dvector-test.cc224 const bool bit = (std::rand() % 2) == 0; local
225 bits[i] = bit;
226 bv.push_back(bit);
227 (bit ? ones : zeros).push_back(i);
/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...]

Completed in 4373 milliseconds

12345678910