/external/zstd/lib/common/ |
D | bitstream.h | 60 unsigned bitPos; member 192 bitC->bitPos = 0; in BIT_initCStream() 208 assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_addBits() 209 bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; in BIT_addBits() 210 bitC->bitPos += nbBits; in BIT_addBits() 220 assert(nbBits + bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_addBitsFast() 221 bitC->bitContainer |= value << bitC->bitPos; in BIT_addBitsFast() 222 bitC->bitPos += nbBits; in BIT_addBitsFast() 230 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBitsFast() 231 assert(bitC->bitPos < sizeof(bitC->bitContainer) * 8); in BIT_flushBitsFast() [all …]
|
/external/xz-java/src/org/tukaani/xz/simple/ |
D | IA64.java | 36 for (int slot = 0, bitPos = 5; slot < 3; ++slot, bitPos += 41) { in code() 40 int bytePos = bitPos >>> 3; in code() 41 int bitRes = bitPos & 7; in code()
|
/external/llvm-project/mlir/lib/IR/ |
D | BuiltinAttributes.cpp | 527 static void setBit(char *rawData, size_t bitPos, bool value) { in setBit() argument 529 rawData[bitPos / CHAR_BIT] |= (1 << (bitPos % CHAR_BIT)); in setBit() 531 rawData[bitPos / CHAR_BIT] &= ~(1 << (bitPos % CHAR_BIT)); in setBit() 535 static bool getBit(const char *rawData, size_t bitPos) { in getBit() argument 536 return (rawData[bitPos / CHAR_BIT] & (1 << (bitPos % CHAR_BIT))) != 0; in getBit() 606 static void writeBits(char *rawData, size_t bitPos, APInt value) { in writeBits() argument 611 return setBit(rawData, bitPos, value.isOneValue()); in writeBits() 614 assert((bitPos % CHAR_BIT) == 0 && "expected bitPos to be 8-bit aligned"); in writeBits() 623 rawData + (bitPos / CHAR_BIT)); in writeBits() 627 rawData + (bitPos / CHAR_BIT)); in writeBits() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_target.cpp | 424 relocInfo->entry[n].bitPos = s; in addReloc() 466 value = (bitPos < 0) ? (value >> -bitPos) : (value << bitPos); in apply()
|
D | nv50_ir_target.h | 44 int8_t bitPos; member
|
D | nv50_ir_print.cpp | 898 …y[i].data, reloc->entry[i].mask, reloc->entry[i].offset, reloc->entry[i].bitPos, reloc->entry[i].t… in nv50_ir_prog_info_out_print()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 114 int32_t bitPos; in XformMskToBitPosU5Imm() local 115 bitPos = Log2_32(Imm); in XformMskToBitPosU5Imm() 116 assert(bitPos >= 0 && bitPos < 32 && in XformMskToBitPosU5Imm() 118 return CurDAG->getTargetConstant(bitPos, DL, MVT::i32); in XformMskToBitPosU5Imm()
|
/external/aac/libSBRenc/src/ |
D | bit_sbr.cpp | 239 INT bitPos = FDKgetValidBits(&cmonData->sbrBitbuf); in FDKsbrEnc_CountSbrChannelPairElement() local 246 (FDKgetValidBits(&cmonData->sbrBitbuf) - bitPos)); in FDKsbrEnc_CountSbrChannelPairElement()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 2368 unsigned bitPos = partsCount * integerPartWidth; in convertFromHexadecimalString() local 2394 if (bitPos) { in convertFromHexadecimalString() 2395 bitPos -= 4; in convertFromHexadecimalString() 2396 hex_value <<= bitPos % integerPartWidth; in convertFromHexadecimalString() 2397 significand[bitPos / integerPartWidth] |= hex_value; in convertFromHexadecimalString()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APFloat.cpp | 2334 unsigned bitPos = partsCount * integerPartWidth; in convertFromHexadecimalString() local 2364 if (bitPos) { in convertFromHexadecimalString() 2365 bitPos -= 4; in convertFromHexadecimalString() 2366 hex_value <<= bitPos % integerPartWidth; in convertFromHexadecimalString() 2367 significand[bitPos / integerPartWidth] |= hex_value; in convertFromHexadecimalString()
|
/external/llvm-project/llvm/lib/Support/ |
D | APFloat.cpp | 2517 unsigned bitPos = partsCount * integerPartWidth; in convertFromHexadecimalString() local 2547 if (bitPos) { in convertFromHexadecimalString() 2548 bitPos -= 4; in convertFromHexadecimalString() 2549 hex_value <<= bitPos % integerPartWidth; in convertFromHexadecimalString() 2550 significand[bitPos / integerPartWidth] |= hex_value; in convertFromHexadecimalString()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1384 const unsigned bitPos = halfBitWidth - i - 1; in LowerUDIVREM64() local 1385 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64() 1396 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
|
/external/zstd/lib/legacy/ |
D | zstd_v01.c | 63 int bitPos; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1820 const unsigned bitPos = halfBitWidth - i - 1; in LowerUDIVREM64() local 1821 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64() 1832 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1949 const unsigned bitPos = halfBitWidth - i - 1; in LowerUDIVREM64() local 1950 SDValue POS = DAG.getConstant(bitPos, DL, HalfVT); in LowerUDIVREM64() 1961 SDValue BIT = DAG.getConstant(1ULL << bitPos, DL, HalfVT); in LowerUDIVREM64()
|