/external/llvm/include/llvm/ADT/ |
D | APInt.h | 108 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 109 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 116 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 117 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 126 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 127 return 1ULL << whichBit(bitPosition); in maskBit() 156 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 157 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; in getWord() 967 bool operator[](unsigned bitPosition) const { 968 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 112 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 113 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 120 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 121 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 130 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 131 return 1ULL << whichBit(bitPosition); in maskBit() 160 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 161 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; in getWord() 943 bool operator[](unsigned bitPosition) const { 944 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 119 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 120 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 127 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 128 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 137 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 138 return 1ULL << whichBit(bitPosition); in maskBit() 162 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 163 return isSingleWord() ? U.VAL : U.pVal[whichWord(bitPosition)]; in getWord() 1110 bool operator[](unsigned bitPosition) const { 1111 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 105 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 106 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 112 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 113 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 121 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 122 return 1ULL << whichBit(bitPosition); in maskBit() 150 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 151 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; in getWord() 838 bool operator[](unsigned bitPosition) const; 1077 void setBit(unsigned bitPosition); [all …]
|
/external/mesa3d/src/amd/addrlib/ |
D | addrinterface.h | 732 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 765 UINT_32 bitPosition; ///< Bit position in addr. 0-7. for surface bpp < 8, member 980 UINT_32 bitPosition; ///< Bit position, 0 or 4. CMASK and HTILE shares some lib method. member 1012 UINT_32 bitPosition; ///< Bit position 0 or 4. CMASK and HTILE share some methods member 1193 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1225 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1414 UINT_32 bitPosition; ///< Bit position within fmaskAddr, 0-7. member 1445 UINT_32 bitPosition; ///< Bit position within addr, 0-7. member 2562 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 2595 UINT_32 bitPosition; ///< Bit position in addr. 0-7. for surface bpp < 8, member [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 338 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument 339 assert(bitPosition < BitWidth && "Out of the bit-width range!"); in flipBit() 340 if ((*this)[bitPosition]) clearBit(bitPosition); in flipBit() 341 else setBit(bitPosition); in flipBit() 344 void APInt::insertBits(const APInt &subBits, unsigned bitPosition) { in insertBits() argument 346 assert(0 < subBitWidth && (subBitWidth + bitPosition) <= BitWidth && in insertBits() 358 U.VAL &= ~(mask << bitPosition); in insertBits() 359 U.VAL |= (subBits.U.VAL << bitPosition); in insertBits() 363 unsigned loBit = whichBit(bitPosition); in insertBits() 364 unsigned loWord = whichWord(bitPosition); in insertBits() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | APInt.cpp | 496 bool APInt::operator[](unsigned bitPosition) const { in operator []() 497 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); in operator []() 498 return (maskBit(bitPosition) & in operator []() 499 (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) != 0; in operator []() 598 void APInt::setBit(unsigned bitPosition) { in setBit() argument 600 VAL |= maskBit(bitPosition); in setBit() 602 pVal[whichWord(bitPosition)] |= maskBit(bitPosition); in setBit() 607 void APInt::clearBit(unsigned bitPosition) { in clearBit() argument 609 VAL &= ~maskBit(bitPosition); in clearBit() 611 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition); in clearBit() [all …]
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrlib1.h | 341 UINT_32* bitPosition) const; 344 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 397 UINT_64 addr, UINT_32 bitPosition, UINT_32 bpp, 402 UINT_64 addr, UINT_32 bitPosition,
|
D | addrlib1.cpp | 1521 &pOut->bitPosition); in ComputeHtileAddrFromCoord() 1580 pIn->bitPosition, in ComputeHtileCoordFromAddr() 1661 &pOut->bitPosition); in ComputeCmaskAddrFromCoord() 1717 pIn->bitPosition, in ComputeCmaskCoordFromAddr() 2167 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 2290 bitAddr = BYTES_TO_BITS(addr) + bitPosition; in HwlComputeXmaskCoordFromAddr() 2599 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrLinear() argument 2611 const UINT_64 linearOffset = (BYTES_TO_BITS(addr) + bitPosition) / bpp; in ComputeSurfaceCoordFromAddrLinear() 2632 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrMicroTiled() argument 2665 bitAddr = BYTES_TO_BITS(addr) + bitPosition; in ComputeSurfaceCoordFromAddrMicroTiled()
|
D | addrlib2.cpp | 398 (pIn->bitPosition >= 8)) in ComputeSurfaceCoordFromAddr() 1128 pOut->bitPosition = 0; in ComputeSurfaceAddrFromCoordLinear()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BitSet.cs | 168 int bitPosition = bitNumber & MOD_MASK; // bitNumber mod BITS in BitMask() 169 return 1UL << bitPosition; in BitMask()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BitSet.cs | 190 int bitPosition = bitNumber & MOD_MASK; // bitNumber mod BITS in BitMask() 191 return 1UL << bitPosition; in BitMask()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | BitSet.java | 162 int bitPosition = bitNumber & MOD_MASK; // bitNumber mod BITS in bitMask() local 163 return 1L << bitPosition; in bitMask()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/ |
D | test_fec.cc | 191 const uint32_t bitPosition = (7 - j % 8); in TEST() local 193 (byteMask & (1 << bitPosition)) >> bitPosition; in TEST()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 575 void APInt::setBit(unsigned bitPosition) { in setBit() argument 577 VAL |= maskBit(bitPosition); in setBit() 579 pVal[whichWord(bitPosition)] |= maskBit(bitPosition); in setBit() 584 void APInt::clearBit(unsigned bitPosition) { in clearBit() argument 586 VAL &= ~maskBit(bitPosition); in clearBit() 588 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition); in clearBit() 596 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument 597 assert(bitPosition < BitWidth && "Out of the bit-width range!"); in flipBit() 598 if ((*this)[bitPosition]) clearBit(bitPosition); in flipBit() 599 else setBit(bitPosition); in flipBit()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 553 void APInt::setBit(unsigned bitPosition) { in setBit() argument 555 VAL |= maskBit(bitPosition); in setBit() 557 pVal[whichWord(bitPosition)] |= maskBit(bitPosition); in setBit() 562 void APInt::clearBit(unsigned bitPosition) { in clearBit() argument 564 VAL &= ~maskBit(bitPosition); in clearBit() 566 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition); in clearBit() 574 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument 575 assert(bitPosition < BitWidth && "Out of the bit-width range!"); in flipBit() 576 if ((*this)[bitPosition]) clearBit(bitPosition); in flipBit() 577 else setBit(bitPosition); in flipBit()
|
/external/mesa3d/src/amd/addrlib/r800/ |
D | egbaddrlib.h | 369 UINT_64 addr, UINT_32 bitPosition, 393 UINT_64 addr, UINT_32 bitPosition, 399 UINT_64 addr, UINT_32 bitPosition,
|
D | egbaddrlib.cpp | 1331 UINT_32* pBitPosition = &pOut->bitPosition; in DispatchComputeSurfaceAddrFromCoord() 2177 UINT_32 bitPosition = pIn->bitPosition; in DispatchComputeSurfaceCoordFromAddr() local 2226 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2239 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2281 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2318 UINT_32 bitPosition, ///< [in] bit position in ComputeSurfaceCoordFromAddrMacroTiled() argument 2359 UINT_64 addrBits = BYTES_TO_BITS(addr) + bitPosition; in ComputeSurfaceCoordFromAddrMacroTiled() 3940 if ((pIn->bitPosition >= 8) || in HwlComputeSurfaceCoordFromAddr()
|
D | siaddrlib.h | 129 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
|
D | ciaddrlib.cpp | 316 pOut->bitPosition = (metaNibbleAddress % 2) ? 4 : 0; in HwlComputeCmaskAddrFromCoord() 360 pOut->bitPosition = 0; in HwlComputeHtileAddrFromCoord()
|
D | siaddrlib.cpp | 1418 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 1501 tileIndex = (UINT_32)(localOffset * 2 + (bitPosition != 0)); in HwlComputeXmaskCoordFromAddr()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/ |
D | BitSet.js | 66 var bitPosition = bitNumber & org.antlr.runtime.BitSet.MOD_MASK; 67 return 1 << bitPosition;
|
/external/antlr/tool/src/main/java/org/antlr/misc/ |
D | BitSet.java | 165 int bitPosition = bitNumber & MOD_MASK; // bitNumber mod BITS in bitMask() local 166 return 1L << bitPosition; in bitMask()
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | BitSet.as | 120 var bitPosition:int = bitNumber & MOD_MASK; // bitNumber mod BITS 121 return 1 << bitPosition;
|
/external/python/pyasn1/pyasn1/type/ |
D | univ.py | 681 for bitPosition in bitPositions: 682 number |= 1 << (rightmostPosition - bitPosition)
|