/hardware/bsp/intel/peripheral/libupm/src/max31723/ |
max31723.cxx | 55 uint8_t msb = 0; local 59 msb = readRegister (R_TEMPERATURE_MSB); 61 if ((msb & 0x80) != 0) { 62 msb &= 0x7F; 63 temperature = 0 - msb; 66 temperature = msb;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
UUIDConverter.java | 28 long msb = uuid.getMostSignificantBits(); local 33 buffer[i] = (byte) (msb >>> 8 * (7 - i));
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
order.s | 3 .msb 26 .msb
|
/frameworks/base/media/java/android/media/ |
MediaCrypto.java | 44 long msb = uuid.getMostSignificantBits(); local 49 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i)));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
SignedLongLong.java | 27 * is used, the MSB/LSB long values can be negative. 47 long lsb = 0, msb = 0; local 61 msb = BluetoothMapUtils.getLongFromString(msbStr); 64 return new SignedLongLong(lsb, msb);
|
Utils.java | 112 long msb, lsb; local 114 msb = uuid.getMostSignificantBits(); 116 converter.putLong(msb); 126 long msb, lsb; local 129 msb = uuid.getMostSignificantBits(); 131 converter.putLong(i * BD_UUID_LEN, msb);
|
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/ |
maxds3231m.cxx | 79 uint8_t msb = 0; local 83 msb = buffer[0]; 86 if ((msb & 0x80) != 0) 87 msb |= ~((1 << 8) - 1); // if negative get two's complement 89 return 0.25 * lsb + msb;
|
/external/libvpx/libvpx/test/ |
vp9_error_block_test.cc | 70 const int msb = bit_depth_ + 8 - 1; local 79 coeff[j] = rnd(1 << msb); 80 dqcoeff[j] = rnd(1 << msb); 83 coeff[j] = -rnd(1 << msb); 84 dqcoeff[j] = -rnd(1 << msb); 113 const int msb = bit_depth_ + 8 - 1; local 114 int max_val = ((1 << msb) - 1);
|
/external/vixl/src/vixl/ |
utils.h | 86 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) { 87 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1); 90 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) { 91 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); 94 inline int32_t signed_bitextract_32(int msb, int lsb, int32_t x) { 95 return (x << (31 - msb)) >> (lsb + 31 - msb); 98 inline int64_t signed_bitextract_64(int msb, int lsb, int64_t x) { 99 return (x << (63 - msb)) >> (lsb + 63 - msb); [all...] |
/external/libmpeg2/common/ |
impeg2_macros.h | 35 #define BITS(val,msb,lsb) (UWORD16)((((val) >> (lsb)) & ((1 << ((msb) - (lsb) + 1)) - 1)))
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_integer.hpp | 78 /// The 32 most-significant bits are returned in msb. 88 genUType & msb, 93 /// The 32 most-significant bits are returned in msb. 103 genIType & msb,
|
/external/tcpdump/ |
parsenfsfh.c | 87 #define make_uint32(msb,b,c,lsb)\ 88 (XFF(lsb) + (XFF(c)<<8) + (XFF(b)<<16) + (XFF(msb)<<24)) 90 #define make_uint24(msb,b, lsb)\ 91 (XFF(lsb) + (XFF(b)<<8) + (XFF(msb)<<16)) 93 #define make_uint16(msb,lsb)\ 94 (XFF(lsb) + (XFF(msb)<<8)) 98 #define make_uint48(msb,b,c,d,e,lsb)\ 99 ((lsb) + ((e)<<8) + ((d)<<16) + ((c)<<24) + ((b)<<32) + ((msb)<<40)) 102 #define make_uint48(msb,b,c,d,e,lsb)\
|
/libcore/ojluni/src/main/java/java/util/ |
UUID.java | 105 long msb = 0; local 109 msb = (msb << 8) | (data[i] & 0xff); 112 this.mostSigBits = msb;
|
/system/core/libpixelflinger/codeflinger/ |
Arm64Disassembler.cpp | 80 static int32_t bits_signed(uint32_t instr, uint32_t msb, uint32_t lsb) 83 value = ((int32_t)instr) << (31 - msb); 84 value >>= (31 - msb); 88 static uint32_t bits_unsigned(uint32_t instr, uint32_t msb, uint32_t lsb) 90 uint32_t width = msb - lsb + 1;
|
/external/pdfium/third_party/libopenjpeg20/ |
mqc.h | 114 @param msb The MSB of the new state of the context 117 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, OPJ_INT32 prob);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothUuid.java | 255 long msb = buf.getLong(8); local 257 return new ParcelUuid(new UUID(msb, lsb)); 272 long msb = BASE_UUID.getUuid().getMostSignificantBits() + (shortUuid << 32); local 274 return new ParcelUuid(new UUID(msb, lsb));
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r300_fragprog.c | 158 unsigned int msb = get_msb( local 165 & 31) | msb, 188 unsigned int msb = get_msb( local 194 | msb);
|
/external/v8/src/arm64/ |
instructions-arm64.h | 111 uint32_t Bits(int msb, int lsb) const { 112 return unsigned_bitextract_32(msb, lsb, InstructionBits()); 115 int32_t SignedBits(int msb, int lsb) const { 117 return signed_bitextract_32(msb, lsb, bits);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderUtils.java | 300 final int msb = dictBuffer.readUnsignedByte(); local 301 if (FormatSpec.MAX_PTNODES_FOR_ONE_BYTE_PTNODE_COUNT >= msb) { 302 return msb; 304 return ((FormatSpec.MAX_PTNODES_FOR_ONE_BYTE_PTNODE_COUNT & msb) << 8)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpDec.java | 167 int msb = mant[mant.length-1]; local 168 if (msb == 0) { 175 while (lsbthreshold > msb) {
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.c | 283 LLVMValueRef msb; local 293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), ""); 297 msb = lp_build_zero(gallivm, src_type); 301 *dst_lo = lp_build_interleave2(gallivm, src_type, src, msb, 0); 302 *dst_hi = lp_build_interleave2(gallivm, src_type, src, msb, 1); 304 *dst_lo = lp_build_interleave2(gallivm, src_type, msb, src, 0); 305 *dst_hi = lp_build_interleave2(gallivm, src_type, msb, src, 1); 365 * (LSB) (MSB)
|
/external/valgrind/VEX/priv/ |
guest_s390_helpers.c | 1607 Int msb = 0; local 2141 UInt msb; local [all...] |
/external/aac/libAACdec/src/ |
stereo.cpp | 258 int msb = bandScale >> 2 ; local 261 /* exponent of MantissaTable[lsb][0] is 1, thus msb+1 below. */ 271 rightScale[band] = leftScale[band]+msb+1;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterName.java | 27 * even or odd, the MSB or LSB of the result char at the halved index is 333 int msb = getCodepointMSB(codepoint); local 340 if (msb < getGroupMSB(gindex)) { 390 * Gets the MSB from the group index 392 * @return the MSB of the group if gindex is valid, -1 otherwise 403 * Gets the MSB of the codepoint 405 * @return the MSB of the codepoint 414 * @param msb most significant byte of the group 417 public static int getGroupLimit(int msb) 419 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_ 508 int msb = getCodepointMSB(ch); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterName.java | 26 * even or odd, the MSB or LSB of the result char at the halved index is 332 int msb = getCodepointMSB(codepoint); local 339 if (msb < getGroupMSB(gindex)) { 389 * Gets the MSB from the group index 391 * @return the MSB of the group if gindex is valid, -1 otherwise 402 * Gets the MSB of the codepoint 404 * @return the MSB of the codepoint 413 * @param msb most significant byte of the group 416 public static int getGroupLimit(int msb) 418 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_ 507 int msb = getCodepointMSB(ch); local [all...] |