| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| UndefBranchChecker.cpp | 38 const Expr *FindExpr(const Expr *Ex) { 39 if (!MatchesCriteria(Ex)) 42 for (const Stmt *SubStmt : Ex->children()) 47 return Ex; 50 bool MatchesCriteria(const Expr *Ex) { 51 return St->getSVal(Ex, LCtx).isUndef(); 91 const Expr *Ex = cast<Expr>(Condition); 97 if (PS->getStmt() == Ex) 101 Ex = FindIt.FindExpr(Ex); [all...] |
| UndefResultChecker.cpp | 38 static bool isArrayIndexOutOfBounds(CheckerContext &C, const Expr *Ex) { 41 if (!isa<ArraySubscriptExpr>(Ex)) 44 SVal Loc = C.getSVal(Ex); 99 const Expr *Ex = nullptr; 103 Ex = B->getLHS()->IgnoreParenCasts(); 107 Ex = B->getRHS()->IgnoreParenCasts(); 111 if (Ex) { 115 if (isArrayIndexOutOfBounds(C, Ex)) 126 Ex = B->getRHS(); 135 Ex = B->getRHS() [all...] |
| ObjCAtSyncChecker.cpp | 39 const Expr *Ex = S->getSynchExpr(); 41 SVal V = C.getSVal(Ex); 51 bugreporter::trackExpressionValue(N, Ex, *report); 75 bugreporter::trackExpressionValue(N, Ex, *report);
|
| DereferenceChecker.cpp | 49 const Expr *Ex, const ProgramState *state, 58 const Expr *Ex, 62 Ex = Ex->IgnoreParenLValueCasts(); 63 switch (Ex->getStmtClass()) { 67 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); 76 const MemberExpr *ME = cast<MemberExpr>(Ex); 84 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex);
|
| UndefCapturedBlockVarChecker.cpp | 87 if (const Expr *Ex = FindBlockDeclRefExpr(BE->getBody(), VD)) 88 R->addRange(Ex->getSourceRange());
|
| DeadStoresChecker.cpp | 104 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) { 105 while (Ex) { 107 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); 111 Ex = BO->getRHS(); 115 Ex = BO->getRHS(); 120 return Ex; 268 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, 284 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); 370 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); 372 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) [all...] |
| ObjCUnusedIVarsChecker.cpp | 36 if (const ObjCIvarRefExpr *Ex = dyn_cast<ObjCIvarRefExpr>(S)) { 37 const ObjCIvarDecl *D = Ex->getDecl();
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
| eh_ptr.cc | 48 template<typename Ex> 50 { return offsetof(Ex, unwindHeader); } 52 template<typename Ex> 54 { return unwindhdr<Ex>() - offsetof(Ex, terminateHandler); } 62 template<typename Ex> 64 { return unwindhdr<Ex>() - offsetof(Ex, adjustedPtr); }
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/ |
| eh_ptr.cc | 48 template<typename Ex> 50 { return offsetof(Ex, unwindHeader); } 52 template<typename Ex> 54 { return unwindhdr<Ex>() - offsetof(Ex, terminateHandler); } 62 template<typename Ex> 64 { return unwindhdr<Ex>() - offsetof(Ex, adjustedPtr); }
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| ExprEngineC.cpp | 260 ProgramStateRef state, const Expr* Ex, const LocationContext* LCtx, 271 SVal OrigV = state->getSVal(Ex, LCtx); 301 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, 313 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); 320 QualType ExTy = Ex->getType(); 356 // Copy the SVal of Ex to CastE. 359 SVal V = state->getSVal(Ex, LCtx); 366 SVal V = state->getSVal(Ex, LCtx); 377 handleLValueBitCast(state, Ex, LCtx, T, ExTy, CastE, Bldr, Pred); 388 SVal V = state->getSVal(Ex, LCtx) [all...] |
| ExprEngineObjC.cpp | 21 void ExprEngine::VisitLvalObjCIvarRefExpr(const ObjCIvarRefExpr *Ex, 26 SVal baseVal = state->getSVal(Ex->getBase(), LCtx); 27 SVal location = state->getLValue(Ex->getDecl(), baseVal); 31 Bldr.generateNode(Ex, Pred, state->BindExpr(Ex, LCtx, location)); 35 getCheckerManager().runCheckersForPostStmt(Dst, dstIvar, Ex, *this);
|
| ExplodedGraph.cpp | 50 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { 51 if (!Ex->isLValue()) 53 return isa<DeclRefExpr>(Ex) || isa<MemberExpr>(Ex) || 54 isa<ObjCIvarRefExpr>(Ex) || isa<ArraySubscriptExpr>(Ex); 123 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); 124 if (!Ex) 130 if (isInterestingLValueExpr(Ex)) 138 if (!PM.isConsumedExpr(Ex)) [all...] |
| ExprEngine.cpp | 358 // that the whole expression 'Ex' refers to. This trick is usual, 419 // Still, what we can do is assign the value of expression Ex (which 1487 const auto *Ex = cast<Expr>(S); 1488 QualType resultType = Ex->getType(); 1492 SVal result = svalBuilder.conjureSymbolVal(nullptr, Ex, LCtx, 1495 ProgramStateRef State = N->getState()->BindExpr(Ex, LCtx, result); 1499 if (!(isa<ObjCBoxedExpr>(Ex) && 1500 !cast<ObjCBoxedExpr>(Ex)->getSubExpr() 1502 for (auto Child : Ex->children()) { 2045 const auto *Ex = dyn_cast<Expr>(Condition) [all...] |
| BugReporterVisitors.cpp | 1934 /// \return A subexpression of @c Ex which represents the 1936 static const Expr *peelOffOuterExpr(const Expr *Ex, 1938 Ex = Ex->IgnoreParenCasts(); 1939 if (const auto *FE = dyn_cast<FullExpr>(Ex)) 1941 if (const auto *OVE = dyn_cast<OpaqueValueExpr>(Ex)) 1943 if (const auto *POE = dyn_cast<PseudoObjectExpr>(Ex)) { 1954 if (const auto *CO = dyn_cast<ConditionalOperator>(Ex)) { 1976 if (auto *BO = dyn_cast<BinaryOperator>(Ex)) 1980 if (auto *UO = dyn_cast<UnaryOperator>(Ex)) { [all...] |
| /src/external/lgpl3/mpfr/dist/src/ |
| hypot.c | 38 mpfr_exp_t Ex, sh; 85 Ex = MPFR_GET_EXP (x); 86 diff_exp = (mpfr_uexp_t) Ex - MPFR_GET_EXP (y); 122 MPFR_SET_EXP (z, Ex); 153 We have: x = Mx * 2^Ex with 1/2 <= |Mx| < 1, and we choose: 154 sh = floor((Emax - 1) / 2) - Ex. 163 sh = (mpfr_get_emax () - 1) / 2 - Ex;
|
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| ReachableCode.cpp | 34 static bool isEnumConstant(const Expr *Ex) { 35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex); 41 static bool isTrivialExpression(const Expr *Ex) { 42 Ex = Ex->IgnoreParenCasts(); 43 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) || 44 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) || 45 isa<CharacterLiteral>(Ex) || [all...] |
| UninitializedValues.cpp | 235 static const Expr *stripCasts(ASTContext &C, const Expr *Ex) { 236 while (Ex) { 237 Ex = Ex->IgnoreParenNoopCasts(C); 238 if (const auto *CE = dyn_cast<CastExpr>(Ex)) { 240 Ex = CE->getSubExpr(); 246 return Ex; 437 const Expr *Ex = stripCasts(DC->getParentASTContext(), *I); 438 const auto *UO = dyn_cast<UnaryOperator>(Ex); 440 Ex = UO->getSubExpr() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonConstExtenders.cpp | 301 bool operator==(const ExtExpr &Ex) const { 302 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; 304 bool operator!=(const ExtExpr &Ex) const { 305 return !operator==(Ex); 307 bool operator<(const ExtExpr &Ex) const { 308 if (Rs != Ex.Rs) 309 return Rs < Ex.Rs; 310 if (S != Ex.S [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| RuntimeDyldMachO.h | 39 EHFrameRelatedSections(SID EH, SID T, SID Ex) 40 : EHFrameSID(EH), TextSID(T), ExceptTabSID(Ex) {}
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/ |
| ItaniumDemangle.h | 4162 Node *Ex = getDerived().parseExpr(); 4163 if (Ex == nullptr) 4165 Names.push_back(Ex); 4605 Node *Ex = getDerived().parseExpr(); 4606 if (Ex == nullptr) 4607 return Ex; 4608 return make<CastExpr>("const_cast", Ty, Ex); 4639 Node *Ex = getDerived().parseExpr(); 4640 if (Ex == nullptr) 4641 return Ex; [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| MemRegion.h | 302 /// headers and are considered modifiable by system calls (ex: errno). 319 /// (system or internal). Ex: Const global scalars would be modeled as part of 473 const Expr *Ex; 475 AllocaRegion(const Expr *ex, unsigned cnt, const MemSpaceRegion *superRegion) 476 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) { 477 assert(Ex); 480 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex, 484 const Expr *getExpr() const { return Ex; } 594 // TODO: We might want to return a different type here (ex: id (*ty)(...) [all...] |
| ExprEngine.h | 447 void VisitArraySubscriptExpr(const ArraySubscriptExpr *Ex, 477 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred, 493 void VisitGuardedExpr(const Expr *Ex, const Expr *L, const Expr *R, 532 void VisitOffsetOfExpr(const OffsetOfExpr *Ex, ExplodedNode *Pred, 536 void VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *Ex, 588 const Expr *Ex); 601 ProgramStateRef handleLValueBitCast(ProgramStateRef state, const Expr *Ex, 681 // same as state->getLValue(Ex). 682 /// Simulate a read of the result of Ex.
|
| /src/usr.sbin/npf/npfctl/ |
| npf_scan.l | 201 "Ex"{HEXDIG} {
|
| /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| wasm2yaml.cpp | 317 WasmYAML::Export Ex; 318 Ex.Name = Export.Name; 319 Ex.Kind = Export.Kind; 320 Ex.Index = Export.Index; 321 ExportSec->Exports.push_back(Ex);
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| RetainCountChecker.cpp | 230 const Expr *Ex) const { 233 for (const Stmt *Child : Ex->children()) { 250 state->getSVal(Ex, pred->getLocationContext()).getAsSymbol()) { 251 QualType ResultTy = Ex->getType(); 271 void RetainCountChecker::checkPostStmt(const ObjCBoxedExpr *Ex, 276 if (SymbolRef Sym = Pred->getSVal(Ex).getAsSymbol()) { 277 QualType ResultTy = Ex->getType(); 342 // an assignment, ex: "self = [super init]". 691 const Expr *Ex = CallOrMsg.getOriginExpr(); 692 assert(Ex); [all...] |