Home
last modified time | relevance | path

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

123

/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/vixl/src/vixl/
Dutils.h86 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) { in INT_1_TO_63_LIST()
87 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1); in INT_1_TO_63_LIST()
90 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) { in unsigned_bitextract_64() argument
91 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in unsigned_bitextract_64()
94 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) { in signed_bitextract_32() argument
95 return (x << (31 - msb)) >> (lsb + 31 - msb); in signed_bitextract_32()
98 inline int64_t signed_bitextract_64(int msb, int lsb, int64_t x) { in signed_bitextract_64() argument
99 return (x << (63 - msb)) >> (lsb + 63 - msb); in signed_bitextract_64()
/external/libvpx/libvpx/test/
Dvp9_error_block_test.cc70 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
79 coeff[j] = rnd(1 << msb); in TEST_P()
80 dqcoeff[j] = rnd(1 << msb); in TEST_P()
83 coeff[j] = -rnd(1 << msb); in TEST_P()
84 dqcoeff[j] = -rnd(1 << msb); in TEST_P()
113 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
114 int max_val = ((1 << msb) - 1); in TEST_P()
/external/tcpdump/
Dparsenfsfh.c87 #define make_uint32(msb,b,c,lsb)\ argument
88 (XFF(lsb) + (XFF(c)<<8) + (XFF(b)<<16) + (XFF(msb)<<24))
90 #define make_uint24(msb,b, lsb)\ argument
91 (XFF(lsb) + (XFF(b)<<8) + (XFF(msb)<<16))
93 #define make_uint16(msb,lsb)\ argument
94 (XFF(lsb) + (XFF(msb)<<8))
98 #define make_uint48(msb,b,c,d,e,lsb)\ argument
99 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24) + ((b)<<32) + ((msb)<<40))
102 #define make_uint48(msb,b,c,d,e,lsb)\ argument
/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/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.java333 int msb = getCodepointMSB(codepoint); in getGroup() local
340 if (msb < getGroupMSB(gindex)) { in getGroup()
417 public static int getGroupLimit(int msb) in getGroupLimit() argument
419 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
427 public static int getGroupMin(int msb) in getGroupMin() argument
429 return msb << GROUP_SHIFT_; in getGroupMin()
508 int msb = getCodepointMSB(ch); in getGroupName() local
512 if (msb == m_groupinfo_[group * m_groupsize_]) { in getGroupName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java332 int msb = getCodepointMSB(codepoint); in getGroup() local
339 if (msb < getGroupMSB(gindex)) { in getGroup()
416 public static int getGroupLimit(int msb) in getGroupLimit() argument
418 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_; in getGroupLimit()
426 public static int getGroupMin(int msb) in getGroupMin() argument
428 return msb << GROUP_SHIFT_; in getGroupMin()
507 int msb = getCodepointMSB(ch); in getGroupName() local
511 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()
Dsimulator-arm64.h90 uint32_t Bits(int msb, int lsb) const {
91 return unsigned_bitextract_32(msb, lsb, value_);
94 int32_t SignedBits(int msb, int lsb) const {
95 return signed_bitextract_32(msb, lsb, value_);
98 void SetBits(int msb, int lsb, uint32_t bits);
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c283 LLVMValueRef msb; in lp_build_unpack2() local
293msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), "… in lp_build_unpack2()
297 msb = lp_build_zero(gallivm, src_type); in lp_build_unpack2()
301 *dst_lo = lp_build_interleave2(gallivm, src_type, src, msb, 0); in lp_build_unpack2()
302 *dst_hi = lp_build_interleave2(gallivm, src_type, src, msb, 1); in lp_build_unpack2()
304 *dst_lo = lp_build_interleave2(gallivm, src_type, msb, src, 0); in lp_build_unpack2()
305 *dst_hi = lp_build_interleave2(gallivm, src_type, msb, src, 1); in lp_build_unpack2()
Dlp_bld_logic.c214 …LLVMValueRef msb = lp_build_const_int_vec(gallivm, type, (unsigned long long)1 << (type.width - 1)… in lp_build_compare() local
215 a = LLVMBuildXor(builder, a, msb, ""); in lp_build_compare()
216 b = LLVMBuildXor(builder, b, msb, ""); in lp_build_compare()
/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/v8/src/
Dutils.h980 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) {
981 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1);
984 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) {
985 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
988 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) {
989 return (x << (31 - msb)) >> (lsb + 31 - msb);
992 inline int signed_bitextract_64(int msb, int lsb, int x) {
994 return (x << (63 - msb)) >> (lsb + 63 - msb);
/external/libweave/third_party/chromium/base/strings/
Dstring_number_conversions.cc282 uint8_t msb = 0; // most significant 4 bits in HexStringToBytesT() local
284 if (!CharToDigit<16>(input[i * 2], &msb) || in HexStringToBytesT()
287 output->push_back((msb << 4) | lsb); in HexStringToBytesT()
/external/vixl/src/vixl/a64/
Dinstructions-a64.h177 uint32_t Bits(int msb, int lsb) const { in Bits() argument
178 return unsigned_bitextract_32(msb, lsb, InstructionBits()); in Bits()
181 int32_t SignedBits(int msb, int lsb) const { in SignedBits() argument
183 return signed_bitextract_32(msb, lsb, bits); in SignedBits()
/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/valgrind/memcheck/tests/vbit-test/
Dvbits.c746 int msb; in sar_vbits() local
751 msb = (v.bits.u8 & 0x80) != 0; in sar_vbits()
755 msb = (v.bits.u16 & 0x8000) != 0; in sar_vbits()
759 msb = (v.bits.u32 & (1u << 31)) != 0; in sar_vbits()
763 msb = (v.bits.u64 & (1ull << 63)) != 0; in sar_vbits()
771 if (msb) in sar_vbits()
/external/libchrome/base/strings/
Dstring_number_conversions.cc290 uint8_t msb = 0; // most significant 4 bits in HexStringToBytesT() local
292 if (!CharToDigit<16>(input[i * 2], &msb) || in HexStringToBytesT()
295 output->push_back((msb << 4) | lsb); in HexStringToBytesT()
/external/pdfium/third_party/libopenjpeg20/
Dmqc.h117 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob);
/external/drm_hwcomposer/
Ddrmdisplaycomposition.cpp127 size_t msb = sizeof(in) * 8 - 1; in SetBitsToVector() local
128 uint64_t mask = (uint64_t)1 << msb; in SetBitsToVector()
129 for (size_t i = msb; mask != (uint64_t)0; i--, mask >>= 1) in SetBitsToVector()

123