/external/pdfium/third_party/bigint/ |
D | NumberlikeArray.hh | 27 template <class Blk> 41 Blk *blk; 45 blk = (cap > 0) ? (new Blk[cap]) : NULL; in NumberlikeArray() 70 NumberlikeArray(const NumberlikeArray<Blk> &x); 73 void operator=(const NumberlikeArray<Blk> &x); 76 NumberlikeArray(const Blk *b, Index blen); 81 Blk getBlock(Index i) const { return blk[i]; } in getBlock() 87 bool operator ==(const NumberlikeArray<Blk> &x) const; 89 bool operator !=(const NumberlikeArray<Blk> &x) const { in operator !=() 97 template <class Blk> [all …]
|
D | BigUnsigned.hh | 26 typedef unsigned long Blk; typedef in BigUnsigned 28 typedef NumberlikeArray<Blk>::Index Index; 29 using NumberlikeArray<Blk>::N; 33 BigUnsigned(int, Index c) : NumberlikeArray<Blk>(0, c) {} in BigUnsigned() 43 BigUnsigned() : NumberlikeArray<Blk>() {} in BigUnsigned() 46 BigUnsigned(const BigUnsigned &x) : NumberlikeArray<Blk>(x) {} in BigUnsigned() 50 NumberlikeArray<Blk>::operator =(x); in operator =() 54 BigUnsigned(const Blk *b, Index blen) : NumberlikeArray<Blk>(b, blen) { in BigUnsigned() 93 using NumberlikeArray<Blk>::getCapacity; 94 using NumberlikeArray<Blk>::getLength; [all …]
|
D | BigIntegerUtils.hh | 54 unsigned int piecesPerBlock = sizeof(BigInteger::Blk) / sizeof(T); in dataToBigInteger() 58 BigInteger::Blk *blocks = new BigInteger::Blk[numBlocks]; in dataToBigInteger() 64 BigInteger::Blk curBlock = 0; in dataToBigInteger() 67 curBlock |= (BigInteger::Blk(data[pieceNum]) << (pieceSizeInBits * pieceNumHere)); in dataToBigInteger()
|
D | BigUnsigned.cc | 30 void BigUnsigned::setBlock(Index i, Blk newBlock) { in setBlock() 57 Blk leftmostBlock = getBlock(len - 1); in bitLength() 69 Blk block = getBlock(blockI), mask = Blk(1) << (bi % N); in setBit() 143 Blk temp; in add() 201 Blk temp; in subtract() 298 inline BigUnsigned::Blk getShiftedBlock(const BigUnsigned &num, in getShiftedBlock() 300 BigUnsigned::Blk part1 = (x == 0 || y == 0) ? 0 : (num.blk[x - 1] >> (BigUnsigned::N - y)); in getShiftedBlock() 301 BigUnsigned::Blk part2 = (x == num.len) ? 0 : (num.blk[x] << y); in getShiftedBlock() 322 Blk temp; in multiply() 334 if ((a.blk[i] & (Blk(1) << i2)) == 0) in multiply() [all …]
|
D | BigInteger.hh | 22 typedef BigUnsigned::Blk Blk; typedef in BigInteger 47 BigInteger(const Blk *b, Index blen, Sign s); 50 BigInteger(const Blk *b, Index blen) : mag(b, blen) { in BigInteger() 94 Blk getBlock(Index i) const { return mag.getBlock(i); } in getBlock()
|
D | BigInteger.cc | 19 BigInteger::BigInteger(const Blk *b, Index blen, Sign s) : mag(b, blen) { in BigInteger() 70 BigInteger::Blk magOf(X x) { in magOf() 73 return BigInteger::Blk(x < 0 ? UX(-x) : x); in magOf() 114 Blk b = mag.getBlock(0); in convertToSignedPrimitive() 117 if (x >= 0 && Blk(x) == b) in convertToSignedPrimitive() 123 if (x < 0 && Blk(UX(-x)) == b) in convertToSignedPrimitive()
|
/external/clang/include/clang/Analysis/ |
D | AnalysisContext.h | 185 const CFGBlock *Blk, 448 const CFGBlock *Blk, in getStackFrame() argument 450 return LocContexts.getStackFrame(Ctx, Parent, S, Blk, Idx); in getStackFrame() 463 const CFGBlock *Blk, in getStackFrame() argument 465 return LocContexts.getStackFrame(getContext(D), Parent, S, Blk, Idx); in getStackFrame()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 73 const CFGBlock *Blk = nullptr; in getLastStmt() local 102 Blk = BE->getSrc(); in getLastStmt() 116 return std::make_pair(S, Blk); in getLastStmt() 164 const CFGBlock *Blk = nullptr; in removeDeadOnEndOfFunction() local 165 std::tie(LastSt, Blk) = getLastStmt(Pred); in removeDeadOnEndOfFunction() 166 if (!Blk || !LastSt) { in removeDeadOnEndOfFunction() 233 const CFGBlock *Blk = nullptr; in processCallExit() local 234 std::tie(LastSt, Blk) = getLastStmt(CEBNode); in processCallExit() 284 if (LastSt && Blk && AMgr.options.AnalysisPurgeOpt != PurgeNone) { in processCallExit() 293 NodeBuilderContext Ctx(getCoreEngine(), Blk, BindedRetNode); in processCallExit()
|
D | CoreEngine.cpp | 286 const CFGBlock *Blk = L.getDst(); in HandleBlockEdge() local 287 NodeBuilderContext BuilderCtx(*this, Blk, Pred); in HandleBlockEdge() 291 FunctionSummaries->markVisitedBasicBlock(Blk->getBlockID(), in HandleBlockEdge() 296 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge() 310 BlockEntrance BE(Blk, Pred->getLocationContext()); in HandleBlockEdge()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyCommon.h | 180 for (auto *Blk : BackEdges) in walk() 181 V.handlePredecessorBackEdge(Blk); in walk() 226 for (auto *Blk : ForwardEdges) in walk() 227 V.handleSuccessor(Blk); in walk() 469 void mergePhiNodesBackEdge(const CFGBlock *Blk);
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 291 const CFGBlock *Blk, unsigned Idx) { in getStackFrame() argument 292 return getLocationContextManager().getStackFrame(this, Parent, S, Blk, Idx); in getStackFrame()
|
D | ThreadSafetyCommon.cpp | 797 void SExprBuilder::mergePhiNodesBackEdge(const CFGBlock *Blk) { in mergePhiNodesBackEdge() argument 798 til::BasicBlock *BB = lookupBlock(Blk); in mergePhiNodesBackEdge() 799 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge()
|
D | CFG.cpp | 554 void prependAutomaticObjDtorsWithTerminator(CFGBlock *Blk, 1361 void CFGBuilder::prependAutomaticObjDtorsWithTerminator(CFGBlock *Blk, in prependAutomaticObjDtorsWithTerminator() argument 1365 = Blk->beginAutomaticObjDtorsInsert(Blk->end(), B.distance(E), C); in prependAutomaticObjDtorsWithTerminator() 1367 InsertPos = Blk->insertAutomaticObjDtor(InsertPos, *I, in prependAutomaticObjDtorsWithTerminator() 1368 Blk->getTerminator()); in prependAutomaticObjDtorsWithTerminator()
|