Home
last modified time | relevance | path

Searched refs:getBit (Results 1 – 16 of 16) sorted by relevance

/external/deqp/framework/common/
DtcuCompressedTexture.cpp341 static inline deUint32 getBit (deUint64 src, int bit) in getBit() function
405 const int diffBit = (int)getBit(src, 33); in decompressETC1Block()
406 const int flipBit = (int)getBit(src, 32); in decompressETC1Block()
462 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC1Block()
485 const int diffOpaqueBit = (int)getBit(src, 33); in decompressETC2Block()
521 const int flipBit = (int)getBit(src, 32); in decompressETC2Block()
557 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC2Block()
606 const deUint32 distNdx = (getBits(src, 34, 35) << 1) | getBit(src, 32); in decompressETC2Block()
627 const deUint8 G1b = (deUint8)getBit(src, 52); in decompressETC2Block()
628 const deUint8 B1a = (deUint8)getBit(src, 51); in decompressETC2Block()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cc84 EXPECT_FALSE(bv.getBit(4)); in TestBitVector()
85 EXPECT_FALSE(bv.getBit(6)); in TestBitVector()
86 EXPECT_TRUE(bv.getBit(5)); in TestBitVector()
88 EXPECT_FALSE(bv.getBit(5)); in TestBitVector()
95 EXPECT_EQ(bv.getBit(bit), s.count(bit) == 1); in TestBitVector()
106 EXPECT_EQ(bv.getBit(bit), s.count(bit) == 1); in TestBitVector()
Dsanitizer_bvgraph_test.cc100 EXPECT_TRUE(target.getBit(path[len - 1])); in BasicTest()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bitvector.h47 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit() function
149 if (!l1_[i0].getBit(i1)) { in setBit()
165 if (l1_[i0].getBit(i1)) { in clearBit()
173 bool getBit(uptr idx) const { in getBit() function
179 return l1_[i0].getBit(i1) && l2_[i0][i1].getBit(i2); in getBit()
262 if (!v.l1_[i0].getBit(i1)) continue; in intersectsWith()
Dsanitizer_bvgraph.h69 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge()
106 return v[from].getBit(to); in hasEdge()
132 if (targets.getBit(from)) in findPath()
Dsanitizer_deadlock_detector.h160 if (recycled_nodes_.getBit(edges_[i].from) || in newNode()
161 recycled_nodes_.getBit(edges_[i].to)) { in newNode()
190 CHECK(!available_nodes_.getBit(idx)); in removeNode()
316 CHECK(!tmp_bv_.getBit(idx)); in findPathToLock()
345 return dtls->getLocks(current_epoch_).getBit(nodeToIndex(node)); in isHeld()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp58 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit()
62 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit()
273 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DCodeGenTarget.cpp361 Init *OrigBit = BI->getBit(bit); in reverseBitsForLittleEndianEncoding()
362 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBitsForLittleEndianEncoding()
368 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
DFixedLenDecoderEmitter.cpp144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1780 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1784 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1802 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1806 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1952 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1956 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
DInstrInfoEmitter.cpp514 if (BitInit *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
DX86RecognizableInstr.cpp154 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit()
DRegisterInfoEmitter.cpp919 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b))) in runMCDesc()
/external/llvm/include/llvm/TableGen/
DRecord.h543 virtual Init *getBit(unsigned Bit) const = 0;
613 Init *getBit(unsigned Bit) const override { in getBit() function
643 Init *getBit(unsigned Bit) const override { in getBit() function
681 if (!getBit(i)->isComplete()) return false; in isComplete()
686 if (getBit(i)->isComplete()) return false; in allInComplete()
693 Init *getBit(unsigned Bit) const override { in getBit() function
734 Init *getBit(unsigned Bit) const override { in getBit() function
774 Init *getBit(unsigned Bit) const override { in getBit() function
841 Init *getBit(unsigned Bit) const override { in getBit() function
877 Init *getBit(unsigned Bit) const override;
[all …]
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp107 static inline deUint32 getBit (deUint32 src, int ndx) in getBit() function
548 const deUint32 a0 = getBit(a, 0); in writeBlockMode()
549 const deUint32 a1 = getBit(a, 1); in writeBlockMode()
550 const deUint32 b0 = getBit(b, 0); in writeBlockMode()
551 const deUint32 b1 = getBit(b, 1); in writeBlockMode()
552 const deUint32 r0 = getBit(r, 0); in writeBlockMode()
553 const deUint32 r1 = getBit(r, 1); in writeBlockMode()
554 const deUint32 r2 = getBit(r, 2); in writeBlockMode()
611 dst.setBit(lowMBit0Ndx < 4 ? 25+lowMBit0Ndx : extraCemBitsStart+lowMBit0Ndx-4, getBit(m, 0)); in writeColorEndpointModes()
612 dst.setBit(lowMBit1Ndx < 4 ? 25+lowMBit1Ndx : extraCemBitsStart+lowMBit1Ndx-4, getBit(m, 1)); in writeColorEndpointModes()
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp105 return BI->getBit(0); in convertValue()
219 if (BitInit *Bit = dyn_cast<BitInit>(BI->getBit(i))) { in convertValue()
486 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
495 if (Init *Bit = getBit(e-i-1)) in getAsString()
531 Init *Bit = CachedInit->getBit(CurBit->getBitNum()); in resolveReferences()
549 Init *Bit = CurBitVar->getBit(CurBit->getBitNum()); in resolveReferences()
734 Init *OpInit::getBit(unsigned Bit) const { in getBit() function in OpInit
1326 Init *VarInit::getBit(unsigned Bit) const { in getBit() function in VarInit
1414 return I->getBit(getBitNum()); in resolveReferences()
1445 Init *VarListElementInit::getBit(unsigned Bit) const { in getBit() function in VarListElementInit
[all …]
DTGParser.cpp128 NewBits[Bit] = BInit->getBit(i); in SetValue()
133 NewBits[i] = CurVal->getBit(i); in SetValue()