Searched refs:startBit (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/contrib/llvm/include/llvm/Support/
H A DEndian.h87 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) { argument
88 assert(startBit < 8);
89 if (startBit == 0)
102 make_unsigned_t<value_type> lowerVal = val[0] >> startBit;
105 (sizeof(value_type) * 8) - startBit;
110 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1);
122 uint64_t startBit) {
123 assert(startBit < 8);
124 if (startBit == 0)
138 val[0] &= ((make_unsigned_t<value_type>)1 << startBit)
[all...]
/freebsd-11.0-release/usr.sbin/ppp/
H A Dchap_ms.c80 Get7Bits(u_char *input, int startBit) argument
84 word = (unsigned)input[startBit / 8] << 8;
85 word |= (unsigned)input[startBit / 8 + 1];
87 word >>= 15 - (startBit % 8 + 7);
/freebsd-11.0-release/contrib/llvm/utils/TableGen/
H A 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, argument
500 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) {
1402 void FilterChooser::runSingleFilter(unsigned startBit, unsigned numBit,
1405 Filters.emplace_back(*this, startBit, numBit, true);
2061 << "static InsnType fieldFromInstruction(InsnType insn, unsigned startBit,\n"
2063 << " assert(startBit + numBits <= (sizeof(InsnType)*8) &&\n"
2069 << " fieldMask = (((InsnType)1 << numBits) - 1) << startBit;\n"
2070 << " return (insn & fieldMask) >> startBit;\
[all...]

Completed in 66 milliseconds