Home
last modified time | relevance | path

Searched refs:lsb (Results 1 – 25 of 202) sorted by relevance

123456789

/external/vboot_reference/scripts/image_signing/
Densure_sane_lsb-release.sh10 LSB_FILE=/etc/lsb-release
133 local lsb="$rootfs/$LSB_FILE"
136 lsb_syntaxcheck "$lsb" || testfail=1
138 lsbequals $lsb CHROMEOS_AUSERVER "$expected_auserver" || testfail=1
139 lsbequals $lsb CHROMEOS_RELEASE_NAME "$expected_release_name" || testfail=1
140 check_keyval_in_list $lsb CHROMEOS_RELEASE_TRACK \
143 if check_keyval_in_list $lsb CHROMEOS_RELEASE_BOARD \
147 local board=$(lsbval $lsb CHROMEOS_RELEASE_BOARD |
152 channel=$(lsbval $lsb CHROMEOS_RELEASE_TRACK)
159 lsbequals $lsb CHROMEOS_RELEASE_APPID "$expected_appid" || testfail=1
Dset_channel.sh27 local rootfs lsb
30 lsb="${rootfs}/etc/lsb-release"
33 local from=$(grep '^CHROMEOS_RELEASE_TRACK=' "${lsb}" | cut -d '=' -f 2)
38 if [[ ! -w ${lsb} ]] ; then
41 ${sudo} sed -i "s/\b${from}\b/${to}/" "${lsb}" &&
43 cat "${lsb}"
Dtag_image.sh168 local lsb="${rootfs}/etc/lsb-release"
171 if [ ! -w "${lsb}" ]; then
176 if grep -wq "test" "${lsb}"; then
180 ${sudo} sed -i 's/\btest\b//' "${lsb}" &&
186 if grep -wq "dev" "${lsb}"; then
190 ${sudo} sed -i 's/\bdev\b/beta/' "${lsb}" &&
/external/aac/libFDK/src/
Dqmf.cpp357 for (i = 0; i < fMin(anaQmf->lsb, L); i += 2) { in qmfForwardModulationHQ()
612 scaleValues(&tReal[0], &qmfReal[0], synQmf->lsb, (int)scaleFactorLowBand); in qmfInverseModulationLP_even()
613 scaleValues(&tReal[0 + synQmf->lsb], &qmfReal[0 + synQmf->lsb], in qmfInverseModulationLP_even()
614 synQmf->usb - synQmf->lsb, (int)scaleFactorHighBand); in qmfInverseModulationLP_even()
665 scaleValues(pTimeOut + M, qmfReal, synQmf->lsb, scaleFactorLowBand); in qmfInverseModulationLP_odd()
666 scaleValues(pTimeOut + M + synQmf->lsb, qmfReal + synQmf->lsb, in qmfInverseModulationLP_odd()
667 synQmf->usb - synQmf->lsb, scaleFactorHighBand); in qmfInverseModulationLP_odd()
701 for (i = 0; i < synQmf->lsb; i++) { in qmfInverseModulationHQ()
715 scaleValues(&tReal[0], &qmfReal[0], synQmf->lsb, (int)scaleFactorLowBand); in qmfInverseModulationHQ()
716 scaleValues(&tReal[0 + synQmf->lsb], &qmfReal[0 + synQmf->lsb], in qmfInverseModulationHQ()
[all …]
DFDK_qmf_domain.cpp497 int lsb = gc->nBandsAnalysis; in FDK_QmfDomain_InitFilterBank() local
548 (qd->QmfDomainIn[ch].fb.lsb == 0) ? lsb : qd->QmfDomainIn[ch].fb.lsb, in FDK_QmfDomain_InitFilterBank()
559 (qd->QmfDomainOut[ch].fb.lsb == 0) ? lsb : qd->QmfDomainOut[ch].fb.lsb, in FDK_QmfDomain_InitFilterBank()
618 const int lsb = qd_ch->fb.lsb; in FDK_QmfDomain_GetSlot() local
644 for (; b < fMin(lsb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
655 for (; b < fMin(lsb, stop_band); b++) { in FDK_QmfDomain_GetSlot()
971 if ((hqd->QmfDomainOut[i].fb.lsb == 0) && in FDK_QmfDomain_Configure()
975 hqd->QmfDomainOut[i].fb.lsb = hgc->nBandsAnalysis_requested; in FDK_QmfDomain_Configure()
/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
102 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24))
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp104 UINT_32 lsb) ///< Least signicant bit in GetBits() argument
108 if (msb >= lsb) in GetBits()
110 ret = (bits >> lsb) & (Mask(1 + msb - lsb)); in GetBits()
128 UINT_32 lsb) ///< Least signicant bit in RemoveBits() argument
132 if (msb >= lsb) in RemoveBits()
134 ret = GetBits(bits, lsb - 1, 0) // low bits in RemoveBits()
135 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits()
154 UINT_32 lsb) ///< Least signicant bit in InsertBits() argument
158 if (msb >= lsb) in InsertBits()
160 ret = GetBits(bits, lsb - 1, 0) // old low bitss in InsertBits()
[all …]
/external/u-boot/drivers/power/
Dtwl6030.c33 u8 lsb = 0; in twl6030_gpadc_read_channel() local
38 twl->adc_rbase + channel_no * 2, &lsb); in twl6030_gpadc_read_channel()
47 return (msb << 8) | lsb; in twl6030_gpadc_read_channel()
113 u8 lsb = 0; in twl6030_get_battery_current() local
116 twl6030_i2c_read_u8(TWL6030_CHIP_CHARGER, FG_REG_10, &lsb); in twl6030_get_battery_current()
117 battery_current = ((msb << 8) | lsb); in twl6030_get_battery_current()
/external/aac/libAACdec/src/
Dblock.h247 int EvaluatePower43(FIXP_DBL *pValue, UINT lsb) { in EvaluatePower43() argument
269 FDK_ASSERT(lsb < 4); in EvaluatePower43()
270 *pValue = fMultDiv2(invQVal, MantissaTable[lsb][exponent]); in EvaluatePower43()
273 return ExponentTable[lsb][exponent] + 1; in EvaluatePower43()
283 FDK_INLINE int GetScaleFromValue(FIXP_DBL value, unsigned int lsb) { in GetScaleFromValue() argument
285 int scale = EvaluatePower43(&value, lsb); in GetScaleFromValue()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java190 final int lsb = mant[lsd]; in round() local
204 n = (lsb * 10 / lsbthreshold) % 10; in round()
205 discarded |= lsb % (lsbthreshold/10); in round()
213 mant[lsd] = lsb / lsbthreshold * lsbthreshold; in round()
236 … (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 1); // round half-even in round()
242 … (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 0); // round half-odd in round()
/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/aac/libSBRdec/src/
Dpsdec.cpp553 const int scaleFactorHighBand, const int lsb, const int usb) { in ApplyPsSlot() argument
633 lsb - NO_QMF_BANDS_HYBRID20, scaleFactorLowBand); in ApplyPsSlot()
636 lsb - NO_QMF_BANDS_HYBRID20, scaleFactorLowBand); in ApplyPsSlot()
639 scaleValues(&hybridData[0][0][lsb + (NO_SUB_QMF_CHANNELS - 2 - in ApplyPsSlot()
641 &rIntBufferLeft[0][lsb], usb - lsb, scaleFactorHighBand); in ApplyPsSlot()
642 scaleValues(&hybridData[0][1][lsb + (NO_SUB_QMF_CHANNELS - 2 - in ApplyPsSlot()
644 &iIntBufferLeft[0][lsb], usb - lsb, scaleFactorHighBand); in ApplyPsSlot()
Dsbr_dec.cpp604 int lsb; in sbr_dec() local
613 lsb = hSbrDec->qmfDomainOutCh->fb.lsb; in sbr_dec()
614 length = (hSbrDec->qmfDomainInCh->fb.no_channels - lsb); in sbr_dec()
619 scaleValues(&pLowBandReal[i][lsb], length, rescale); in sbr_dec()
620 scaleValues(&pLowBandImag[i][lsb], length, rescale); in sbr_dec()
624 scaleValues(&pLowBandReal[i][lsb], length, rescale); in sbr_dec()
631 int length = hSbrDec->qmfDomainInCh->fb.lsb; in sbr_dec()
757 synQmfRight->lsb = synQmf->lsb; in sbr_dec()
815 scaleFactorHighBand, synQmf->lsb, synQmf->usb); in sbr_dec()
1033 int old_lsb = hSbrDec->qmfDomainInCh->fb.lsb; in resetSbrDec()
[all …]
/external/u-boot/board/compulab/cm_t3517/
Dcm_t3517.c134 u32 lsb = __raw_readl(CONTROL_EFUSE_EMAC_LSB); in am3517_get_efuse_enetaddr() local
140 enetaddr[3] = (u8)((lsb >> 16) & 0xff); in am3517_get_efuse_enetaddr()
141 enetaddr[4] = (u8)((lsb >> 8) & 0xff); in am3517_get_efuse_enetaddr()
142 enetaddr[5] = (u8)(lsb & 0xff); in am3517_get_efuse_enetaddr()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_h_e_a.py80 advanceWidth, lsb = hmtxTable[name]
81 rsb = advanceWidth - lsb - boundsWidth
82 extent = lsb + boundsWidth
83 minLeftSideBearing = min(minLeftSideBearing, lsb)
/external/libmpeg2/common/
Dimpeg2_macros.h35 #define BITS(val,msb,lsb) (UWORD16)((((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1))) argument
/external/toybox/
DAndroid.bp76 "toys/lsb/dmesg.c",
77 "toys/lsb/hostname.c",
78 "toys/lsb/killall.c",
79 "toys/lsb/md5sum.c",
80 "toys/lsb/mknod.c",
81 "toys/lsb/mktemp.c",
82 "toys/lsb/mount.c",
83 "toys/lsb/pidof.c",
84 "toys/lsb/seq.c",
85 "toys/lsb/sync.c",
[all …]
/external/u-boot/drivers/power/pmic/
Drk8xx.c79 uint8_t msb, lsb; in rk8xx_probe() local
83 rk8xx_read(dev, ID_LSB, &lsb, 1); in rk8xx_probe()
85 priv->variant = ((msb << 8) | lsb) & RK8XX_ID_MSK; in rk8xx_probe()
/external/aac/libFDK/include/
Dqmf.h189 int lsb; /*!< Top of low subbands */ member
242 int lsb, /*!< Number of lower bands */
268 int lsb, /*!< Number of lower bands */
/external/llvm/test/CodeGen/Hexagon/
Dstore-widen-negv.ll7 %lsb = getelementptr inbounds [4 x i8], [4 x i8]* %ptr, i32 0, i32 2
9 store i8 -120, i8* %lsb, align 2
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DUUIDConverter.java29 long lsb = uuid.getLeastSignificantBits(); in convert() local
36 buffer[i] = (byte) (lsb >>> 8 * (7 - i)); in convert()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dstore-widen-negv.ll7 %lsb = getelementptr inbounds [4 x i8], [4 x i8]* %ptr, i32 0, i32 2
9 store i8 -120, i8* %lsb, align 2
/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);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dbitfield-insert-0.ll3 ; The encoding of lsb -> immr in the CGed bitfield instructions was wrong at one
4 ; point, in the edge case where lsb = 0. Just make sure.
/external/llvm/test/CodeGen/AArch64/
Dbitfield-insert-0.ll3 ; The encoding of lsb -> immr in the CGed bitfield instructions was wrong at one
4 ; point, in the edge case where lsb = 0. Just make sure.

123456789