/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/ |
atomicBitset.h | 25 uint32_t numBits; 29 #define ATOMIC_BITSET_NUM_WORDS(numbits) (((numbits) + 31) / 32) 30 #define ATOMIC_BITSET_SZ(numbits) (sizeof(struct AtomicBitset) + sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numbits)) 31 #define ATOMIC_BITSET_DECL(nam, numbits, extra_keyword) DECLARE_OS_ALIGNMENT(nam, ATOMIC_BITSET_SZ(numbits), extra_keyword, struct AtomicBitset) 33 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits);
|
/device/google/contexthub/firmware/os/cpu/x86/inc/cpu/ |
atomicBitset.h | 24 uint32_t numBits; 28 #define ATOMIC_BITSET_SZ(numbits) (sizeof(struct AtomicBitset) + ((numbits) + 31) / 8) 29 #define ATOMIC_BITSET_DECL(nam, numbits, extra_keyword) extra_keyword uint8_t _##nam##_store [ATOMIC_BITSET_SZ(numbits)] __attribute__((aligned(4))); extra_keyword struct AtomicBitset *nam = (struct AtomicBitset*)_##nam##_store 32 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits);
|
/external/libhevc/decoder/ |
ihevcd_cabac.c | 282 WORD32 numbits; local 283 numbits = CLZ(u4_range); 284 numbits -= (32 - RANGE_NUMBITS); 286 numbits -= RANGE_SHIFT; 289 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, numbits); 291 u4_ofst <<= numbits; local 293 u4_range <<= numbits; local 401 WORD32 numbits; local 404 numbits = (32 - clz); 405 numbits -= 9 419 WORD32 numbits; local 431 u4_ofst <<= numbits; local 433 u4_range <<= numbits; local [all...] |
ihevcd_bitstream.c | 138 * Increment bit offset by numbits. If bit offset increases beyond 32, then 216 * @param[in] numbits 227 void ihevcd_bits_seek(bitstrm_t *ps_bitstrm, WORD32 numbits) 230 ASSERT(numbits >= -32); 231 ASSERT(numbits <= 32); 233 if(numbits < 0) 235 UWORD32 abs_numbits = -numbits; 268 numbits); 278 * Snoops for next numbits number of bits from the bitstream this does not 350 * Reads next numbits number of bits from the bitstream this updates th [all...] |
ihevcd_cabac.h | 100 WORD32 numbits; \ 101 numbits = CLZ(u4_range); \ 102 numbits -= (32 - RANGE_NUMBITS); \ 104 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, numbits); \ 106 u4_ofst <<= numbits; \ 108 u4_range <<= numbits; \
|
ihevcd_bitstream.h | 224 void ihevcd_bits_seek(bitstrm_t *ps_bitstrm, WORD32 numbits);
|
ihevcd_parse_slice_header.c | 430 WORD32 numbits; local 435 numbits = 32 - CLZ(ps_sps->i1_num_short_term_ref_pic_sets - 1); 436 BITS_PARSE("short_term_ref_pic_set_idx", value, ps_bitstrm, numbits); [all...] |
/external/python/cpython3/Lib/test/ |
test_secrets.py | 57 for numbits in (3, 12, 30): 59 n = secrets.randbits(numbits) 60 self.assertTrue(0 <= n < 2**numbits, errmsg % (numbits, n))
|
test_random.py | 393 numbits = i+1 395 self.assertEqual(k, numbits) 400 self.assertIn(k, [numbits, numbits+1]) 405 self.assertEqual(k, numbits) # note the stronger assertion 636 numbits = i+1 638 self.assertEqual(k, numbits) 643 self.assertIn(k, [numbits, numbits+1]) 648 self.assertEqual(k, numbits) # note the stronger assertio [all...] |
/external/boringssl/src/include/openssl/ |
des.h | 153 int numbits, long length,
|
/external/boringssl/src/decrepit/des/ |
cfb64ede.c | 132 void DES_ede3_cfb_encrypt(const uint8_t *in, uint8_t *out, int numbits, 137 unsigned long l = length, n = ((unsigned int)numbits + 7) / 8; 138 int num = numbits, i;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_random.py | 283 numbits = i+1
285 self.assertEqual(k, numbits)
290 self.assertIn(k, [numbits, numbits+1])
295 self.assertEqual(k, numbits) # note the stronger assertion
439 numbits = i+1
441 self.assertEqual(k, numbits)
446 self.assertIn(k, [numbits, numbits+1])
451 self.assertEqual(k, numbits) # note the stronger assertion [all...] |
/external/python/cpython2/Lib/test/ |
test_random.py | 291 numbits = i+1 293 self.assertEqual(k, numbits) 298 self.assertIn(k, [numbits, numbits+1]) 303 self.assertEqual(k, numbits) # note the stronger assertion 473 numbits = i+1 475 self.assertEqual(k, numbits) 480 self.assertIn(k, [numbits, numbits+1]) 485 self.assertEqual(k, numbits) # note the stronger assertio [all...] |
/external/dng_sdk/source/ |
dng_lossless_jpeg.cpp | 108 int32 numbits[256]; member in struct:HuffmanTable 228 // Build the numbits, value lookup tables. 234 memset (htbl->numbits, 0, sizeof (htbl->numbits)); 252 if (ul >= static_cast<int32>(sizeof(htbl->numbits) / sizeof(htbl->numbits[0])) || 260 htbl->numbits [i] = size; [all...] |
/external/ppp/pppd/ |
ccp.c | 543 int numbits; local 560 numbits = 0; 562 numbits += auth_mschap_bits & 1; 565 if (numbits > 1) { 570 if (!numbits) { [all...] |
/external/llvm/lib/Support/ |
APInt.cpp | 108 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) 109 : BitWidth(numBits), VAL(0) { 113 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) 114 : BitWidth(numBits), VAL(0) { 118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 119 : BitWidth(numbits), VAL(0) { 121 fromString(numbits, Str, radix); 670 /// This function returns the high "numBits" bits of this APInt. 671 APInt APInt::getHiBits(unsigned numBits) const { 672 return APIntOps::lshr(*this, BitWidth - numBits); [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
APInt.cpp | 75 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { 105 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) 106 : BitWidth(numBits), VAL(0) { 110 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) 111 : BitWidth(numBits), VAL(0) { 115 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 116 : BitWidth(numbits), VAL(0) { 118 fromString(numbits, Str, radix); 767 /// HiBits - This function returns the high "numBits" bits of this APInt. 768 APInt APInt::getHiBits(unsigned numBits) const [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
APInt.cpp | 107 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) 108 : BitWidth(numBits) { 112 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) 113 : BitWidth(numBits) { 117 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 118 : BitWidth(numbits) { 120 fromString(numbits, Str, radix); 403 APInt APInt::extractBits(unsigned numBits, unsigned bitPosition) const { 404 assert(numBits > 0 && "Can't extract zero bits"); 405 assert(bitPosition < BitWidth && (numBits + bitPosition) <= BitWidth & [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
APInt.cpp | 108 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) 109 : BitWidth(numBits), VAL(0) { 113 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) 114 : BitWidth(numBits), VAL(0) { 118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 119 : BitWidth(numbits), VAL(0) { 121 fromString(numbits, Str, radix); 648 /// This function returns the high "numBits" bits of this APInt. 649 APInt APInt::getHiBits(unsigned numBits) const { 650 return APIntOps::lshr(*this, BitWidth - numBits); [all...] |
/external/antlr/runtime/C/src/ |
antlr3baserecognizer.c | 1231 ANTLR3_UINT32 numbits; local [all...] |
/external/brotli/c/enc/ |
brotli_bit_stream.c | 89 size_t* numbits, uint64_t* nibblesbits) { 96 *numbits = mnibbles * 4; [all...] |
/external/llvm/bindings/go/llvm/ |
ir.go | 485 func (c Context) IntType(numbits int) (t Type) { 486 t.C = C.LLVMIntTypeInContext(c.C, C.unsigned(numbits)) 496 func IntType(numbits int) (t Type) { 497 t.C = C.LLVMIntType(C.unsigned(numbits)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/ |
ir.go | 512 func (c Context) IntType(numbits int) (t Type) { 513 t.C = C.LLVMIntTypeInContext(c.C, C.unsigned(numbits)) 523 func IntType(numbits int) (t Type) { 524 t.C = C.LLVMIntType(C.unsigned(numbits)) [all...] |