Home
last modified time | relevance | path

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

12

/external/deqp/framework/common/
DtcuCompressedTexture.cpp323 inline deUint32 getBit (deUint64 src, int bit) in getBit() function
390 const int diffBit = (int)getBit(src, 33); in decompressETC1Block()
391 const int flipBit = (int)getBit(src, 32); in decompressETC1Block()
447 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC1Block()
470 const int diffOpaqueBit = (int)getBit(src, 33); in decompressETC2Block()
506 const int flipBit = (int)getBit(src, 32); in decompressETC2Block()
542 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC2Block()
591 const deUint32 distNdx = (getBits(src, 34, 35) << 1) | getBit(src, 32); in decompressETC2Block()
612 const deUint8 G1b = (deUint8)getBit(src, 52); in decompressETC2Block()
613 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.h163 if (recycled_nodes_.getBit(edges_[i].from) || in newNode()
164 recycled_nodes_.getBit(edges_[i].to)) { in newNode()
194 CHECK(!available_nodes_.getBit(idx)); in removeNode()
320 CHECK(!tmp_bv_.getBit(idx)); in findPathToLock()
349 return dtls->getLocks(current_epoch_).getBit(nodeToIndex(node)); in isHeld()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp50 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit()
54 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit()
259 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DCodeGenTarget.cpp354 Init *OrigBit = BI->getBit(bit); in reverseBitsForLittleEndianEncoding()
355 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBitsForLittleEndianEncoding()
361 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
DFixedLenDecoderEmitter.cpp144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1745 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1749 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1767 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1771 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1917 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1921 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
DInstrInfoEmitter.cpp520 if (BitInit *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord()
DX86RecognizableInstr.cpp171 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit()
/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
682 if (!getBit(i)->isComplete()) return false; in isComplete()
687 if (getBit(i)->isComplete()) return false; in allInComplete()
702 Init *getBit(unsigned Bit) const override { in getBit() function
743 Init *getBit(unsigned Bit) const override { in getBit() function
783 Init *getBit(unsigned Bit) const override { in getBit() function
850 Init *getBit(unsigned Bit) const override { in getBit() function
886 Init *getBit(unsigned Bit) const override;
[all …]
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp108 static inline deUint32 getBit (deUint32 src, int ndx) in getBit() function
549 const deUint32 a0 = getBit(a, 0); in writeBlockMode()
550 const deUint32 a1 = getBit(a, 1); in writeBlockMode()
551 const deUint32 b0 = getBit(b, 0); in writeBlockMode()
552 const deUint32 b1 = getBit(b, 1); in writeBlockMode()
553 const deUint32 r0 = getBit(r, 0); in writeBlockMode()
554 const deUint32 r1 = getBit(r, 1); in writeBlockMode()
555 const deUint32 r2 = getBit(r, 2); in writeBlockMode()
612 dst.setBit(lowMBit0Ndx < 4 ? 25+lowMBit0Ndx : extraCemBitsStart+lowMBit0Ndx-4, getBit(m, 0)); in writeColorEndpointModes()
613 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()
232 if (BitInit *Bit = dyn_cast<BitInit>(BI->getBit(i))) { in convertValue()
499 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
508 if (Init *Bit = getBit(e-i-1)) in getAsString()
544 Init *Bit = CachedInit->getBit(CurBit->getBitNum()); in resolveReferences()
562 Init *Bit = CurBitVar->getBit(CurBit->getBitNum()); in resolveReferences()
747 Init *OpInit::getBit(unsigned Bit) const { in getBit() function in OpInit
1344 Init *VarInit::getBit(unsigned Bit) const { in getBit() function in VarInit
1432 return I->getBit(getBitNum()); in resolveReferences()
1463 Init *VarListElementInit::getBit(unsigned Bit) const { in getBit() function in VarListElementInit
[all …]
DTGParser.cpp129 NewBits[Bit] = BInit->getBit(i); in SetValue()
134 NewBits[i] = CurVal->getBit(i); in SetValue()
1312 NewBits.push_back(BI->getBit((e - i) - 1)); in ParseSimpleValue()
1319 NewBits.push_back(VI->getBit((e - i) - 1)); in ParseSimpleValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP521R1FieldElement.java48 return Nat.getBit(x, 0) == 1; in testBitZero()
DSecP192R1FieldElement.java48 return Nat192.getBit(x, 0) == 1; in testBitZero()
DSecP256R1FieldElement.java48 return Nat256.getBit(x, 0) == 1; in testBitZero()
DSecP384R1FieldElement.java48 return Nat.getBit(x, 0) == 1; in testBitZero()
DSecP256K1FieldElement.java48 return Nat256.getBit(x, 0) == 1; in testBitZero()
DSecP192K1FieldElement.java48 return Nat192.getBit(x, 0) == 1; in testBitZero()
DSecP224K1FieldElement.java52 return Nat224.getBit(x, 0) == 1; in testBitZero()
DSecP224R1FieldElement.java49 return Nat224.getBit(x, 0) == 1; in testBitZero()
/external/pdfium/third_party/bigint/
DBigUnsigned.hh111 bool getBit(Index bi) const { in getBit() function in BigUnsigned
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/
DNat.java303 public static int getBit(int[] x, int bit) in getBit() method in Nat

12