Home
last modified time | relevance | path

Searched refs:startBit (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/Support/
DEndian.h87 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) { in readAtBitAlignment() argument
88 assert(startBit < 8); in readAtBitAlignment()
89 if (startBit == 0) in readAtBitAlignment()
102 make_unsigned_t<value_type> lowerVal = val[0] >> startBit; in readAtBitAlignment()
105 (sizeof(value_type) * 8) - startBit; in readAtBitAlignment()
110 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1); in readAtBitAlignment()
122 uint64_t startBit) { in writeAtBitAlignment() argument
123 assert(startBit < 8); in writeAtBitAlignment()
124 if (startBit == 0) in writeAtBitAlignment()
138 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1; in writeAtBitAlignment()
[all …]
/external/ppp/pppd/
Dpppcrypt.c57 Get7Bits(input, startBit) in Get7Bits() argument
59 int startBit;
63 word = (unsigned)input[startBit / 8] << 8;
64 word |= (unsigned)input[startBit / 8 + 1];
66 word >>= 15 - (startBit % 8 + 7);
/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp766 int startBit, // The bit from which we're going to do the reading in decode_integer_sequence() argument
782 startBit = 128 - startBit; in decode_integer_sequence()
791 int endBlockBit = startBit + 8 + 5*nBits; in decode_integer_sequence()
798 decode_trit_block(trits, nBits, read_astc_bits(src, startBit, endBlockBit)); in decode_integer_sequence()
803 startBit = endBlockBit; in decode_integer_sequence()
808 int endBlockBit = startBit + 7 + 3*nBits; in decode_integer_sequence()
815 decode_quint_block(quints, nBits, read_astc_bits(src, startBit, endBlockBit)); in decode_integer_sequence()
820 startBit = endBlockBit; in decode_integer_sequence()
824 int endValBit = startBit + nBits; in decode_integer_sequence()
829 SkASSERT(endValBit - startBit < 31); in decode_integer_sequence()
[all …]
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp256 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
460 void runSingleFilter(unsigned startBit, unsigned numBit, bool mixed);
498 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, in Filter() argument
500 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { in Filter()
1402 void FilterChooser::runSingleFilter(unsigned startBit, unsigned numBit, in runSingleFilter() argument
1405 Filters.emplace_back(*this, startBit, numBit, true); in runSingleFilter()