Home
last modified time | relevance | path

Searched refs:msb (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/python/Include/internal/
Dpycore_bitutils.h150 unsigned long msb; in _Py_bit_length()
151 if (_BitScanReverse(&msb, x)) { in _Py_bit_length()
152 return (int)msb + 1; in _Py_bit_length()
162 int msb = 0; in _Py_bit_length()
164 msb += 6; in _Py_bit_length()
167 msb += BIT_LENGTH_TABLE[x]; in _Py_bit_length()
168 return msb; in _Py_bit_length()
/third_party/python/Lib/idlelib/
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/mbedtls/tests/src/
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()
61 msb >>= 1; in mbedtls_test_asn1_skip_integer()
/third_party/musl/porting/uniproton/kernel/src/math/
D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !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/
D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/musl/src/math/
D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/musl/porting/liteos_a/kernel/src/math/
D__fpclassifyl.c13 int msb = u.i.m>>63; in __fpclassifyl() local
14 if (!e && !msb) in __fpclassifyl()
22 if (__BYTE_ORDER == __LITTLE_ENDIAN && !msb) in __fpclassifyl()
26 if (!msb) in __fpclassifyl()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c415 LLVMValueRef msb; in lp_build_unpack2() local
425msb = 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 = lp_build_zero(gallivm, src_type); in lp_build_unpack2_native()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.cpp102 UINT_32 msb, ///< Most signicant bit in GetBits() argument
107 if (msb >= lsb) in GetBits()
109 ret = (bits >> lsb) & (Mask(1 + msb - lsb)); in GetBits()
126 UINT_32 msb, ///< Most signicant bit in RemoveBits() argument
131 if (msb >= lsb) in RemoveBits()
134 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits()
152 UINT_32 msb, ///< Most signicant bit in InsertBits() argument
157 if (msb >= lsb) in InsertBits()
160 | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits in InsertBits()
161 | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits in InsertBits()
[all …]
/third_party/glslang/Test/
Dspv.Operations.frag101 uvec4 msb;
103 umulExtended(uuv4.xyz, uuv4.xyz, msb.xyz, lsb.xyz);
104 u += msb.x + msb.y + msb.z;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUCharacterName.java335 int msb = getCodepointMSB(codepoint); in getGroup() local
342 if (msb < getGroupMSB(gindex)) { in getGroup()
419 public static int getGroupLimit(int msb) in getGroupLimit() argument
421 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
429 public static int getGroupMin(int msb) in getGroupMin() argument
431 return msb << GROUP_SHIFT_; in getGroupMin()
510 int msb = getCodepointMSB(ch); in getGroupName() local
514 if (msb == m_groupinfo_[group * m_groupsize_]) { in getGroupName()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java334 int msb = getCodepointMSB(codepoint); in getGroup() local
341 if (msb < getGroupMSB(gindex)) { in getGroup()
418 public static int getGroupLimit(int msb) in getGroupLimit() argument
420 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
428 public static int getGroupMin(int msb) in getGroupMin() argument
430 return msb << GROUP_SHIFT_; in getGroupMin()
509 int msb = getCodepointMSB(ch); in getGroupName() local
513 if (msb == m_groupinfo_[group * m_groupsize_]) { in getGroupName()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
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/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_integer.inl220 GLM_FUNC_QUALIFIER void umulExtended(uint const & x, uint const & y, uint & msb, uint & lsb) argument
225 msb = static_cast<uint>(Value64 >> static_cast<uint64>(32));
230 …vecType<uint, P> const & x, vecType<uint, P> const & y, vecType<uint, P> & msb, vecType<uint, P> &… argument
235 msb = vecType<uint32, P>(Value64 >> static_cast<uint64>(32));
240 GLM_FUNC_QUALIFIER void imulExtended(int x, int y, int & msb, int & lsb) argument
245 msb = static_cast<int>(Value64 >> static_cast<int64>(32));
250 …ed(vecType<int, P> const & x, vecType<int, P> const & y, vecType<int, P> & msb, vecType<int, P> & … argument
256 msb = vecType<int32, P>((Value64 >> static_cast<int64>(32)) & static_cast<int64>(0xFFFFFFFF));
Dfunc_integer.hpp65 vecType<uint, P> & msb,
80 vecType<int, P> & msb,
/third_party/mesa3d/src/amd/vulkan/
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/glslang/Test/baseResults/
Dspv.Operations.frag.out24 Name 321 "msb"
112 321(msb): 320(ptr) Variable Function
472 331: 292(ptr) AccessChain 321(msb) 142
475 334: 292(ptr) AccessChain 321(msb) 333
478 337: 292(ptr) AccessChain 321(msb) 336
491 346: 292(ptr) AccessChain 321(msb) 142
493 348: 292(ptr) AccessChain 321(msb) 333
496 351: 292(ptr) AccessChain 321(msb) 336
/third_party/openssl/test/recipes/
D25-test_x509.t33 my $msb = srctop_file(@certs, "cyrillic.msb");
38 is(cmp_text($out_msb, $msb),
/third_party/mbedtls/library/
Drsa.c1556 size_t msb; in rsa_rsassa_pss_sign() local
1619 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()
1647 if( msb % 8 == 0 ) in rsa_rsassa_pss_sign()
1655 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()
1656 sig[0] &= 0xFF >> ( olen * 8 - msb ); in rsa_rsassa_pss_sign()
1965 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local
2013 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
2015 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()
2019 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
2037 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrFormats.td416 // opcode Rd addr 5msb's address 16 lsb's
429 bits<5> msb;
434 let Inst{22 - 18} = msb;
447 // opcode Rd const 5msb's constant 16 lsb's
457 bits<5> msb;
462 let Inst{22 - 18} = msb;
503 bits<5> msb;
/third_party/alsa-lib/test/
Dplaymidi1.c311 static void do_pitchbend(int chan, int lsb, int msb) in do_pitchbend() argument
316 printf("%lu: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb); in do_pitchbend()
318 snd_seq_ev_set_pitchbend(&ev, chan, (lsb + (msb << 7)) - 8192); in do_pitchbend()
/third_party/gn/src/base/strings/
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/protobuf/js/binary/
Darith.js110 jspb.arith.UInt64.prototype.msb = function() { method in jspb.arith.UInt64
241 while (!divisor.msb()) {
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Darith_test.js65 assertEquals(a.msb(), false);
72 assertEquals(a.msb(), true);
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Darith_test.js65 assertEquals(a.msb(), false);
72 assertEquals(a.msb(), true);

12345