Searched defs:bitPosition (Results 1 - 4 of 4) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DAPInt.h108 static unsigned whichWord(unsigned bitPosition) { argument
109 return bitPosition / APINT_BITS_PER_WORD;
116 static unsigned whichBit(unsigned bitPosition) { argument
117 return bitPosition % APINT_BITS_PER_WORD;
122 /// \returns a uint64_t with only bit at "whichBit(bitPosition)" set
126 static uint64_t maskBit(unsigned bitPosition) { argument
127 return 1ULL << whichBit(bitPosition);
156 uint64_t getWord(unsigned bitPosition) const {
157 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)];
961 /// \returns the bit value at bitPosition
[all...]
/external/llvm/lib/Support/
H A DAPInt.cpp588 void APInt::setBit(unsigned bitPosition) { argument
590 VAL |= maskBit(bitPosition);
592 pVal[whichWord(bitPosition)] |= maskBit(bitPosition);
595 /// Set the given bit to 0 whose position is given as "bitPosition".
597 void APInt::clearBit(unsigned bitPosition) { argument
599 VAL &= ~maskBit(bitPosition);
601 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition);
607 /// as "bitPosition"
609 flipBit(unsigned bitPosition) argument
[all...]
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
H A Dtest_fec.cc191 const uint32_t bitPosition = (7 - j % 8); local
193 (byteMask & (1 << bitPosition)) >> bitPosition;
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 160 milliseconds