Home
last modified time | relevance | path

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

12345678

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DForStmt.java69 public 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()
306 public void ifForStmt(Consumer<ForStmt> action) { in ifForStmt()
390 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/llvm-project/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/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/test_sourcecode/javaparser_new_src/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-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/
DNodeWithBodyTest.java3 import com.github.javaparser.ast.stmt.ForStmt;
14 ForStmt forStmt = TestParser.parseStatement("for(;;);").asForStmt(); in emptyStatementIsEmpty()
21 ForStmt forStmt = TestParser.parseStatement("for(;;){}").asForStmt(); in emptyBlockIsEmpty()
28 ForStmt forStmt = TestParser.parseStatement("for(;;)a=b;").asForStmt(); in simpleStatementIsNotEmpty()
35 ForStmt forStmt = TestParser.parseStatement("for(;;){a=b;}").asForStmt(); in nonEmptyBlockIsNotEmpty()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.h48 bool AliasFromForInit, const ForStmt *Loop,
51 StringRef getContainerString(ASTContext *Context, const ForStmt *Loop,
66 const ForStmt *Loop, LoopFixerKind FixerKind,
72 const ForStmt *Loop, LoopFixerKind FixerKind);
DLoopConvertCheck.cpp574 const ForStmt *Loop, RangeDescriptor Descriptor) { in doConversion()
721 const ForStmt *Loop, in getContainerString()
819 ASTContext *Context, const BoundNodes &Nodes, const ForStmt *Loop, in determineRangeDescriptor()
836 const ForStmt *Loop, in isConvertible()
886 const ForStmt *Loop; in check()
890 if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameArray))) { in check()
892 } else if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameIterator))) { in check()
894 } else if ((Loop = Nodes.getNodeAs<ForStmt>(LoopNameReverseIterator))) { in check()
897 Loop = Nodes.getNodeAs<ForStmt>(LoopNamePseudoArray); in check()
/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-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DForStatementContext.java26 import com.github.javaparser.ast.stmt.ForStmt;
39 public class ForStatementContext extends AbstractJavaParserContext<ForStmt> {
41 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()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp33 return cast<ForStmt>(LoopStmt)->getCond(); in getLoopCondition()
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DVarValidator.java11 import com.github.javaparser.ast.stmt.ForStmt;
68 …boolean positionIsFine = c instanceof ForStmt || c instanceof ForEachStmt || c instanceof Expressi… in accept()
/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/llvm-project/clang-tools-extra/clang-tidy/cert/
DFloatLoopCounter.cpp26 const auto *FS = Result.Nodes.getNodeAs<ForStmt>("for"); in check()
/external/starlark-go/syntax/
Dgrammar.txt7 Statement = DefStmt | IfStmt | ForStmt | WhileStmt | SimpleStmt .
17 ForStmt = 'for' LoopVariables 'in' Expression ':' Suite .
Dsyntax.go95 func (*ForStmt) stmt() {}
321 type ForStmt struct { struct
329 func (x *ForStmt) Span() (start, end Position) { argument
/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/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp376 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt()
377 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
/external/llvm-project/clang/test/CodeGenCXX/
Dattr-likelihood-if-branch-weights.cpp92 void ForStmt() { in ForStmt() function
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFactory.java54 } else if (node instanceof ForStmt) { in getContext()
55 return new ForStatementContext((ForStmt) node, typeSolver); in getContext()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFactory.java52 } else if (node instanceof ForStmt) { in getContext()
53 return new ForStatementContext((ForStmt) node, typeSolver); in getContext()

12345678