Home
last modified time | relevance | path

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

12

/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/tcpdump/
Dparsenfsfh.c91 #define make_uint32(msb,b,c,lsb)\ argument
92 (XFF(lsb) + (XFF(c)<<8) + (XFF(b)<<16) + (XFF(msb)<<24))
94 #define make_uint24(msb,b, lsb)\ argument
95 (XFF(lsb) + (XFF(b)<<8) + (XFF(msb)<<16))
97 #define make_uint16(msb,lsb)\ argument
98 (XFF(lsb) + (XFF(msb)<<8))
102 #define make_uint48(msb,b,c,d,e,lsb)\ argument
103 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24) + ((b)<<32) + ((msb)<<40))
106 #define make_uint48(msb,b,c,d,e,lsb)\ argument
/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/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.h99 uint32_t Bits(int msb, int lsb) const {
100 return unsigned_bitextract_32(msb, lsb, value_);
103 int32_t SignedBits(int msb, int lsb) const {
104 return signed_bitextract_32(msb, lsb, value_);
107 void SetBits(int msb, int lsb, uint32_t bits);
/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/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/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/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
2176 msb = 0x8000; in guest_s390x_spechelper()
2177 while (msb > mask16) in guest_s390x_spechelper()
2178 msb >>= 1; in guest_s390x_spechelper()
[all …]
/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.h880 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) {
881 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1);
884 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) {
885 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
888 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) {
889 return (x << (31 - msb)) >> (lsb + 31 - msb);
892 inline int signed_bitextract_64(int msb, int lsb, int x) {
894 return (x << (63 - msb)) >> (lsb + 63 - msb);
/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()
Dblock.cpp485 int msb = pScaleFactor [bnds] >> 2 ; in CBlock_InverseQuantizeSpectralData() local
490 pSfbScale[window*16+band] = msb - scale; in CBlock_InverseQuantizeSpectralData()
Daacdec_hcr.cpp634 INT msb; in HcrReorderQuantizedSpectralCoefficients() local
664 msb = pScaleFacHcr[interm] >> 2; in HcrReorderQuantizedSpectralCoefficients()
680 …pSfbSclHcr[window*16+band] = msb - GetScaleFromValue(locMax, lsb); /* save global scale maxima in… in HcrReorderQuantizedSpectralCoefficients()
/external/valgrind/memcheck/tests/vbit-test/
Dvbits.c714 int msb; in sar_vbits() local
719 msb = (v.bits.u8 & 0x80) != 0; in sar_vbits()
723 msb = (v.bits.u16 & 0x8000) != 0; in sar_vbits()
727 msb = (v.bits.u32 & (1u << 31)) != 0; in sar_vbits()
731 msb = (v.bits.u64 & (1ull << 63)) != 0; in sar_vbits()
739 if (msb) in sar_vbits()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dmqc.h117 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob);
Dmqc.c610 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob) { in opj_mqc_setstate() argument
611 mqc->ctxs[ctxno] = &mqc_states[msb + (OPJ_UINT32)(prob << 1)]; in opj_mqc_setstate()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc417 uint32_t msb = base::bits::CountLeadingZeros32(value); in VisitWord32And() local
418 if (width != 0 && msb + width == 32) { in VisitWord32And()
435 msb = base::bits::CountLeadingZeros32(~value); in VisitWord32And()
437 if (msb + width + lsb == 32) { in VisitWord32And()
530 uint32_t msb = base::bits::CountLeadingZeros32(value); in VisitWord32Shr() local
531 if (msb + width + lsb == 32) { in VisitWord32Shr()
/external/libvorbis/lib/
Dmdct.c80 int msb=1<<(log2n-2); in mdct_init() local
83 for(j=0;msb>>j;j++) in mdct_init()
84 if((msb>>j)&i)acc|=1<<j; in mdct_init()
/external/icu/icu4c/source/data/locales/
Dsw_CD.txt124 "msb",
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsplugin.c361 cmsUInt8Number msb, lsb; in _cms8Fixed8toDouble() local
364 msb = (cmsUInt8Number) (((cmsUInt16Number) fixed8 >> 8) & 0xff); in _cms8Fixed8toDouble()
366 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0)); in _cms8Fixed8toDouble()
/external/fio/
Dstat.c47 unsigned int msb, error_bits, base, offset, idx; in plat_val_to_idx() local
51 msb = 0; in plat_val_to_idx()
53 msb = (sizeof(val)*8) - __builtin_clz(val) - 1; in plat_val_to_idx()
59 if (msb <= FIO_IO_U_PLAT_BITS) in plat_val_to_idx()
63 error_bits = msb - FIO_IO_U_PLAT_BITS; in plat_val_to_idx()

12