/external/clang/lib/StaticAnalyzer/Checkers/ |
CheckSizeofPointer.cpp | 34 void VisitStmt(Stmt *S) { VisitChildren(S); } 35 void VisitChildren(Stmt *S); 39 void WalkAST::VisitChildren(Stmt *S) { 40 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I!=E; ++I) 41 if (Stmt *child = *I)
|
ObjCContainersASTChecker.cpp | 80 void VisitChildren(Stmt *S); 81 void VisitStmt(Stmt *S) { VisitChildren(S); } 155 void WalkAST::VisitChildren(Stmt *S) { 156 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I!=E; ++I) 157 if (Stmt *child = *I)
|
UndefCapturedBlockVarChecker.cpp | 37 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S, 43 for (Stmt::const_child_iterator I = S->child_begin(), E = S->child_end(); 45 if (const Stmt *child = *I) {
|
MallocSizeofChecker.cpp | 32 typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent; 60 void VisitChild(ExprParent Parent, const Stmt *S) { 67 void VisitChildren(const Stmt *S) { 68 for (Stmt::const_child_iterator I = S->child_begin(), E = S->child_end(); 70 if (const Stmt *child = *I) 87 TypeCallPair VisitStmt(const Stmt *S) {
|
UnreachableCodeChecker.cpp | 44 static inline const Stmt *getUnreachableStmt(const CFGBlock *CB); 126 if (const Stmt *label = CB->getLabel()) 127 if (label->getStmtClass() == Stmt::DefaultStmtClass) 153 if (const Stmt *S = getUnreachableStmt(CB)) { 195 // Find the Stmt* in a CFGBlock for reporting a warning 196 const Stmt *UnreachableCodeChecker::getUnreachableStmt(const CFGBlock *CB) { 201 if (const Stmt *S = CB->getTerminator()) 229 const Stmt *cond = pred->getTerminatorCondition();
|
VirtualCallChecker.cpp | 112 // Stmt visitor methods. 115 void VisitStmt(Stmt *S) { VisitChildren(S); } 116 void VisitChildren(Stmt *S); 127 void WalkAST::VisitChildren(Stmt *S) { 128 for (Stmt::child_iterator I = S->child_begin(), E = S->child_end(); I!=E; ++I) 129 if (Stmt *child = *I) 221 if (Stmt *Body = I->getBody()) { 229 if (Stmt *Body = DD->getBody()) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerManager.cpp | 140 const Stmt *S; 148 const Stmt *s, ExprEngine &eng, bool wasInlined = false) 169 const Stmt *S, 267 const Stmt *NodeEx; /* Will become a CFGStmt */ 268 const Stmt *BoundEx; 275 SVal loc, bool isLoad, const Stmt *NodeEx, 276 const Stmt *BoundEx, 300 const Stmt *NodeEx, 301 const Stmt *BoundEx, 314 const Stmt *S [all...] |
CoreEngine.cpp | 344 if (const Stmt *Term = B->getTerminator()) { 350 case Stmt::DeclStmtClass: 354 case Stmt::BinaryOperatorClass: // '&&' and '||' 358 case Stmt::BinaryConditionalOperatorClass: 359 case Stmt::ConditionalOperatorClass: 367 case Stmt::ChooseExprClass: 371 case Stmt::CXXTryStmtClass: { 384 case Stmt::DoStmtClass: 388 case Stmt::CXXForRangeStmtClass: 392 case Stmt::ForStmtClass [all...] |
PathDiagnostic.cpp | 206 // We need to flatten the locations (convert Stmt* to locations) because 497 static SourceLocation getValidSourceLocation(const Stmt* S, 516 const Stmt *Parent = S; 525 const Stmt *Body = ADC->getBody(); 568 if (const Stmt *CallerBody = CallerInfo->getBody()) 588 PathDiagnosticLocation::createBegin(const Stmt *S, 597 PathDiagnosticLocation::createEnd(const Stmt *S, 665 const Stmt* S = nullptr; 693 const Stmt *PathDiagnosticLocation::getStmt(const ExplodedNode *N) { 709 const Stmt *PathDiagnosticLocation::getNextStmt(const ExplodedNode *N) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_tuple_params.py | 27 def is_docstring(stmt): 28 return isinstance(stmt, pytree.Node) and \ 29 stmt.children[0].type == token.STRING 71 stmt = Assign(arg, n.clone()) 76 [stmt, end.clone()]))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_tuple_params.py | 27 def is_docstring(stmt): 28 return isinstance(stmt, pytree.Node) and \ 29 stmt.children[0].type == token.STRING 71 stmt = Assign(arg, n.clone()) 76 [stmt, end.clone()]))
|
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 192 // which, process all the Stmt's in this block to find any recursive calls. 233 const Stmt *Body, 358 const Stmt *S = CS.getStmt(); 500 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body, 642 static void CreateIfFixit(Sema &S, const Stmt *If, const Stmt *Then, 643 const Stmt *Else, bool CondVal, 704 const Stmt *Term = I->Terminator; 720 switch (Term ? Term->getStmtClass() : Stmt::DeclStmtClass) { 727 case Stmt::IfStmtClass: [all...] |
JumpDiagnostics.cpp | 66 llvm::DenseMap<Stmt*, unsigned> LabelAndGotoScopes; 67 SmallVector<Stmt*, 16> Jumps; 72 JumpScopeChecker(Stmt *Body, Sema &S); 77 void BuildScopeInformation(Stmt *S, unsigned &origParentScope); 84 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 94 JumpScopeChecker::JumpScopeChecker(Stmt *Body, Sema &s) 164 // C++11 [stmt.dcl]p3: 172 // C++03 [stmt.dcl.p3: 269 void JumpScopeChecker::BuildScopeInformation(Stmt *S, unsigned &origParentScope) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 4 # Reason last stmt is continued (or C_NONE if it's not). 12 # Find what looks like the start of a popular stmt. 138 # popular stmt like "if" or "def". Return None if none found: 229 # whether & why the last stmt is a continuation. 322 # The last stmt may be continued for all 3 reasons. 345 # slice indices of last interesting stmt 347 # the bracketing structure of the last interesting stmt; 363 # Set p and q to slice indices of last interesting stmt. 369 # p is the index of the stmt at line number goodlines[i]. 370 # Move p back to the stmt at line number goodlines[i-1] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
PyParse.py | 4 # Reason last stmt is continued (or C_NONE if it's not). 12 # Find what looks like the start of a popular stmt. 138 # popular stmt like "if" or "def". Return None if none found: 229 # whether & why the last stmt is a continuation. 322 # The last stmt may be continued for all 3 reasons. 345 # slice indices of last interesting stmt 347 # the bracketing structure of the last interesting stmt; 363 # Set p and q to slice indices of last interesting stmt. 369 # p is the index of the stmt at line number goodlines[i]. 370 # Move p back to the stmt at line number goodlines[i-1] [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
capi3d.test | 98 set STMT [sqlite3_prepare $DB {%s} -1 TAIL] 99 set rc [sqlite3_stmt_readonly $STMT] 100 sqlite3_finalize $STMT
|
delete2.test | 63 set STMT [sqlite3_prepare $DB {SELECT * FROM q} -1 TAIL] 64 sqlite3_step $STMT 87 sqlite3_finalize $STMT
|
tkt2820.test | 32 set STMT [sqlite3_prepare db {SELECT * FROM sqlite_master} -1 DUMMY] 33 sqlite3_step $STMT 39 sqlite3_finalize $STMT
|
thread005.test | 38 set STMT [sqlite3_prepare_v2 $db $zSql -1 zSql] 39 while {[set rc [sqlite3_step $STMT]] eq "SQLITE_ROW"} { } 40 set rc [sqlite3_finalize $STMT] 147 set STMT [sqlite3_prepare_v2 $db $zSql -1 zSql] 148 while {[set rc [sqlite3_step $STMT]] eq "SQLITE_ROW"} { 149 for {set i 0} {$i < [sqlite3_column_count $STMT]} {incr i} { 150 lappend lRes [sqlite3_column_text $STMT 0] 153 set rc [sqlite3_finalize $STMT]
|
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
rtree8.test | 72 set stmt [sqlite3_prepare db "SELECT * FROM t1 WHERE id = $row" -1 tail] 73 sqlite3_step $stmt 74 lappend res_list [sqlite3_column_int $stmt 0] 75 lappend stmt_list $stmt 81 foreach stmt $stmt_list { sqlite3_finalize $stmt }
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
BugReporterVisitor.h | 109 /// Creates a visitor for every VarDecl inside a Stmt and registers it with 111 static void registerStatementVarDecls(BugReport &BR, const Stmt *S, 182 static const Expr *getNilReceiver(const Stmt *S, const ExplodedNode *N); 207 PathDiagnosticPiece *VisitTerminator(const Stmt *Term, 352 bool trackNullOrUndefValue(const ExplodedNode *N, const Stmt *S, BugReport &R, 356 const Expr *getDerefExpr(const Stmt *S); 357 const Stmt *GetDenomExpr(const ExplodedNode *N); 358 const Stmt *GetRetValExpr(const ExplodedNode *N);
|
/external/clang/lib/CodeGen/ |
CodeGenPGO.h | 41 std::unique_ptr<llvm::DenseMap<const Stmt *, unsigned>> RegionCounterMap; 42 std::unique_ptr<llvm::DenseMap<const Stmt *, uint64_t>> StmtCountMap; 78 bool getStmtCount(const Stmt *S, uint64_t &Count) { 81 llvm::DenseMap<const Stmt*, uint64_t>::const_iterator 91 void setCurrentStmt(const Stmt *S) { 100 llvm::MDNode *createLoopWeights(const Stmt *Cond, RegionCounter &Cnt); 131 unsigned getRegionCounter(const Stmt *S) { 162 RegionCounter(CodeGenPGO &PGO, const Stmt *S)
|
/external/clang/unittests/AST/ |
ASTContextParentMapTest.cpp | 35 MatchVerifier<Stmt> Verifier; 61 MatchVerifier<Stmt> TemplateVerifier;
|
/external/chromium_org/content/browser/media/ |
webrtc_identity_store_backend.cc | 162 void OnDatabaseError(int error, sql::Statement* stmt); 403 sql::Statement stmt(db_->GetUniqueStatement( 407 CHECK(stmt.is_valid()); 409 while (stmt.Step()) { 410 IdentityKey key(GURL(stmt.ColumnString(0)), stmt.ColumnString(1)); 411 std::string common_name(stmt.ColumnString(2)); 413 stmt.ColumnBlobAsString(3, &cert); 414 stmt.ColumnBlobAsString(4, &private_key); 415 int64 creation_time = stmt.ColumnInt64(5) [all...] |
/external/clang/include/clang/AST/ |
ASTTypeTraits.h | 22 #include "clang/AST/Stmt.h" 88 #define STMT(DERIVED, BASE) NKI_##DERIVED, 135 KIND_TO_KIND_ID(Stmt) 139 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED) 176 /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned 209 /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data). 291 Decl *, Stmt *, Type *, NestedNameSpecifier *, CXXCtorInitializer *> 305 T, typename std::enable_if<std::is_base_of<Stmt, T>::value>::type> 306 : public DynCastPtrConverter<T, Stmt> {}; 351 } else if (ASTNodeKind::getFromNodeKind<Stmt>().isBaseOf(NodeKind)) [all...] |