Home
last modified time | relevance | path

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

123

/external/deqp/framework/common/
DtcuAstcUtil.cpp49 inline deUint32 getBit (deUint32 src, int ndx) in getBit() function
69 return getBit(src, ndx) != 0; in isBitSet()
215 deUint32 getBit (int ndx) const in getBit() function in tcu::astc::__anon8b756cce0111::Block128
249 return getBit(ndx) != 0; in isBitSet()
357 const deUint32 r0 = getBit(blockModeData, 4); in getASTCBlockMode()
358 const deUint32 r1 = getBit(blockModeData, 2); in getASTCBlockMode()
359 const deUint32 r2 = getBit(blockModeData, 3); in getASTCBlockMode()
384 const deUint32 r0 = getBit(blockModeData, 4); in getASTCBlockMode()
385 const deUint32 r1 = getBit(blockModeData, 0); in getASTCBlockMode()
386 const deUint32 r2 = getBit(blockModeData, 1); in getASTCBlockMode()
[all …]
DtcuCompressedTexture.cpp426 inline deUint32 getBit (deUint64 src, int bit) in getBit() function
475 const int diffBit = (int)getBit(src, 33); in decompressETC1Block()
476 const int flipBit = (int)getBit(src, 32); in decompressETC1Block()
532 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC1Block()
555 const int diffOpaqueBit = (int)getBit(src, 33); in decompressETC2Block()
591 const int flipBit = (int)getBit(src, 32); in decompressETC2Block()
627 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC2Block()
676 const deUint32 distNdx = (getBits(src, 34, 35) << 1) | getBit(src, 32); in decompressETC2Block()
697 const deUint8 G1b = (deUint8)getBit(src, 52); in decompressETC2Block()
698 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()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeEmitterGen.cpp49 Init *OrigBit = BI->getBit(bit); in reverseBits()
50 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBits()
56 NewBits[middle] = BI->getBit(middle); in reverseBits()
71 if (VarBitInit *VBI = dynamic_cast<VarBitInit*>(BI->getBit(bit))) { in getVariableBit()
75 } else if (VarInit *VI = dynamic_cast<VarInit*>(BI->getBit(bit))) { in getVariableBit()
250 if (BitInit *B = dynamic_cast<BitInit*>(BI->getBit(e-i-1))) in run()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h416 virtual Init *getBit(unsigned Bit) const = 0;
473 Init *getBit(unsigned Bit) const override { in getBit() function
502 Init *getBit(unsigned Bit) const override { in getBit() function
542 if (!getBit(i)->isComplete()) return false; in isComplete()
548 if (getBit(i)->isComplete()) return false; in allInComplete()
557 Init *getBit(unsigned Bit) const override { in getBit() function
588 Init *getBit(unsigned Bit) const override { in getBit() function
619 Init *getBit(unsigned Bit) const override { in getBit() function
652 Init *getBit(unsigned Bit) const override { in getBit() function
718 Init *getBit(unsigned Bit) const override { in getBit() function
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h366 virtual Init *getBit(unsigned Bit) const = 0;
441 Init *getBit(unsigned Bit) const override { in getBit() function
468 Init *getBit(unsigned Bit) const override { in getBit() function
508 if (!getBit(i)->isComplete()) return false; in isComplete()
513 if (getBit(i)->isComplete()) return false; in allInComplete()
528 Init *getBit(unsigned Bit) const override { in getBit() function
567 Init *getBit(unsigned Bit) const override { in getBit() function
605 Init *getBit(unsigned Bit) const override { in getBit() function
644 Init *getBit(unsigned Bit) const override { in getBit() function
713 Init *getBit(unsigned Bit) const override { in getBit() function
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86EVEX2VEXTablesEmitter.cpp77 if (BitInit *Bit1 = dyn_cast<BitInit>(B1->getBit(i))) { in equalBitsInits()
78 if (BitInit *Bit2 = dyn_cast<BitInit>(B2->getBit(i))) { in equalBitsInits()
93 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i))) in getValueFromBitsInit()
DCodeEmitterGen.cpp60 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit()
64 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit()
264 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DX86FoldTablesEmitter.cpp194 BitInit *Bit = cast<BitInit>(B->getBit(i)); in getValueFromBitsInit()
206 BitInit *Bit1 = cast<BitInit>(B1->getBit(i)); in equalBitsInits()
207 BitInit *Bit2 = cast<BitInit>(B2->getBit(i)); in equalBitsInits()
DFixedLenDecoderEmitter.cpp158 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1829 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1833 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1851 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1855 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1993 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1997 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
DCodeGenTarget.cpp425 Init *OrigBit = BI->getBit(bit); in reverseBitsForLittleEndianEncoding()
426 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBitsForLittleEndianEncoding()
432 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp49 if (VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(bit))) { in getVariableBit()
53 } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) { in getVariableBit()
254 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(e-i-1))) in run()
DCodeGenTarget.cpp360 Init *OrigBit = BI->getBit(bit); in reverseBitsForLittleEndianEncoding()
361 Init *BitSwap = BI->getBit(bitSwapIdx); in reverseBitsForLittleEndianEncoding()
367 NewBits[middle] = BI->getBit(middle); in reverseBitsForLittleEndianEncoding()
DFixedLenDecoderEmitter.cpp144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) in bitFromBits()
1776 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1780 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1798 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1802 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
1962 VarBitInit *BI = dyn_cast<VarBitInit>(Bits.getBit(bi)); in populateInstruction()
1966 Var = dyn_cast<VarInit>(Bits.getBit(bi)); in populateInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DRecord.cpp362 return getBit(0); in convertInitializerTo()
375 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo()
392 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
399 if (!getBit(i)->isConcrete()) in isConcrete()
409 if (Init *Bit = getBit(e-i-1)) in getAsString()
427 Init *CurBit = getBit(i); in resolveReferences()
436 NewBit = CachedBitVarResolved->getBit(CurBitVar->getBitNum()); in resolveReferences()
439 NewBit = CurBit->resolveReferences(R)->getBit(0); in resolveReferences()
667 Init *OpInit::getBit(unsigned Bit) const { in getBit() function in OpInit
1271 Init *FoldOpInit::getBit(unsigned Bit) const { in getBit() function in FoldOpInit
[all …]
/external/pdfium/fxbarcode/datamatrix/
DBC_DefaultPlacement.h22 bool getBit(int32_t col, int32_t row);
DBC_DataMatrixWriter.cpp80 matrix->Set(matrixX, matrixY, placement->getBit(x, y)); in encodeLowLevel()
/external/llvm/lib/TableGen/
DRecord.cpp291 return getBit(0); in convertInitializerTo()
304 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo()
321 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
330 if (Init *Bit = getBit(e-i-1)) in getAsString()
359 Init *CurBit = getBit(i); in resolveReferences()
366 Init *Bit = CachedInit->getBit(CurBit->getBitNum()); in resolveReferences()
384 Init *Bit = CurBitVar->getBit(CurBit->getBitNum()); in resolveReferences()
617 Init *OpInit::getBit(unsigned Bit) const { in getBit() function in OpInit
1294 Init *VarInit::getBit(unsigned Bit) const { in getBit() function in VarInit
1378 return I->getBit(getBitNum()); in resolveReferences()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp94 return BI->getBit(0); in convertValue()
221 MHSbs->getBit(i), in convertValue()
222 RHSbs->getBit(i), in convertValue()
241 if (BitInit *Bit = dynamic_cast<BitInit*>(BI->getBit(i))) { in convertValue()
500 NewBits[i] = getBit(Bits[i]); in convertInitializerBitRange()
509 if (Init *Bit = getBit(e-i-1)) in getAsString()
526 Init *CurBit = getBit(i); in resolveReferences()
1323 Init *B = BI->getBit(Bit); in resolveBitReference()
1506 Init *B = BI->getBit(Bit); in resolveBitReference()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP521R1FieldElement.java48 return Nat.getBit(x, 0) == 1; in testBitZero()
DSecP256R1FieldElement.java48 return Nat256.getBit(x, 0) == 1; in testBitZero()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/
DSecP521R1FieldElement.java52 return Nat.getBit(x, 0) == 1; in testBitZero()

123