Searched defs:bit (Results 1 - 25 of 333) 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/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dptw32_getprocessors.c71 DWORD_PTR bit; local
74 for (bit = 1; bit != 0; bit <<= 1)
76 if (vProcessCPUs & bit)
/external/chromium_org/tools/android/memdump/
H A Dmemdump.cc42 void set(uint32 bit) { argument
43 const uint32 byte_idx = bit / 8;
45 data_[byte_idx] |= (1 << (bit & 7));
101 // committed_pages_bits is a bitset reflecting the present bit for all the
/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/arduino/hardware/arduino/cores/arduino/
H A Dwiring_pulse.c34 // cache the port and bit of the pin in order to speed up the
37 uint8_t bit = digitalPinToBitMask(pin); local
39 uint8_t stateMask = (state ? bit : 0);
48 while ((*portInputRegister(port) & bit) == stateMask)
53 while ((*portInputRegister(port) & bit) != stateMask)
58 while ((*portInputRegister(port) & bit) == stateMask) {
H A Dwiring_digital.c32 uint8_t bit = digitalPinToBitMask(pin); local
44 *reg &= ~bit;
49 *reg |= bit;
127 uint8_t bit = digitalPinToBitMask(pin); local
142 *out &= ~bit;
147 *out |= bit;
155 uint8_t bit = digitalPinToBitMask(pin); local
164 if (*portInputRegister(port) & bit) return HIGH;
/external/chromium_org/third_party/libvpx/source/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/libvpx/libvpx/vp9/encoder/
H A Dvp9_write_bit_buffer.c17 void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) { argument
22 wb->bit_buffer[p] = bit << q;
25 wb->bit_buffer[p] |= bit << q;
31 int bit; local
32 for (bit = bits - 1; bit >= 0; bit--)
33 vp9_wb_write_bit(wb, (data >> bit) & 1);
/external/sepolicy/tools/sepolicy-analyze/
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/chromium_org/third_party/libvpx/source/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/chromium_org/third_party/libvpx/source/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/chromium_org/third_party/libvpx/source/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/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A Dstandard.h22 #define bit(target,mask) ((target) & (mask)) macro
/external/elfutils/0.153/libcpu/
H A Di386_parse.y219 struct bitvalue *bit;
235 %type <bit> bit byte bytes
405 byte: byte bit
413 | bit
417 bit: '0' label
819 /* 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)

Completed in 539 milliseconds

1234567891011>>