Home
last modified time | relevance | path

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

123456

/external/libaom/libaom/test/
Derror_block_test.cc69 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
78 coeff[j] = rnd(1 << msb); in TEST_P()
79 dqcoeff[j] = rnd(1 << msb); in TEST_P()
82 coeff[j] = -rnd(1 << msb); in TEST_P()
83 dqcoeff[j] = -rnd(1 << msb); in TEST_P()
112 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
113 int max_val = ((1 << msb) - 1); in TEST_P()
168 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
176 coeff[j] = rnd(1 << msb); in TEST_P()
177 dqcoeff[j] = rnd(1 << msb); in TEST_P()
[all …]
Dsum_squares_test.cc62 const int msb = 11; // Up to 12 bit input in GenRandomData() local
63 const int limit = 1 << (msb + 1); in GenRandomData()
72 const int msb = 11; // Up to 12 bit input in GenExtremeData() local
73 const int limit = 1 << (msb + 1); in GenExtremeData()
263 const int msb = 11; // Up to 12 bit input in GenRandomData() local
264 const int limit = 1 << (msb + 1); in GenRandomData()
312 const int msb = isHbd_ ? 12 : 8; // Up to 12 bit input in RunTest() local
313 const int limit = (1 << msb) - 1; in RunTest()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/SVE/
Dmsb.s10 msb z0.b, p7/m, z1.b, z31.b label
16 msb z0.h, p7/m, z1.h, z31.h label
22 msb z0.s, p7/m, z1.s, z31.s label
28 msb z0.d, p7/m, z1.d, z31.d label
44 msb z0.d, p7/m, z1.d, z31.d label
56 msb z0.d, p7/m, z1.d, z31.d label
Dmsb-diagnostics.s7 msb z0.h, p8/m, z1.h, z2.h label
16 msb z0.s, p7/m, z1.h, z2.h label
/external/python/cpython3/Lib/idlelib/
Dstatusbar.py31 msb = MultiStatusBar(frame)
32 msb.set_label("one", "hello")
33 msb.set_label("two", "world")
34 msb.pack(side='bottom', fill='x')
37 msb.set_label("one", "foo")
38 msb.set_label("two", "bar")
/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/libvpx/libvpx/test/
Dvp9_block_error_test.cc82 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
91 coeff[j] = rnd(1 << msb); in TEST_P()
92 dqcoeff[j] = rnd(1 << msb); in TEST_P()
95 coeff[j] = -rnd(1 << msb); in TEST_P()
96 dqcoeff[j] = -rnd(1 << msb); in TEST_P()
125 const int msb = bit_depth_ + 8 - 1; in TEST_P() local
126 int max_val = ((1 << msb) - 1); in TEST_P()
Dsum_squares_test.cc52 const int msb = 11; // Up to 12 bit input in TEST_P() local
53 const int limit = 1 << (msb + 1); in TEST_P()
80 const int msb = 11; // Up to 12 bit input in TEST_P() local
81 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/u-boot/drivers/power/
Dtwl6030.c34 u8 msb = 0; in twl6030_gpadc_read_channel() local
43 twl->adc_rbase + 1 + channel_no * 2, &msb); in twl6030_gpadc_read_channel()
47 return (msb << 8) | lsb; in twl6030_gpadc_read_channel()
112 u8 msb = 0; in twl6030_get_battery_current() local
115 twl6030_i2c_read_u8(TWL6030_CHIP_CHARGER, FG_REG_11, &msb); in twl6030_get_battery_current()
117 battery_current = ((msb << 8) | lsb); in twl6030_get_battery_current()
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbnu_msbit.c72 int msb; in cpMSBit_BNU() local
74 msb = nsA*BNU_CHUNK_BITS - cpNLZ_BNU(pA[nsA-1]) -1; in cpMSBit_BNU()
75 return msb; in cpMSBit_BNU()
/external/u-boot/drivers/gpio/
Dpca953x.c153 int msb = nr_gpio - 1; in pca953x_info() local
157 for (i = msb; i >= 0; i--) in pca953x_info()
167 for (i = msb; i >= 0; i--) in pca953x_info()
174 for (i = msb; i >= 0; i--) in pca953x_info()
181 for (i = msb; i >= 0; i--) in pca953x_info()
188 for (i = msb; i >= 0; i--) in pca953x_info()
/external/skqp/src/compute/hs/gen/
Dtarget_glsl.c303 uint32_t const msb = msb_idx_u32(bs); in hsg_target_glsl() local
308 msb, in hsg_target_glsl()
309 msb); in hsg_target_glsl()
312 sprintf(filename,"hs_bs_%u.comp",msb); in hsg_target_glsl()
330 m->warps,msb); in hsg_target_glsl()
348 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_glsl() local
353 msb, in hsg_target_glsl()
354 msb); in hsg_target_glsl()
357 sprintf(filename,"hs_bc_%u.comp",msb); in hsg_target_glsl()
375 m->warps,msb); in hsg_target_glsl()
Dtarget_cuda.c311 uint32_t const msb = msb_idx_u32(bs); in hsg_target_cuda() local
317 m->warps,msb); in hsg_target_cuda()
323 m->warps,msb); in hsg_target_cuda()
357 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_cuda() local
361 m->warps,msb); in hsg_target_cuda()
407 uint32_t const msb = msb_idx_u32(pow2_ru_u32(merge[0].warps)); in hsg_target_cuda() local
/external/skia/src/compute/hs/gen/
Dtarget_glsl.c303 uint32_t const msb = msb_idx_u32(bs); in hsg_target_glsl() local
308 msb, in hsg_target_glsl()
309 msb); in hsg_target_glsl()
312 sprintf(filename,"hs_bs_%u.comp",msb); in hsg_target_glsl()
330 m->warps,msb); in hsg_target_glsl()
348 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_glsl() local
353 msb, in hsg_target_glsl()
354 msb); in hsg_target_glsl()
357 sprintf(filename,"hs_bc_%u.comp",msb); in hsg_target_glsl()
375 m->warps,msb); in hsg_target_glsl()
Dtarget_cuda.c311 uint32_t const msb = msb_idx_u32(bs); in hsg_target_cuda() local
317 m->warps,msb); in hsg_target_cuda()
323 m->warps,msb); in hsg_target_cuda()
357 uint32_t const msb = msb_idx_u32(m->warps); in hsg_target_cuda() local
361 m->warps,msb); in hsg_target_cuda()
407 uint32_t const msb = msb_idx_u32(pow2_ru_u32(merge[0].warps)); in hsg_target_cuda() local
/external/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 …]
/external/u-boot/board/compulab/cm_t3517/
Dcm_t3517.c135 u32 msb = __raw_readl(CONTROL_EFUSE_EMAC_MSB); in am3517_get_efuse_enetaddr() local
137 enetaddr[0] = (u8)((msb >> 16) & 0xff); in am3517_get_efuse_enetaddr()
138 enetaddr[1] = (u8)((msb >> 8) & 0xff); in am3517_get_efuse_enetaddr()
139 enetaddr[2] = (u8)(msb & 0xff); in am3517_get_efuse_enetaddr()
/external/vixl/src/
Dutils-vixl.h178 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { in INT_1_TO_63_LIST()
179 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in INT_1_TO_63_LIST()
180 (msb >= lsb)); in INT_1_TO_63_LIST()
181 if ((msb == 63) && (lsb == 0)) return x; in INT_1_TO_63_LIST()
182 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in INT_1_TO_63_LIST()
186 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint32_t x) { in ExtractUnsignedBitfield32() argument
187 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield32()
188 (msb >= lsb)); in ExtractUnsignedBitfield32()
189 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb, x)); in ExtractUnsignedBitfield32()
193 inline int64_t ExtractSignedBitfield64(int msb, int lsb, int64_t x) { in ExtractSignedBitfield64() argument
[all …]
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp103 UINT_32 msb, ///< Most signicant bit in GetBits() argument
108 if (msb >= lsb) in GetBits()
110 ret = (bits >> lsb) & (Mask(1 + msb - lsb)); in GetBits()
127 UINT_32 msb, ///< Most signicant bit in RemoveBits() argument
132 if (msb >= lsb) in RemoveBits()
135 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits()
153 UINT_32 msb, ///< Most signicant bit in InsertBits() argument
158 if (msb >= lsb) in InsertBits()
161 | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits in InsertBits()
162 | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits in InsertBits()
[all …]
/external/u-boot/drivers/power/pmic/
Drk8xx.c79 uint8_t msb, lsb; in rk8xx_probe() local
82 rk8xx_read(dev, ID_MSB, &msb, 1); in rk8xx_probe()
85 priv->variant = ((msb << 8) | lsb) & RK8XX_ID_MSK; in rk8xx_probe()
/external/swiftshader/third_party/llvm-7.0/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/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/vixl/src/aarch64/
Dinstructions-aarch64.h172 uint32_t ExtractBits(int msb, int lsb) const { in ExtractBits() argument
173 return ExtractUnsignedBitfield32(msb, lsb, GetInstructionBits()); in ExtractBits()
175 VIXL_DEPRECATED("ExtractBits", uint32_t Bits(int msb, int lsb) const) {
176 return ExtractBits(msb, lsb);
179 int32_t ExtractSignedBits(int msb, int lsb) const { in ExtractSignedBits() argument
181 return ExtractSignedBitfield32(msb, lsb, bits); in ExtractSignedBits()
184 int32_t SignedBits(int msb, int lsb) const) {
185 return ExtractSignedBits(msb, lsb);

123456