Home
last modified time | relevance | path

Searched refs:ForStmt (Results 1 – 25 of 107) sorted by relevance

12345

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DForStmt.java69 public final class ForStmt extends Statement implements NodeWithBody<ForStmt> { class
80 public ForStmt() { in ForStmt() method in ForStmt
85 …public ForStmt(final NodeList<Expression> initialization, final Expression compare, final NodeList… in ForStmt() method in ForStmt
93 …public ForStmt(TokenRange tokenRange, NodeList<Expression> initialization, Expression compare, Nod… in ForStmt() method in ForStmt
135 public ForStmt setBody(final Statement body) { in setBody()
138 return (ForStmt) this; in setBody()
155 public ForStmt setCompare(final Expression compare) { in setCompare()
157 return (ForStmt) this; in setCompare()
168 public ForStmt setInitialization(final NodeList<Expression> initialization) { in setInitialization()
171 return (ForStmt) this; in setInitialization()
[all …]
DStatement.java169 public ForStmt asForStmt() { in asForStmt()
326 public void ifForStmt(Consumer<ForStmt> action) { in ifForStmt()
418 public Optional<ForStmt> toForStmt() { in toForStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DForStmt.java37 public final class ForStmt extends Statement implements NodeWithBody<ForStmt> { class
47 public ForStmt() { in ForStmt() method in ForStmt
50 public ForStmt(final List<Expression> init, final Expression compare, in ForStmt() method in ForStmt
58 public ForStmt(Range range, in ForStmt() method in ForStmt
98 public ForStmt setBody(final Statement body) { in setBody()
104 public ForStmt setCompare(final Expression compare) { in setCompare()
110 public ForStmt setInit(final List<Expression> init) { in setInit()
116 public ForStmt setUpdate(final List<Expression> update) { in setUpdate()
/external/clang/test/Analysis/
Dtraversal-algorithm.mm54 // DFS-next:33 ForStmt
75 // DFS-next:33 ForStmt
83 // DFS-next:33 ForStmt
91 // DFS-next:33 ForStmt
100 // DFS-next:33 ForStmt
108 // DFS-next:33 ForStmt
116 // DFS-next:33 ForStmt
124 // DFS-next:33 ForStmt
133 // DFS-next:33 ForStmt
141 // DFS-next:33 ForStmt
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_stmt_ForStmt.txt1 …Line 52) setCompare(compare) ==> com.github.javaparser.ast.stmt.ForStmt.setCompare(com.github.java…
2 …Line 53) setInit(init) ==> com.github.javaparser.ast.stmt.ForStmt.setInit(java.util.List<com.githu…
3 …Line 54) setUpdate(update) ==> com.github.javaparser.ast.stmt.ForStmt.setUpdate(java.util.List<com…
4 …Line 55) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.as…
5 …Line 62) setCompare(compare) ==> com.github.javaparser.ast.stmt.ForStmt.setCompare(com.github.java…
6 …Line 63) setInit(init) ==> com.github.javaparser.ast.stmt.ForStmt.setInit(java.util.List<com.githu…
7 …Line 64) setUpdate(update) ==> com.github.javaparser.ast.stmt.ForStmt.setUpdate(java.util.List<com…
8 …Line 65) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.as…
9 …> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.ForStmt, A)
10 … ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.ForStmt, A)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DForStmt.java33 public final class ForStmt extends Statement { class
43 public ForStmt() { in ForStmt() method in ForStmt
46 public ForStmt(final List<Expression> init, final Expression compare, in ForStmt() method in ForStmt
54 public ForStmt(final int beginLine, final int beginColumn, in ForStmt() method in ForStmt
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DForStatementContext.java25 import com.github.javaparser.ast.stmt.ForStmt;
37 public class ForStatementContext extends AbstractJavaParserContext<ForStmt> {
39 public ForStatementContext(ForStmt wrappedNode, TypeSolver typeSolver) { in ForStatementContext()
/external/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp28 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition()
43 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
DBugReporter.cpp465 if (cast<ForStmt>(Parent)->getBody() == S) in getEnclosingStmtLocation()
1363 const ForStmt *FS = cast<ForStmt>(Term); in isInLoopBody()
1495 if (const ForStmt *FS = dyn_cast<ForStmt>(Loop)) in GenerateExtensivePathDiagnostic()
1779 if (const ForStmt *FS = dyn_cast<ForStmt>(Loop)) in GenerateAlternateExtensivePathDiagnostic()
1915 return cast<ForStmt>(S)->getCond() == Cond; in isConditionForTerminator()
1946 if (const ForStmt *FS = dyn_cast<ForStmt>(FL)) in isIncrementOrInitInForLoop()
2094 if (!(isa<ForStmt>(s1Start) || isa<WhileStmt>(s1Start) || in simplifySimpleBranches()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DVarValidator.java11 import com.github.javaparser.ast.stmt.ForStmt;
65 …boolean positionIsFine = c instanceof ForStmt || c instanceof ForeachStmt || c instanceof Expressi… in accept()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp372 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt()
373 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
DCheckSecuritySyntaxOnly.cpp80 void VisitForStmt(ForStmt *S);
92 void checkLoopConditionForFloat(const ForStmt *FS);
172 void WalkAST::VisitForStmt(ForStmt *FS) { in VisitForStmt()
219 void WalkAST::checkLoopConditionForFloat(const ForStmt *FS) { in checkLoopConditionForFloat()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DForStmtMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.stmt.ForStmt.class, "ForStmt", "com.github… in ForStmtMetaModel()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFactory.java55 } else if (node instanceof ForStmt) { in getContext()
56 return new ForStatementContext((ForStmt) node, typeSolver); in getContext()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_stmt_ForStmt.txt2 [ Class com.github.javaparser.ast.stmt.ForStmt ]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DVoidVisitor.java56 import com.github.javaparser.ast.stmt.ForStmt;
239 void visit(ForStmt n, A arg); in visit()
DGenericVisitor.java56 import com.github.javaparser.ast.stmt.ForStmt;
239 public R visit(ForStmt n, A arg); in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DVoidVisitor.java53 import com.github.javaparser.ast.stmt.ForStmt;
240 void visit(ForStmt n, A arg); in visit()
DGenericVisitor.java53 import com.github.javaparser.ast.stmt.ForStmt;
240 R visit(ForStmt n, A arg); in visit()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java227 ForStmt forStmt = JavaParser.parseStatement("for(int a,b=0;;){}").asForStmt(); in parsingInitializedAndUnitializedVarsInForStmt()
240ForStmt forStmt = JavaParser.parseStatement("for(int i, j = array2.length - 1;;){}").asForStmt(); in parsingInitializedAndUnitializedVarsInForStmtComplexCase()
/external/clang/docs/
DLibASTMatchersTutorial.rst252 The last step is giving the matcher a name and binding the ``ForStmt``
283 if (const ForStmt *FS = Result.Nodes.getNodeAs<clang::ForStmt>("forLoop"))
414 (ForStmt 0x173b240
499 const ForStmt *FS = Result.Nodes.getStmtAs<ForStmt>("forLoop");
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp3.cpp158 constexpr int ForStmt() { in ForStmt() function
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_ForStatementContext.txt1 …Line 45) wrappedNode.getInitialization() ==> com.github.javaparser.ast.stmt.ForStmt.getInitializat…
/external/clang/lib/Sema/
DSemaStmt.cpp1674 ForStmt(Context, First, Second.get().second, Second.get().first, Third, in ActOnForStmt()
2434 ObjCForCollectionStmt * ForStmt = cast<ObjCForCollectionStmt>(S); in FinishObjCForCollectionStmt() local
2436 ForStmt->setBody(B); in FinishObjCForCollectionStmt()
2563 const CXXForRangeStmt *ForStmt) { in DiagnoseForRangeVariableCopies() argument
2565 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2567 ForStmt->getLocStart()) && in DiagnoseForRangeVariableCopies()
2569 ForStmt->getLocStart())) { in DiagnoseForRangeVariableCopies()
2573 const VarDecl *VD = ForStmt->getLoopVariable(); in DiagnoseForRangeVariableCopies()
2588 ForStmt->getRangeInit()->getType()); in DiagnoseForRangeVariableCopies()
2605 CXXForRangeStmt *ForStmt = cast<CXXForRangeStmt>(S); in FinishCXXForRangeStmt() local
[all …]
/external/clang/lib/AST/
DStmt.cpp797 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, in ForStmt() function in ForStmt
809 VarDecl *ForStmt::getConditionVariable() const { in getConditionVariable()
817 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()

12345