Home
last modified time | relevance | path

Searched refs:numbits (Results 1 – 20 of 20) sorted by relevance

/external/libhevc/decoder/
Dihevcd_cabac.c282 WORD32 numbits; in ihevcd_cabac_decode_bin() local
283 numbits = CLZ(u4_range); in ihevcd_cabac_decode_bin()
284 numbits -= (32 - RANGE_NUMBITS); in ihevcd_cabac_decode_bin()
286 numbits -= RANGE_SHIFT; in ihevcd_cabac_decode_bin()
289 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, numbits); in ihevcd_cabac_decode_bin()
291 u4_ofst <<= numbits; in ihevcd_cabac_decode_bin()
293 u4_range <<= numbits; in ihevcd_cabac_decode_bin()
401 WORD32 numbits; in ihevcd_cabac_decode_terminate() local
404 numbits = (32 - clz); in ihevcd_cabac_decode_terminate()
405 numbits -= 9; in ihevcd_cabac_decode_terminate()
[all …]
Dihevcd_cabac.h100 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; \
Dihevcd_bitstream.c227 void ihevcd_bits_seek(bitstrm_t *ps_bitstrm, WORD32 numbits) in ihevcd_bits_seek() argument
230 ASSERT(numbits >= -32); in ihevcd_bits_seek()
231 ASSERT(numbits <= 32); in ihevcd_bits_seek()
233 if(numbits < 0) in ihevcd_bits_seek()
235 UWORD32 abs_numbits = -numbits; in ihevcd_bits_seek()
268 numbits); in ihevcd_bits_seek()
Dihevcd_bitstream.h224 void ihevcd_bits_seek(bitstrm_t *ps_bitstrm, WORD32 numbits);
Dihevcd_parse_slice_header.c436 WORD32 numbits; in ihevcd_parse_slice_header() local
441 numbits = 32 - CLZ(ps_sps->i1_num_short_term_ref_pic_sets - 1); in ihevcd_parse_slice_header()
442 BITS_PARSE("short_term_ref_pic_set_idx", value, ps_bitstrm, numbits); in ihevcd_parse_slice_header()
/external/python/cpython3/Lib/test/
Dtest_secrets.py57 for numbits in (3, 12, 30):
59 n = secrets.randbits(numbits)
60 self.assertTrue(0 <= n < 2**numbits, errmsg % (numbits, n))
Dtest_random.py392 numbits = i+1
394 self.assertEqual(k, numbits)
399 self.assertIn(k, [numbits, numbits+1])
404 self.assertEqual(k, numbits) # note the stronger assertion
645 numbits = i+1
647 self.assertEqual(k, numbits)
652 self.assertIn(k, [numbits, numbits+1])
657 self.assertEqual(k, numbits) # note the stronger assertion
/external/python/cpython2/Lib/test/
Dtest_random.py291 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 assertion
/external/boringssl/src/decrepit/des/
Dcfb64ede.c132 void DES_ede3_cfb_encrypt(const uint8_t *in, uint8_t *out, int numbits, in DES_ede3_cfb_encrypt() argument
137 unsigned long l = length, n = ((unsigned int)numbits + 7) / 8; in DES_ede3_cfb_encrypt()
138 int num = numbits, i; in DES_ede3_cfb_encrypt()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp108 int32 numbits[256]; member
234 memset (htbl->numbits, 0, sizeof (htbl->numbits)); in FixHuffTbl()
252 if (ul >= static_cast<int32>(sizeof(htbl->numbits) / sizeof(htbl->numbits[0])) || in FixHuffTbl()
260 htbl->numbits [i] = size; in FixHuffTbl()
1625 if (htbl->numbits [code]) in HuffDecode()
1628 flush_bits (htbl->numbits [code]); in HuffDecode()
/external/boringssl/src/include/openssl/
Ddes.h153 int numbits, long length,
/external/antlr/runtime/Cpp/include/
Dantlr3exception.inl302 ANTLR_UINT32 numbits; local
316 numbits = errBits->numBits();
326 for (bit = 1; bit < numbits && count < 8 && count < size; bit++)
/external/ppp/pppd/
Dccp.c543 int numbits; local
560 numbits = 0;
562 numbits += auth_mschap_bits & 1;
565 if (numbits > 1) {
570 if (!numbits) {
/external/llvm/lib/Support/
DAPInt.cpp118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
119 : BitWidth(numbits), VAL(0) { in APInt()
121 fromString(numbits, Str, radix); in APInt()
2087 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) { in fromString() argument
2102 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); in fromString()
2103 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); in fromString()
2104 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); in fromString()
2105 assert((((slen-1)*64)/22 <= numbits || radix != 10) && in fromString()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp117 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
118 : BitWidth(numbits) { in APInt()
120 fromString(numbits, Str, radix); in APInt()
1963 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) { in fromString() argument
1978 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); in fromString()
1979 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); in fromString()
1980 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); in fromString()
1981 assert((((slen-1)*64)/22 <= numbits || radix != 10) && in fromString()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp118 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) in APInt() argument
119 : BitWidth(numbits), VAL(0) { in APInt()
121 fromString(numbits, Str, radix); in APInt()
2061 void APInt::fromString(unsigned numbits, StringRef str, uint8_t radix) { in fromString() argument
2076 assert((slen <= numbits || radix != 2) && "Insufficient bit width"); in fromString()
2077 assert(((slen-1)*3 <= numbits || radix != 8) && "Insufficient bit width"); in fromString()
2078 assert(((slen-1)*4 <= numbits || radix != 16) && "Insufficient bit width"); in fromString()
2079 assert((((slen-1)*64)/22 <= numbits || radix != 10) && in fromString()
/external/antlr/runtime/C/src/
Dantlr3baserecognizer.c1231 ANTLR3_UINT32 numbits; in displayRecognitionError() local
1245 numbits = errBits->numBits (errBits); in displayRecognitionError()
1255 for (bit = 1; bit < numbits && count < 8 && count < size; bit++) in displayRecognitionError()
/external/brotli/c/enc/
Dbrotli_bit_stream.c89 size_t* numbits, uint64_t* nibblesbits) { in BrotliEncodeMlen() argument
96 *numbits = mnibbles * 4; in BrotliEncodeMlen()
/external/llvm/bindings/go/llvm/
Dir.go485 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))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dir.go512 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))