Home
last modified time | relevance | path

Searched refs:bit_length (Results 1 – 25 of 45) sorted by relevance

12

/third_party/openssl/crypto/modes/asm/
Daes-gcm-armv8_64.pl162 $bit_length="x1";
284 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len
288 add $end_input_ptr, $input_ptr, $bit_length, lsr #3 @ end_input_ptr
1039 and $bit_length, $bit_length, #127 @ bit_length %= 128
1043 sub $bit_length, $bit_length, #128 @ bit_length -= 128
1045 …neg $bit_length, $bit_length @ bit_length = 128 - #bits in input (in …
1047 and $bit_length, $bit_length, #127 @ bit_length %= 128
1049 …lsr $rk10_h, $rk10_h, $bit_length @ rk10_h is mask for top 64b of last blo…
1050 cmp $bit_length, #64
1156 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len
[all …]
/third_party/node/deps/openssl/openssl/crypto/modes/asm/
Daes-gcm-armv8_64.pl162 $bit_length="x1";
284 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len
288 add $end_input_ptr, $input_ptr, $bit_length, lsr #3 @ end_input_ptr
1039 and $bit_length, $bit_length, #127 @ bit_length %= 128
1043 sub $bit_length, $bit_length, #128 @ bit_length -= 128
1045 …neg $bit_length, $bit_length @ bit_length = 128 - #bits in input (in …
1047 and $bit_length, $bit_length, #127 @ bit_length %= 128
1049 …lsr $rk10_h, $rk10_h, $bit_length @ rk10_h is mask for top 64b of last blo…
1050 cmp $bit_length, #64
1156 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len
[all …]
/third_party/python/Lib/test/
Dtest_strtod.py50 d = a.bit_length() - b.bit_length()
59 if q.bit_length() == mant_dig+1:
64 assert q.bit_length() <= mant_dig and e >= min_exp - mant_dig
65 assert q.bit_length() == mant_dig or e == min_exp - mant_dig
68 if e + q.bit_length() > max_exp:
Dtest_long.py62 shift = n.bit_length() - PRECISION
97 d = a.bit_length() - b.bit_length()
988 k = x.bit_length()
1005 self.assertEqual((0).bit_length(), 0)
1006 self.assertEqual((1).bit_length(), 1)
1007 self.assertEqual((-1).bit_length(), 1)
1008 self.assertEqual((2).bit_length(), 2)
1009 self.assertEqual((-2).bit_length(), 2)
1012 self.assertEqual((a-1).bit_length(), i)
1013 self.assertEqual((1-a).bit_length(), i)
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_delegator.py20 bl = mydel.bit_length
21 self.assertIs(bl, int.bit_length)
22 self.assertIs(mydel.__dict__['bit_length'], int.bit_length)
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
Drole.js271 bit_length: this.bitLength, property
277 const { keyids, threshold, bit_length, name_prefix, ...rest } = data;
284 if (typeof bit_length !== 'number') {
293 bitLength: bit_length,
/third_party/ffmpeg/libavcodec/
Dsbc.c57 int bit_length = len & 7; in ff_sbc_crc8() local
62 if (bit_length) { in ff_sbc_crc8()
64 while (bit_length--) { in ff_sbc_crc8()
Dh264_ps.h170 H264ParamSets *ps, int bit_length);
Dh264_ps.c748 H264ParamSets *ps, int bit_length) in ff_h264_decode_picture_parameter_set() argument
783 if (!(bit_length & 7) && pps->data_size < sizeof(pps->data)) in ff_h264_decode_picture_parameter_set()
854 bits_left = bit_length - get_bits_count(gb); in ff_h264_decode_picture_parameter_set()
Dcbs_h265_syntax_template.c72 current->bit_length = k; in FUNC()
75 allocate(current->data, (current->bit_length + 7) / 8); in FUNC()
76 for (k = 0; k < current->bit_length; k++) { in FUNC()
82 for (k = 0; k < current->bit_length; k++) in FUNC()
Dcbs_h265.h180 size_t bit_length; member
/third_party/rust/crates/minimal-lexical/tests/
Dvec_tests.rs337 assert_eq!(bigint::bit_length(&x), 97); in bit_length_test()
340 assert_eq!(bigint::bit_length(&x), 98); in bit_length_test()
343 assert_eq!(bigint::bit_length(&x), 32); in bit_length_test()
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs97 pub fn bit_length(&self) -> u32 { in bit_length() method
98 bit_length(&self.data) in bit_length()
699 pub fn bit_length(x: &[Limb]) -> u32 { in bit_length() function
Dslow.rs80 let exp = bigmant.bit_length() as i32 - 64 + F::EXPONENT_BIAS; in positive_digit_comp()
/third_party/node/deps/v8/src/bigint/
Dtostring.cc588 const int bit_length = BitLength(X); in ToStringResultLength() local
592 result = DIV_CEIL(bit_length, bits_per_char) + sign; in ToStringResultLength()
600 uint64_t chars_required = bit_length; in ToStringResultLength()
/third_party/python/Lib/
Dcrypt.py52 log_rounds = int.bit_length(rounds-1)
Dipaddress.py200 return min(bits, (~number & (number-1)).bit_length())
250 (last_int - first_int + 1).bit_length() - 1)
Drandom.py245 k = n.bit_length() # don't use (n-1) here because n can be 1
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py278 return (1 << (len(enum) - 1).bit_length()) / float(len(enum))
288 enum_bits = [(len(enum[1]) - 1).bit_length() for enum in enums]
/third_party/python/Doc/whatsnew/
D3.1.rst126 * The :func:`int` type gained a ``bit_length`` method that returns the
132 >>> n.bit_length()
135 >>> n.bit_length()
137 >>> (n+1).bit_length()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dvp8l_enc.c727 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes() local
730 codes += bit_length; in GetHuffBitLengthsAndCodes()
731 lengths += bit_length; in GetHuffBitLengthsAndCodes()
732 if (max_num_symbols < bit_length) { in GetHuffBitLengthsAndCodes()
733 max_num_symbols = bit_length; in GetHuffBitLengthsAndCodes()
/third_party/mbedtls/scripts/mbedtls_dev/
Dbignum_common.py71 return (val.bit_length() + bits_in_limb - 1) // bits_in_limb
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeRISCV_common.c1843 sljit_sw bit_length = (op & SLJIT_32) ? 32 : 64; in sljit_emit_shift_into() local
1846 sljit_sw bit_length = 32; in sljit_emit_shift_into() local
1865 src2w &= bit_length - 1; in sljit_emit_shift_into()
1885 src2w = bit_length - src2w; in sljit_emit_shift_into()
1889 src2w = bit_length - src2w; in sljit_emit_shift_into()
1912 FAIL_IF(push_inst(compiler, XORI | RD(TMP_REG2) | RS1(src2) | IMM_I((sljit_ins)bit_length - 1))); in sljit_emit_shift_into()
/third_party/node/tools/gyp/pylib/gyp/
Dmac_tool.py693 return 2 ** (x).bit_length()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dmac_tool.py693 return 2 ** (x).bit_length()

12