Home
last modified time | relevance | path

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

1234

/external/python/cpython2/Lib/idlelib/
DMultiStatusBar.py30 msb = MultiStatusBar(frame)
31 msb.set_label("one", "hello")
32 msb.set_label("two", "world")
33 msb.pack(side=BOTTOM, fill=X)
36 msb.set_label("one", "foo")
37 msb.set_label("two", "bar")
/external/vulkan-validation-layers/libs/glm/detail/
Dfunc_integer.inl167 uint & msb, argument
175 msb = *PointerMSB;
185 uvec2 & msb, argument
189 umulExtended(x[0], y[0], msb[0], lsb[0]);
190 umulExtended(x[1], y[1], msb[1], lsb[1]);
198 uvec3 & msb, argument
202 umulExtended(x[0], y[0], msb[0], lsb[0]);
203 umulExtended(x[1], y[1], msb[1], lsb[1]);
204 umulExtended(x[2], y[2], msb[2], lsb[2]);
212 uvec4 & msb, argument
[all …]
Dfunc_integer.hpp88 genUType & msb,
103 genIType & msb,
/external/libvpx/libvpx/test/
Dvp9_block_error_test.cc81 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
90 coeff[j] = rnd(1 << msb); in TEST_P()
91 dqcoeff[j] = rnd(1 << msb); in TEST_P()
94 coeff[j] = -rnd(1 << msb); in TEST_P()
95 dqcoeff[j] = -rnd(1 << msb); in TEST_P()
124 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
125 int max_val = ((1 << msb) - 1); in TEST_P()
Dsum_squares_test.cc51 const int msb = 11; // Up to 12 bit input in TEST_P() local
52 const int limit = 1 << (msb + 1); in TEST_P()
79 const int msb = 11; // Up to 12 bit input in TEST_P() local
80 const int limit = 1 << (msb + 1); in TEST_P()
/external/tcpdump/
Dparsenfsfh.c86 #define make_uint32(msb,b,c,lsb)\ argument
87 (XFF(lsb) + (XFF(c)<<8) + (XFF(b)<<16) + (XFF(msb)<<24))
89 #define make_uint24(msb,b, lsb)\ argument
90 (XFF(lsb) + (XFF(b)<<8) + (XFF(msb)<<16))
92 #define make_uint16(msb,lsb)\ argument
93 (XFF(lsb) + (XFF(msb)<<8))
97 #define make_uint48(msb,b,c,d,e,lsb)\ argument
98 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24) + ((b)<<32) + ((msb)<<40))
101 #define make_uint48(msb,b,c,d,e,lsb)\ argument
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp89 UINT_32 msb, ///< Most signicant bit in AddrGetBits() argument
94 if (msb >= lsb) in AddrGetBits()
96 ret = (bits >> lsb) & (AddrMask(1 + msb - lsb)); in AddrGetBits()
113 UINT_32 msb, ///< Most signicant bit in AddrRemoveBits() argument
118 if (msb >= lsb) in AddrRemoveBits()
121 | (AddrGetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in AddrRemoveBits()
139 UINT_32 msb, ///< Most signicant bit in AddrInsertBits() argument
144 if (msb >= lsb) in AddrInsertBits()
147 | (AddrGetBits(newBits, msb - lsb, 0) << lsb) //new bits in AddrInsertBits()
148 | (AddrGetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits in AddrInsertBits()
[all …]
/external/vixl/src/
Dutils-vixl.h172 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { in INT_1_TO_63_LIST()
173 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in INT_1_TO_63_LIST()
174 (msb >= lsb)); in INT_1_TO_63_LIST()
175 if ((msb == 63) && (lsb == 0)) return x; in INT_1_TO_63_LIST()
176 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in INT_1_TO_63_LIST()
180 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint32_t x) { in ExtractUnsignedBitfield32() argument
181 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield32()
182 (msb >= lsb)); in ExtractUnsignedBitfield32()
183 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb, x)); in ExtractUnsignedBitfield32()
187 inline int64_t ExtractSignedBitfield64(int msb, int lsb, int64_t x) { in ExtractSignedBitfield64() argument
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c379 LLVMValueRef msb; in lp_build_unpack2() local
389msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), "… in lp_build_unpack2()
393 msb = lp_build_zero(gallivm, src_type); in lp_build_unpack2()
397 *dst_lo = lp_build_interleave2(gallivm, src_type, src, msb, 0); in lp_build_unpack2()
398 *dst_hi = lp_build_interleave2(gallivm, src_type, src, msb, 1); in lp_build_unpack2()
401 *dst_lo = lp_build_interleave2(gallivm, src_type, msb, src, 0); in lp_build_unpack2()
402 *dst_hi = lp_build_interleave2(gallivm, src_type, msb, src, 1); in lp_build_unpack2()
432 LLVMValueRef msb; in lp_build_unpack2_native() local
442 msb = LLVMBuildAShr(builder, src, in lp_build_unpack2_native()
447 msb = lp_build_zero(gallivm, src_type); in lp_build_unpack2_native()
[all …]
/external/syslinux/gpxe/src/drivers/infiniband/
Dqib_genbits.pl56 msb => $structure->{$_}->{MSB},
95 if ( defined $field->{msb} ) {
96 my $msb_width = ( hex ( $field->{msb} ) - $lsb + 1 );
/external/llvm/test/CodeGen/Hexagon/
Dstore-widen-negv.ll6 %msb = getelementptr inbounds [4 x i8], [4 x i8]* %ptr, i32 0, i32 3
8 store i8 0, i8* %msb
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DUUIDConverter.java28 long msb = uuid.getMostSignificantBits(); in convert() local
33 buffer[i] = (byte) (msb >>> 8 * (7 - i)); in convert()
/external/vixl/src/aarch64/
Dinstructions-aarch64.h178 uint32_t ExtractBits(int msb, int lsb) const { in ExtractBits() argument
179 return ExtractUnsignedBitfield32(msb, lsb, GetInstructionBits()); in ExtractBits()
181 VIXL_DEPRECATED("ExtractBits", uint32_t Bits(int msb, int lsb) const) {
182 return ExtractBits(msb, lsb);
185 int32_t ExtractSignedBits(int msb, int lsb) const { in ExtractSignedBits() argument
187 return ExtractSignedBitfield32(msb, lsb, bits); in ExtractSignedBits()
190 int32_t SignedBits(int msb, int lsb) const) {
191 return ExtractSignedBits(msb, lsb);
/external/libmpeg2/common/
Dimpeg2_macros.h35 #define BITS(val,msb,lsb) (UWORD16)((((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))) argument
/external/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()
/external/valgrind/VEX/priv/
Dguest_s390_helpers.c1607 Int msb = 0; in s390_calculate_cc() local
1611 msb = 0x80; in s390_calculate_cc()
1615 msb = 0x8000; in s390_calculate_cc()
1619 msb = 0x800000; in s390_calculate_cc()
1623 msb = 0x80000000; in s390_calculate_cc()
1626 if (inserted & msb) // MSB is 1 in s390_calculate_cc()
2141 UInt msb; in guest_s390x_spechelper() local
2178 msb = 0x8000; in guest_s390x_spechelper()
2179 while (msb > mask16) in guest_s390x_spechelper()
2180 msb >>= 1; in guest_s390x_spechelper()
[all …]
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/v8/src/arm64/
Dinstructions-arm64.h111 uint32_t Bits(int msb, int lsb) const { in Bits() argument
112 return unsigned_bitextract_32(msb, lsb, InstructionBits()); in Bits()
115 int32_t SignedBits(int msb, int lsb) const { in SignedBits() argument
117 return signed_bitextract_32(msb, lsb, bits); in SignedBits()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java167 int msb = mant[mant.length-1]; in round() local
168 if (msb == 0) { in round()
175 while (lsbthreshold > msb) { in round()
/external/fio/t/
Dread-to-pipe-async.c142 unsigned int msb, error_bits, base, offset; in plat_val_to_idx() local
146 msb = 0; in plat_val_to_idx()
148 msb = sizeof(val)*8 - __builtin_clz(val) - 1; in plat_val_to_idx()
154 if (msb <= PLAT_BITS) in plat_val_to_idx()
158 error_bits = msb - PLAT_BITS; in plat_val_to_idx()
/external/syslinux/gpxe/src/net/80211/
Dwpa_ccmp.c125 static void u64_to_pn ( u64 v, u8 *pn, int msb ) in u64_to_pn() argument
128 u8 *pnp = pn + ( msb ? 5 : 0 ); in u64_to_pn()
129 int delta = ( msb ? -1 : +1 ); in u64_to_pn()
/external/aac/libAACdec/src/
Dstereo.cpp258 int msb = bandScale >> 2 ; in CJointStereo_ApplyIS() local
271 rightScale[band] = leftScale[band]+msb+1; in CJointStereo_ApplyIS()
/external/v8/src/
Dutils.h821 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) {
822 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1);
825 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) {
826 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
829 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) {
830 return (x << (31 - msb)) >> (lsb + 31 - msb);
833 inline int signed_bitextract_64(int msb, int lsb, int x) {
835 return (x << (63 - msb)) >> (lsb + 63 - msb);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_alu.c566 LLVMValueRef msb = in emit_umsb() local
573 msb = LLVMBuildSub(builder, lp_build_const_int32(gallivm, 31), in emit_umsb()
574 msb, ""); in emit_umsb()
581 lp_build_const_int32(gallivm, -1), msb, ""); in emit_umsb()
593 LLVMValueRef msb = in emit_imsb() local
600 msb = LLVMBuildSub(builder, lp_build_const_int32(gallivm, 31), in emit_imsb()
601 msb, ""); in emit_imsb()
614 LLVMBuildSelect(builder, cond, all_ones, msb, ""); in emit_imsb()

1234