Home
last modified time | relevance | path

Searched refs:msb (Results 1 - 25 of 87) sorted by relevance

1234

/third_party/python/Include/internal/
H A Dpycore_bitutils.h160 unsigned long msb; in _Py_bit_length()
161 if (_BitScanReverse(&msb, x)) { in _Py_bit_length()
162 return (int)msb + 1; in _Py_bit_length()
172 int msb = 0; in _Py_bit_length()
174 msb += 6; in _Py_bit_length()
177 msb += BIT_LENGTH_TABLE[x]; in _Py_bit_length()
178 return msb; in _Py_bit_length()
/third_party/mbedtls/tests/src/
H A Dasn1_helpers.c36 unsigned char msb; in mbedtls_test_asn1_skip_integer() local
56 msb = (*p)[0]; in mbedtls_test_asn1_skip_integer()
57 TEST_ASSERT(msb != 0); in mbedtls_test_asn1_skip_integer()
59 while (msb != 0) { in mbedtls_test_asn1_skip_integer()
60 msb >>= 1; in mbedtls_test_asn1_skip_integer()
/third_party/python/Lib/idlelib/
H A Dstatusbar.py32 msb = MultiStatusBar(frame)
33 msb.set_label("one", "hello")
34 msb.set_label("two", "world")
35 msb.pack(side='bottom', fill='x')
38 msb.set_label("one", "foo")
39 msb.set_label("two", "bar")
/third_party/musl/porting/liteos_a/kernel/src/math/
H A D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
18 * one representation of each infinity, with the mantissa msb in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/musl/porting/liteos_m/kernel/src/math/
H A D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
18 * one representation of each infinity, with the mantissa msb in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/musl/src/math/
H A D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
18 * one representation of each infinity, with the mantissa msb in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/musl/porting/uniproton/kernel/src/math/
H A D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
18 * one representation of each infinity, with the mantissa msb in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c415 LLVMValueRef msb; in lp_build_unpack2() local
425 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), ""); in lp_build_unpack2()
429 msb = lp_build_zero(gallivm, src_type); in lp_build_unpack2()
433 *dst_lo = lp_build_interleave2(gallivm, src_type, src, msb, 0); in lp_build_unpack2()
434 *dst_hi = lp_build_interleave2(gallivm, src_type, src, msb, 1); in lp_build_unpack2()
437 *dst_lo = lp_build_interleave2(gallivm, src_type, msb, src, 0); in lp_build_unpack2()
438 *dst_hi = lp_build_interleave2(gallivm, src_type, msb, src, 1); in lp_build_unpack2()
468 LLVMValueRef msb; in lp_build_unpack2_native() local
478 msb = LLVMBuildAShr(builder, src, in lp_build_unpack2_native()
483 msb in lp_build_unpack2_native()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Dciaddrlib.cpp95 * Gets bits within a range of [msb, lsb]
102 UINT_32 msb, ///< Most signicant bit in GetBits()
107 if (msb >= lsb) in GetBits()
109 ret = (bits >> lsb) & (Mask(1 + msb - lsb)); in GetBits()
119 * Removes bits within the range of [msb, lsb]
126 UINT_32 msb, ///< Most signicant bit in RemoveBits()
131 if (msb >= lsb) in RemoveBits()
134 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits()
144 * Inserts new bits into the range of [msb, lsb]
152 UINT_32 msb, ///< Mos in InsertBits()
100 GetBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) GetBits() argument
124 RemoveBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) RemoveBits() argument
149 InsertBits( UINT_64 bits, UINT_64 newBits, UINT_32 msb, UINT_32 lsb) InsertBits() argument
2008 UINT_32 msb = bankBits - 1 + lsb; HwlComputeMetadataNibbleAddress() local
[all...]
/third_party/vixl/src/aarch64/
H A Dinstructions-aarch64.h245 uint32_t ExtractBits(int msb, int lsb) const { in ExtractBits() argument
246 return ExtractUnsignedBitfield32(msb, lsb, GetInstructionBits()); in ExtractBits()
248 VIXL_DEPRECATED("ExtractBits", uint32_t Bits(int msb, int lsb) const) {
249 return ExtractBits(msb, lsb);
293 int32_t ExtractSignedBits(int msb, int lsb) const { in ExtractSignedBits() argument
295 return ExtractSignedBitfield32(msb, lsb, bits); in ExtractSignedBits()
298 int32_t SignedBits(int msb, int lsb) const) {
299 return ExtractSignedBits(msb, lsb);
313 template <int msb, int lsb>
317 VIXL_ASSERT((msb in GetRx()
[all...]
H A Dcpu-aarch64.cc255 int msb = field.GetMsb(); in Get() local
261 return static_cast<int>(ExtractSignedBitfield64(msb, lsb, value_)); in Get()
263 return static_cast<int>(ExtractUnsignedBitfield64(msb, lsb, value_)); in Get()
/third_party/vixl/src/
H A Dutils-vixl.h338 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { in ExtractUnsignedBitfield64() argument
339 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield64()
340 (msb >= lsb)); in ExtractUnsignedBitfield64()
341 if ((msb == 63) && (lsb == 0)) return x; in ExtractUnsignedBitfield64()
342 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in ExtractUnsignedBitfield64()
346 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint64_t x) { in ExtractUnsignedBitfield32() argument
347 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield32()
348 (msb >= lsb)); in ExtractUnsignedBitfield32()
349 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb, x)); in ExtractUnsignedBitfield32()
353 inline int64_t ExtractSignedBitfield64(int msb, in argument
366 ExtractSignedBitfield32(int msb, int lsb, uint64_t x) ExtractSignedBitfield32() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c158 unsigned int msb = get_msb( in r300FragmentProgramDump() local
165 & 31) | msb, in r300FragmentProgramDump()
188 unsigned int msb = get_msb( in r300FragmentProgramDump() local
194 | msb); in r300FragmentProgramDump()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUCharacterName.java334 int msb = getCodepointMSB(codepoint); in getGroup()
341 if (msb < getGroupMSB(gindex)) { in getGroup()
415 * @param msb most significant byte of the group
418 public static int getGroupLimit(int msb) in getGroupLimit() argument
420 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
425 * @param msb most significant byte of the group
428 public static int getGroupMin(int msb) in getGroupMin() argument
430 return msb << GROUP_SHIFT_; in getGroupMin()
508 // gets the msb in getGroupName()
509 int msb in getGroupName()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUCharacterName.java335 int msb = getCodepointMSB(codepoint); in getGroup()
342 if (msb < getGroupMSB(gindex)) { in getGroup()
416 * @param msb most significant byte of the group
419 public static int getGroupLimit(int msb) in getGroupLimit() argument
421 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
426 * @param msb most significant byte of the group
429 public static int getGroupMin(int msb) in getGroupMin() argument
431 return msb << GROUP_SHIFT_; in getGroupMin()
509 // gets the msb in getGroupName()
510 int msb in getGroupName()
[all...]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
H A Dfunc_integer.hpp55 /// The 32 most-significant bits are returned in msb.
65 vecType<uint, P> & msb,
70 /// The 32 most-significant bits are returned in msb.
80 vecType<int, P> & msb,
/third_party/node/deps/v8/src/utils/
H A Dutils.h385 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) { in unsigned_bitextract_32() argument
386 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1); in unsigned_bitextract_32()
389 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) { in unsigned_bitextract_64() argument
390 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in unsigned_bitextract_64()
393 inline int32_t signed_bitextract_32(int msb, int lsb, uint32_t x) { in signed_bitextract_32() argument
394 return static_cast<int32_t>(x << (31 - msb)) >> (lsb + 31 - msb); in signed_bitextract_32()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_etc_decode.c140 nir_ssa_def *msb = in decode_etc2_alpha() local
144 nir_ixor(b, etc1_alpha_modifier_lookup(b, table, lsb_index), nir_iadd_imm(b, msb, -1)); in decode_etc2_alpha()
312 nir_ssa_def *msb = in build_shader() local
355 nir_ssa_def *index = nir_ior(&b, lsb, msb); in build_shader()
359 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader()
394 nir_ssa_def *base = nir_bcsel(&b, nir_ine_imm(&b, msb, 0), nir_vec3(&b, r2, g2, b2), in build_shader()
402 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader()
462 nir_ssa_def *sgn = nir_isub_imm(&b, 1, msb); in build_shader()
466 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader()
/third_party/node/deps/v8/src/codegen/arm64/
H A Dinstructions-arm64.h97 uint32_t Bits(int msb, int lsb) const { in Bits() argument
98 return unsigned_bitextract_32(msb, lsb, InstructionBits()); in Bits()
101 int32_t SignedBits(int msb, int lsb) const { in SignedBits() argument
105 return signed_bitextract_32(msb, lsb, bits); in SignedBits()
/third_party/mbedtls/library/
H A Drsa.c2125 size_t msb; in rsa_rsassa_pss_sign_no_mode_check() local
2184 msb = mbedtls_mpi_bitlen(&ctx->N) - 1; in rsa_rsassa_pss_sign_no_mode_check()
2203 if (msb % 8 == 0) { in rsa_rsassa_pss_sign_no_mode_check()
2214 msb = mbedtls_mpi_bitlen(&ctx->N) - 1; in rsa_rsassa_pss_sign_no_mode_check()
2215 sig[0] &= 0xFF >> (olen * 8 - msb); in rsa_rsassa_pss_sign_no_mode_check()
2544 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local
2589 msb = mbedtls_mpi_bitlen(&ctx->N) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
2591 if (buf[0] >> (8 - siglen * 8 + msb)) { in mbedtls_rsa_rsassa_pss_verify_ext()
2596 if (msb % 8 == 0) { in mbedtls_rsa_rsassa_pss_verify_ext()
2611 buf[0] &= 0xFF >> (siglen * 8 - msb); in mbedtls_rsa_rsassa_pss_verify_ext()
[all...]
/third_party/gn/src/base/strings/
H A Dstring_number_conversions.cc447 uint8_t msb = 0; // most significant 4 bits in HexStringToBytes() local
449 if (!CharToDigit<16>(input[i * 2], &msb) || in HexStringToBytes()
453 output->push_back((msb << 4) | lsb); in HexStringToBytes()
/third_party/alsa-lib/test/
H A Dplaymidi1.c313 static void do_pitchbend(int chan, int lsb, int msb) in do_pitchbend() argument
314 { /* !@#$% lsb & msb are in the wrong order in docs */ in do_pitchbend()
318 printf("%lu: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb); in do_pitchbend()
320 snd_seq_ev_set_pitchbend(&ev, chan, (lsb + (msb << 7)) - 8192); in do_pitchbend()
/third_party/node/deps/brotli/c/common/
H A Dplatform.h551 unsigned long msb;
552 _BitScanReverse(&msb, x);
553 return (uint32_t)msb;
/third_party/skia/third_party/externals/brotli/c/common/
H A Dplatform.h551 unsigned long msb;
552 _BitScanReverse(&msb, x);
553 return (uint32_t)msb;
/third_party/protobuf/js/binary/
H A Darith.js110 jspb.arith.UInt64.prototype.msb = function() {
241 while (!divisor.msb()) {

Completed in 24 milliseconds

1234