/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCAtSyncChecker.cpp | 40 const Expr *Ex = S->getSynchExpr(); 42 SVal V = state->getSVal(Ex, C.getLocationContext()); 52 bugreporter::trackNullOrUndefValue(N, Ex, *report); 76 bugreporter::trackNullOrUndefValue(N, Ex, *report);
|
UndefResultChecker.cpp | 63 const Expr *Ex = nullptr; 67 Ex = B->getLHS()->IgnoreParenCasts(); 71 Ex = B->getRHS()->IgnoreParenCasts(); 75 if (Ex) { 88 if (Ex) { 89 report->addRange(Ex->getSourceRange()); 90 bugreporter::trackNullOrUndefValue(N, Ex, *report);
|
UndefBranchChecker.cpp | 36 const Expr *FindExpr(const Expr *Ex) { 37 if (!MatchesCriteria(Ex)) 40 for (Stmt::const_child_iterator I = Ex->child_begin(), 41 E = Ex->child_end();I!=E;++I) 47 return Ex; 50 bool MatchesCriteria(const Expr *Ex) { 51 return St->getSVal(Ex, LCtx).isUndef(); 88 const Expr *Ex = cast<Expr>(Condition); 94 if (PS->getStmt() == Ex) 98 Ex = FindIt.FindExpr(Ex) [all...] |
DeadStoresChecker.cpp | 103 LookThroughTransitiveAssignmentsAndCommaOperators(const Expr *Ex) { 104 while (Ex) { 106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); 110 Ex = BO->getRHS(); 114 Ex = BO->getRHS(); 119 return Ex; 208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, 224 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); 308 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); 310 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) [all...] |
RetainCountChecker.cpp | 951 // an assignment, ex: "self = [super init]". [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExplodedGraph.cpp | 59 bool ExplodedGraph::isInterestingLValueExpr(const Expr *Ex) { 60 if (!Ex->isLValue()) 62 return isa<DeclRefExpr>(Ex) || 63 isa<MemberExpr>(Ex) || 64 isa<ObjCIvarRefExpr>(Ex); 133 const Expr *Ex = dyn_cast<Expr>(progPoint.castAs<PostStmt>().getStmt()); 134 if (!Ex) 140 if (isInterestingLValueExpr(Ex)) 148 if (!PM.isConsumedExpr(Ex))
|
ExprEngineC.cpp | 227 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, 239 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); 246 QualType ExTy = Ex->getType(); 282 // Copy the SVal of Ex to CastE. 285 SVal V = state->getSVal(Ex, LCtx); 324 SVal V = state->getSVal(Ex, LCtx); 333 SVal val = state->getSVal(Ex, LCtx); 341 SVal val = state->getSVal(Ex, LCtx); 634 void ExprEngine::VisitGuardedExpr(const Expr *Ex, 689 V = svalBuilder.conjureSymbolVal(nullptr, Ex, LCtx [all...] |
BugReporterVisitors.cpp | 862 static const Expr *peelOffOuterExpr(const Expr *Ex, 864 Ex = Ex->IgnoreParenCasts(); 865 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex)) 867 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex)) 871 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) { 892 return Ex; 902 if (const Expr *Ex = dyn_cast<Expr>(S)) { 903 Ex = Ex->IgnoreParenCasts() [all...] |
ExprEngine.cpp | 175 const Expr *Ex, 177 SVal V = State->getSVal(Ex, LC); 183 Result = Ex; 199 const Expr *Inner = Ex->IgnoreParens(); [all...] |
RegionStore.cpp | 385 const Expr *Ex, [all...] |
/external/clang/lib/Sema/ |
SemaCast.cpp | 242 ExprResult Ex = E; 248 Ex.get()->isTypeDependent() || 249 Ex.get()->isValueDependent(); [all...] |
SemaDeclAttr.cpp | 422 static bool isCapabilityExpr(Sema &S, const Expr *Ex) { 428 if (const auto *E = dyn_cast<DeclRefExpr>(Ex)) 430 else if (const auto *E = dyn_cast<CastExpr>(Ex)) 432 else if (const auto *E = dyn_cast<ParenExpr>(Ex)) 434 else if (const auto *E = dyn_cast<UnaryOperator>(Ex)) { 438 } else if (const auto *E = dyn_cast<BinaryOperator>(Ex)) { [all...] |
SemaExprCXX.cpp | 579 Sema::ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) { 581 if (Ex) { 593 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Ex->IgnoreParens())) 612 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope); 615 ExprResult Sema::BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, 625 if (Ex && !Ex->isTypeDependent()) { 626 ExprResult ExRes = CheckCXXThrowOperand(OpLoc, Ex, IsThrownVarInScope); 629 Ex = ExRes.get(); 633 CXXThrowExpr(Ex, Context.VoidTy, OpLoc, IsThrownVarInScope) [all...] |
SemaChecking.cpp | [all...] |
SemaExpr.cpp | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeVectorOps.cpp | 618 SDValue Ex = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, 622 SDValue Store = DAG.getTruncStore(Chain, dl, Ex, BasePTR, [all...] |
LegalizeIntegerTypes.cpp | [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
MemRegion.h | 277 /// headers and are considered modifiable by system calls (ex: errno). 295 /// (system or internal). Ex: Const global scalars would be modeled as part of 450 const Expr *Ex; 452 AllocaRegion(const Expr *ex, unsigned cnt, const MemRegion *superRegion) 453 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {} 457 const Expr *getExpr() const { return Ex; } 465 static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr *Ex, 562 // TODO: We might want to return a different type here (ex: id (*ty)(...)) 1052 Expr const *Ex; [all...] |
/frameworks/base/core/java/android/hardware/ |
SensorManager.java | [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | [all...] |
LoopVectorize.cpp | [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
pr29166.cpp | 4 class Ex 9 Ex( int v ) 79 throw Ex( sum ); 86 } catch( Ex& ) { }
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
pr29166.cpp | 4 class Ex 9 Ex( int v ) 79 throw Ex( sum ); 86 } catch( Ex& ) { }
|