/external/apache-http/src/org/apache/commons/codec/binary/ |
BinaryCodec.java | 75 private static final int[] BITS = {BIT_0, BIT_1, BIT_2, BIT_3, BIT_4, BIT_5, BIT_6, BIT_7}; 182 for (int bits = 0; bits < BITS.length; ++bits) { 183 if (ascii[jj - bits] == '1') { 184 l_raw[ii] |= BITS[bits]; 209 for (int bits = 0; bits < BITS.length; ++bits) [all...] |
/external/elfutils/backends/ |
ppc_corenote.c | 39 #ifndef BITS 40 # define BITS 32 43 # define BITS 64 51 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS } 68 #define PRSTATUS_REGS_SIZE (BITS / 8 * 48) 72 { .offset = 0, .regno = 32, .count = 32, .bits = 64 }, /* f0-f31 */ 73 { .offset = 32 * 8 + 4, .regno = 65, .count = 1, .bits = 32 } /* fpscr */ 80 { .offset = 0, .regno = 1124, .count = 32, .bits = 128 } [all...] |
sparc_corenote.c | 40 #ifndef BITS 41 # define BITS 32 44 # define BITS 64 50 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = BITS } 55 #if BITS == 32 66 #define PRSTATUS_REGS_SIZE (BITS / 8 * (32 + (BITS == 32 ? 6 : 4))) 70 #if BITS == 3 [all...] |
s390_corenote.c | 39 #ifndef BITS 40 # define BITS 32 43 # define BITS 64 51 { .offset = at * BITS/8, .regno = dwreg, .count = n, .bits = b } 53 GR ( 0, 1, 64, BITS), /* pswm */ 54 GR ( 1, 1, 65, BITS, .pc_register = true ), /* pswa */ 55 GR ( 2, 16, 0, BITS), /* r0-r15 */ 61 /* orig_r2 is at offset (BITS == 32 ? 34 * 4 : 26 * 8). */ 62 #define PRSTATUS_REGS_SIZE (BITS / 8 * (BITS == 32 ? 35 : 27) [all...] |
x86_64_corenote.c | 40 #ifndef BITS 41 # define BITS 64 44 # define BITS 32 53 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 64 } 55 { .offset = at * 8, .regno = dwreg, .count = n, .bits = 16, .pad = 6 } 87 #if BITS == 32 129 { .offset = 0, .regno = 65, .count = 2, .bits = 16 }, /* fcw-fsw */ 130 { .offset = 24, .regno = 64, .count = 1, .bits = 32 }, /* mxcsr */ 131 { .offset = 32, .regno = 33, .count = 8, .bits = 80, .pad = 6 }, /* stN */ 132 { .offset = 32 + 128, .regno = 17, .count = 16, .bits = 128 }, /* xmm * [all...] |
/external/libmpeg2/common/ |
impeg2_macros.h | 35 #define BITS(val,msb,lsb) (UWORD16)((((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1)))
|
/external/webp/src/utils/ |
bit_reader_utils.h | 29 // However, since range_ is only 8bit, we only need an active window of 8 bits 30 // for value_. Left bits (MSB) gets zeroed and shifted away when value_ falls 31 // below 128, range_ is updated, and fresh bits read from the bitstream are 32 // brought in as LSB. To avoid reading the fresh bits one by one (slow), we 33 // cache BITS of them ahead. The total of (BITS + 8) bits must fit into a 34 // natural register (with type bit_t). To fetch BITS bits from bitstream we 37 // BITS can be any multiple of 8 from 8 to 56 (inclusive) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
infback.c | 92 unsigned sym, bits;
local 103 bits = 9;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
110 bits = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
135 bits = state->bits; \
146 state->bits = bits; \
153 bits = 0; \ 262 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
inflate.c | 30 * - Add comments on state->bits assertion in inffast.c
121 state->bits = 0;
166 /* set number of window bits, free window if different */
230 int ZEXPORT inflatePrime(strm, bits, value)
232 int bits;
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; 271 unsigned sym, bits; local 614 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
infback.c | 83 unsigned sym, bits;
local 94 bits = 9;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
101 bits = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
126 bits = state->bits; \
137 state->bits = bits; \
144 bits = 0; \ 253 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/ |
VbeShim.asm | 33 BITS 16
|
/external/python/cpython2/Lib/ctypes/test/ |
test_bitfields.py | 9 class BITS(Structure): 29 func.argtypes = POINTER(BITS), c_char 32 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 39 b = BITS() 46 b = BITS() 146 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 149 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 160 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/external/python/cpython2/Modules/zlib/ |
infback.c | 92 unsigned sym, bits; local 103 bits = 9; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 110 bits = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 135 bits = state->bits; \ 146 state->bits = bits; \ 153 bits = 0; 262 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/python/cpython3/Lib/ctypes/test/ |
test_bitfields.py | 8 class BITS(Structure): 28 func.argtypes = POINTER(BITS), c_char 31 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 38 b = BITS() 45 b = BITS() 145 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 148 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 159 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/external/python/cpython3/Modules/zlib/ |
infback.c | 92 unsigned sym, bits; local 103 bits = 9; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 110 bits = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 135 bits = state->bits; \ 146 state->bits = bits; \ 153 bits = 0; 262 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/syslinux/com32/lib/zlib/ |
infback.c | 83 unsigned sym, bits; local 94 bits = 9; 95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 101 bits = 5; 102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 126 bits = state->bits; \ 137 state->bits = bits; \ 144 bits = 0; 253 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/external/webrtc/webrtc/modules/video_coding/utility/ |
vp8_header_parser.cc | 27 // Only read 8bits at a time. 39 int BITS = 24; 40 // Read 'BITS' bits at a time. 42 uint32_t bits; local 44 br->buf_ += BITS >> 3; 46 bits = static_cast<uint32_t>(in_bits); 47 if (BITS != 8 * sizeof(uint32_t)) 48 bits >>= (8 * sizeof(uint32_t) - BITS); 168 const uint32_t bits = buf[0] | (buf[1] << 8) | (buf[2] << 16); local [all...] |
/external/zlib/src/ |
infback.c | 92 unsigned sym, bits; local 103 bits = 9; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 110 bits = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 135 bits = state->bits; \ 146 state->bits = bits; \ 153 bits = 0; 262 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_bitfields.py | 8 class BITS(Structure): 28 func.argtypes = POINTER(BITS), c_char 31 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 38 b = BITS() 45 b = BITS() 147 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 150 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 161 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_bitfields.py | 8 class BITS(Structure): 28 func.argtypes = POINTER(BITS), c_char 31 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 38 b = BITS() 45 b = BITS() 147 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 150 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 161 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/prebuilts/go/darwin-x86/src/crypto/aes/ |
asm_ppc64le.s | 27 #define BITS R4 67 MOVD keylen+8(FP), BITS 82 CMPW BITS, $128 // cmpwi 4,128 greater or equal to 128 84 CMPW BITS, $256 // cmpwi 4,256 lesser or equal to 256 86 ANDCC $0x3f, BITS, TEMP // andi. 0,4,0x3f multiple of 64 97 CMPW BITS, $192 // cmpwi 4,192 Key size == 192? 328 MOVD keylen+8(FP), BITS
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
asm_ppc64le.s | 27 #define BITS R4 67 MOVD keylen+8(FP), BITS 82 CMPW BITS, $128 // cmpwi 4,128 greater or equal to 128 84 CMPW BITS, $256 // cmpwi 4,256 lesser or equal to 256 86 ANDCC $0x3f, BITS, TEMP // andi. 0,4,0x3f multiple of 64 97 CMPW BITS, $192 // cmpwi 4,192 Key size == 192? 328 MOVD keylen+8(FP), BITS
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_bitfields.py | 8 class BITS(Structure): 28 func.argtypes = POINTER(BITS), c_char 31 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 38 b = BITS() 45 b = BITS() 147 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 150 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 161 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_bitfields.py | 8 class BITS(Structure): 28 func.argtypes = POINTER(BITS), c_char 31 ## print n, hex(getattr(BITS, n).size), getattr(BITS, n).offset 38 b = BITS() 45 b = BITS() 147 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 150 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field')) 161 self.assertEqual(result, (ValueError, 'number of bits invalid for bit field'))
|
/toolchain/binutils/binutils-2.27/zlib/ |
infback.c | 92 unsigned sym, bits; local 103 bits = 9; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 110 bits = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 135 bits = state->bits; \ 146 state->bits = bits; \ 153 bits = 0; 262 unsigned bits; \/* bits in bit buffer *\/ local [all...] |