/external/bison/lib/ |
H A D | ldexpl.c | 43 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 D | rvlcbit.cpp | 20 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 D | aacdec_hcr_bit.cpp | 20 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 D | huff_dec.cpp | 20 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 D | ptw32_getprocessors.c | 71 DWORD_PTR bit; local 74 for (bit = 1; bit != 0; bit <<= 1) 76 if (vProcessCPUs & bit)
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | cost.h | 25 extern const uint16_t VP8EntropyCost[256]; // 8bit fixed-point log(p) 28 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { argument 29 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba];
|
/external/webp/src/enc/ |
H A D | cost.h | 25 extern const uint16_t VP8EntropyCost[256]; // 8bit fixed-point log(p) 28 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { argument 29 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba];
|
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | wiring_pulse.c | 34 // 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 D | wiring_digital.c | 32 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
H A D | Tables1kGCMExponentiator.java | 27 int bit = 0; 32 ensureAvailable(bit); 33 GCMUtil.multiply(y, (byte[])lookupPowX2.elementAt(bit)); 35 ++bit; 42 private void ensureAvailable(int bit) argument 45 if (count <= bit) 54 while (++count <= bit);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
H A D | standard.h | 22 #define bit(target,mask) ((target) & (mask)) macro
|
/external/elfutils/libcpu/ |
H A D | i386_parse.y | 218 struct bitvalue *bit; 234 %type <bit> bit byte bytes 404 byte: byte bit 412 | bit 416 bit: '0' label 818 /* Now compute the bit offset of the field. */
|
/external/icu4c/layout/ |
H A D | CoverageTables.cpp | 45 le_uint8 bit = OpenTypeUtilities::highBit(count); local 46 le_uint16 power = 1 << bit;
|
/external/icu4c/layoutex/ |
H A D | LXUtilities.cpp | 14 // 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 D | vp9_boolcoder_test.cc | 59 int bit = (bit_method == 0) ? 0 : (bit_method == 1) ? 1 : 0; local 62 bit = (i & 1); 64 bit = bit_rnd(2); 66 vp9_write(&bw, bit, static_cast<int>(probas[i])); 71 // First bit should be zero 79 bit = (i & 1); 81 bit = bit_rnd(2); 83 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | boolhuff.c | 65 int bit; local 67 for (bit = bits - 1; bit >= 0; bit--) 68 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_write_bit_buffer.h | 27 static void vp9_wb_write_bit(struct vp9_write_bit_buffer *wb, int bit) { argument 32 wb->bit_buffer[p] = bit << q; 35 wb->bit_buffer[p] |= bit << q; 42 int bit; local 43 for (bit = bits - 1; bit >= 0; bit--) 44 vp9_wb_write_bit(wb, (data >> bit) & 1);
|
/external/marisa-trie/tests/ |
H A D | vector-test.cc | 220 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 D | vector-test.cc | 224 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/wpa_supplicant_8/hostapd/src/utils/ |
H A D | bitfield.c | 40 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 D | bitfield.c | 40 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 D | bitfield.c | 40 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/chromium_org/v8/tools/ |
H A D | generate-ten-powers.scm | 43 (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...] |
/external/v8/tools/ |
H A D | generate-ten-powers.scm | 43 (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...] |
/external/bzip2/ |
H A D | unzcrash.c | 6 and then repeatedly decompress it, each time with a different bit of 7 the compressed data inverted, so as to test all possible one-bit errors. 64 void flip_bit ( int bit ) 66 int byteno = bit / 8; 67 int bitno = bit % 8; 69 //fprintf ( stderr, "(byte %d bit %d mask %d)", 78 int bit; local 102 for (bit = 0; bit < nZ*8; bit [all...] |