/external/aac/libAACdec/src/ |
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);
|
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/ |
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];
|
psbitdec.cpp | 20 individually for the purpose of encoding or decoding bit streams in products that are compliant with 106 UCHAR bit = 0; local 111 bit = FDKreadBits (hBitBuf, 1); 113 index = h[index][bit];
|
/bootable/bootloader/legacy/arch_msm7k/ |
vic.c | 77 unsigned reg, bit; local 80 bit = 1 << (n & 31); 82 writel(readl(reg) | bit, reg); 87 unsigned reg, bit; local 90 bit = 1 << (n & 31); 92 writel(bit, reg); 97 unsigned reg, bit, tmp; local 100 bit = 1 << (n & 31); 104 writel(tmp | bit, reg); 106 writel(tmp & (~bit), reg) [all...] |
/dalvik/vm/ |
BitVector.cpp | 18 * Implementation of an expandable bit vector. 29 * Allocate a bit vector with enough space to hold at least the specified 37 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */ 62 * "Allocate" the first-available bit in the bitmap. 70 unsigned int word, bit; local 78 bit = ffs(~(pBits->storage[word])) -1; 79 assert(bit < 32); 80 pBits->storage[word] |= 1 << bit; 81 return (word << 5) | bit; 100 * Mark the specified bit as "set" [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
bits.c | 20 Description: Performs bit stream manipulation 36 Word16 coding_mode, /* i: coding bit-stream ratio mode */ 37 Word16 mode, /* i: coding bit-stream ratio mode*/ 193 Word16 i, bit; local 197 bit = (Word16) (value & 0x0001); /* get lsb */ 198 if (bit == 0)
|
/external/aac/libSBRenc/src/ |
env_bit.cpp | 20 individually for the purpose of encoding or decoding bit streams in products that are compliant with 86 \brief Remaining SBR Bit Writing Routines 148 /* reset bit buffer */ 213 sbrLoad += 4; /* Do byte Align with 4 bit offset. ISO/IEC 14496-3:2005(E) page 39. */ 235 INT bit; local 236 bit = FDKreadBits(&tmpCRCBuf,1); 237 crcAdvance(SBR_CRC_POLY,SBR_CRC_MASK,&crcReg,bit,1);
|
/external/chromium/net/base/ |
dnsrr_resolver_unittest.cc | 203 unsigned bit = bit_to_corrupt & 7; local 206 copy[byte] ^= (1 << bit);
|
/external/elfutils/libcpu/ |
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. */ [all...] |
/external/icu4c/layout/ |
CoverageTables.cpp | 45 le_uint8 bit = OpenTypeUtilities::highBit(count); local 46 le_uint16 power = 1 << bit;
|
OpenTypeUtilities.cpp | 15 // Finds the high bit by binary searching 24 le_uint8 bit = 0; local 28 bit += 16; 33 bit += 8; 38 bit += 4; 43 bit += 2; 48 bit += 1; 51 return bit; 56 le_uint8 bit = highBit(recordCount); local 57 le_int32 power = 1 << bit; 83 le_uint8 bit = highBit(recordCount); local [all...] |
/external/icu4c/layoutex/ |
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/vp8/encoder/ |
boolhuff.c | 77 void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) 88 if (bit) 100 if (bit) 143 int bit; local 145 for (bit = bits - 1; bit >= 0; bit--) 146 vp8_encode_bool(br, (1 & (data >> bit)), 0x80);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccServiceTable.java | 22 * Wrapper class for an ICC EF containing a bit field of enabled services. 50 int bit = service % 8; local 51 return (mServiceTable[offset] & (1 << bit)) != 0; 63 for (int bit = 0; bit < 8; bit++) { 64 if ((currentByte & (1 << bit)) != 0) { 70 int ordinal = (i * 8) + bit;
|
/external/v8/tools/ |
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-lshbx #z1 (-fx nb-bits 1)) [all...] |
/external/bzip2/ |
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...] |
/external/libvpx/vp8/decoder/ |
dboolhuff.h | 70 unsigned int bit = 0; local 90 bit = 1; 104 return bit; 110 int bit; local 112 for (bit = bits - 1; bit >= 0; bit--) 114 z |= (vp8dx_decode_bool(br, 0x80) << bit); 129 * bits from the bitstream. So the last bit in the bitstream will be
|
/external/openssl/crypto/bn/ |
bn_rand.c | 121 int ret=0,bit,bytes,mask; local 131 bit=(bits-1)%8; 132 mask=0xff<<(bit+1); 181 if (bit == 0) 188 buf[0]|=(3<<(bit-1)); 193 buf[0]|=(1<<bit); 197 if (bottom) /* set bottom bit if requested */ 251 * so 3*range (= 11..._2) is exactly one bit longer than range */
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_ph_mouse.c | 55 unsigned char bit, databit, maskbit; local 94 for (bit = 0; bit < 8; bit++) 96 databit = data[i] & (1 << bit); 97 maskbit = mask[i] & (1 << bit);
|
/external/webp/src/dec/ |
bits.h | 33 int missing_; // number of missing bits in value_ (8bit) 36 // Initialize the bit reader and the boolean decoder. 49 // Read a bit with proba 'prob'. Speed-critical function! 63 uint32_t bit; local 70 bit = (br->value_ >= value_split); 71 if (bit) { 77 return bit; 90 const uint32_t bit = VP8BitUpdate(br, split); local 94 return bit; 99 const uint32_t bit = VP8BitUpdate(br, split) local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
GCMUtil.java | 61 // P is the value with only bit i=1 set 85 int bit = 0; local 89 block[i] = (byte) ((b >>> 1) | bit); 94 bit = (b & 1) << 7; 101 int bit = 0; local 105 block[i] = (b >>> 1) | bit; 110 bit = b << 31;
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |