Home
last modified time | relevance | path

Searched refs:bitPos (Results 1 – 15 of 15) sorted by relevance

/external/zstd/lib/common/
Dbitstream.h60 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/
DIA64.java36 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/
DBuiltinAttributes.cpp527 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/
Dnv50_ir_target.cpp424 relocInfo->entry[n].bitPos = s; in addReloc()
466 value = (bitPos < 0) ? (value >> -bitPos) : (value << bitPos); in apply()
Dnv50_ir_target.h44 int8_t bitPos; member
Dnv50_ir_print.cpp898 …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/
DHexagonISelDAGToDAG.cpp114 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/
Dbit_sbr.cpp239 INT bitPos = FDKgetValidBits(&cmonData->sbrBitbuf); in FDKsbrEnc_CountSbrChannelPairElement() local
246 (FDKgetValidBits(&cmonData->sbrBitbuf) - bitPos)); in FDKsbrEnc_CountSbrChannelPairElement()
/external/llvm/lib/Support/
DAPFloat.cpp2368 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/
DAPFloat.cpp2334 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/
DAPFloat.cpp2517 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/
DAMDGPUISelLowering.cpp1384 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/
Dzstd_v01.c63 int bitPos; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1820 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/
DAMDGPUISelLowering.cpp1949 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()