Home
last modified time | relevance | path

Searched refs:Statement (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/external/skia/src/sksl/ir/
DSkSLIfStatement.h21 class IfStatement final : public Statement {
26 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int offset, bool isStatic,
37 std::unique_ptr<Statement> ifTrue,
38 std::unique_ptr<Statement> ifFalse);
41 static std::unique_ptr<Statement> Make(const Context& context, int offset, bool isStatic,
43 std::unique_ptr<Statement> ifTrue,
44 std::unique_ptr<Statement> ifFalse);
58 std::unique_ptr<Statement>& ifTrue() { in ifTrue()
62 const std::unique_ptr<Statement>& ifTrue() const { in ifTrue()
[all …]
DSkSLForStatement.h20 class ForStatement final : public Statement {
24 ForStatement(int offset, std::unique_ptr<Statement> initializer, in ForStatement()
26 std::unique_ptr<Statement> statement, std::shared_ptr<SymbolTable> symbols) in ForStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int offset,
36 std::unique_ptr<Statement> initializer,
39 std::unique_ptr<Statement> statement,
43 static std::unique_ptr<Statement> ConvertWhile(const Context& context, int offset,
45 std::unique_ptr<Statement> statement,
49 static std::unique_ptr<Statement> Make(const Context& context, int offset,
50 std::unique_ptr<Statement> initializer,
[all …]
DSkSLDoStatement.h19 class DoStatement final : public Statement {
23 DoStatement(int offset, std::unique_ptr<Statement> statement, std::unique_ptr<Expression> test) in DoStatement()
29 static std::unique_ptr<Statement> Convert(const Context& context,
30 std::unique_ptr<Statement> stmt,
34 static std::unique_ptr<Statement> Make(const Context& context,
35 std::unique_ptr<Statement> stmt,
38 std::unique_ptr<Statement>& statement() { in statement()
42 const std::unique_ptr<Statement>& statement() const { in statement()
54 std::unique_ptr<Statement> clone() const override;
59 std::unique_ptr<Statement> fStatement;
[all …]
DSkSLVarDeclarations.h27 class VarDeclaration final : public Statement {
49 static std::unique_ptr<Statement> Convert(const Context& context,
54 static std::unique_ptr<Statement> Make(const Context& context,
85 std::unique_ptr<Statement> clone() const override;
97 using INHERITED = Statement;
108 GlobalVarDeclaration(std::unique_ptr<Statement> decl) in GlobalVarDeclaration()
114 std::unique_ptr<Statement>& declaration() { in declaration()
118 const std::unique_ptr<Statement>& declaration() const { in declaration()
131 std::unique_ptr<Statement> fDeclaration;
/external/deqp/framework/randomshaders/
DrsgStatement.hpp37 class Statement class
40 Statement (void);
41 virtual ~Statement (void);
43 virtual Statement* createNextChild (GeneratorState& state) = DE_NULL;
55 class ExpressionStatement : public Statement
61 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild()
71 class DeclarationStatement : public Statement
77 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild()
88 class BlockStatement : public Statement
97 Statement* createNextChild (GeneratorState& state);
[all …]
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h96 Statement, enumerator
214 class Statement : public Tree {
216 Statement(NodeKind K) : Tree(K) {} in Statement() function
222 class UnknownStatement final : public Statement {
224 UnknownStatement() : Statement(NodeKind::UnknownStatement) {} in UnknownStatement()
229 class DeclarationStatement final : public Statement {
231 DeclarationStatement() : Statement(NodeKind::DeclarationStatement) {} in DeclarationStatement()
236 class EmptyStatement final : public Statement {
238 EmptyStatement() : Statement(NodeKind::EmptyStatement) {} in EmptyStatement()
243 class SwitchStatement final : public Statement {
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithStatements.java30 import com.github.javaparser.ast.stmt.Statement;
38 NodeList<Statement> getStatements(); in getStatements()
40 default Statement getStatement(int i) { in getStatement()
45 default N setStatement(int i, Statement statement) { in setStatement()
50 N setStatements(final NodeList<Statement> statements); in setStatements()
53 default N addStatement(Statement statement) { in addStatement()
59 default N addStatement(int index, final Statement statement) { in addStatement()
76 Statement stmt = new ExpressionStmt(expr); in addStatement()
80 default <A extends Statement> A addAndGetStatement(A statement) { in addAndGetStatement()
85 default Statement addAndGetStatement(int index, final Statement statement) { in addAndGetStatement()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/validator/
DJava10ValidatorTest.java7 import com.github.javaparser.ast.stmt.Statement;
23 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a = 5;")); in varAllowedInLocalVariableDeclaration()
29 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a : as){}")); in varAllowedInForEach()
35 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a = 5;a<9;a++){}")); in varAllowedInOldFor()
41 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int a = (var)20;")); in varNotAllowedInCast()
47 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(var f = new FileReader(\… in varNotAllowedInTryWithResources()
59 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("new X<var>();")); in varNotAllowedInTypeArguments()
65 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("x((var x) -> null);")); in varNotAllowedInLambdaParameters()
71 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a;")); in emptyInitializerNotAllowed()
77 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a=1, b=2;")); in multipleVariablesNotAllowed()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DIfStmt.java31 public final class IfStmt extends Statement {
35 private Statement thenStmt;
37 private Statement elseStmt;
42 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt()
49 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt()
68 public Statement getElseStmt() { in getElseStmt()
72 public Statement getThenStmt() { in getThenStmt()
81 public void setElseStmt(final Statement elseStmt) { in setElseStmt()
86 public void setThenStmt(final Statement thenStmt) { in setThenStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DIfStmt.java32 public final class IfStmt extends Statement {
36 private Statement thenStmt;
38 private Statement elseStmt;
43 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt()
50 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt()
69 public Statement getElseStmt() { in getElseStmt()
73 public Statement getThenStmt() { in getThenStmt()
83 public IfStmt setElseStmt(final Statement elseStmt) { in setElseStmt()
89 public IfStmt setThenStmt(final Statement thenStmt) { in setThenStmt()
/external/skia/src/sksl/
DSkSLAnalysis.h27 class Statement; variable
56 static bool SwitchCaseContainsUnconditionalExit(Statement& stmt);
61 static bool SwitchCaseFallsThrough(Statement& stmt) { in SwitchCaseFallsThrough()
69 static bool SwitchCaseContainsConditionalExit(Statement& stmt);
74 static bool StatementWritesToVariable(const Statement& stmt, const Variable& var);
137 const Statement* loopInitializer,
140 const Statement* loopStatement,
148 const Statement& body);
172 virtual bool visitStatement(typename T::Statement& statement);
183 using Statement = const SkSL::Statement; member
[all …]
DSkSLInliner.cpp79 bool visitStatement(const Statement& stmt) override { in count_returns_at_end_of_control_flow()
81 case Statement::Kind::kBlock: { in count_returns_at_end_of_control_flow()
87 case Statement::Kind::kSwitch: in count_returns_at_end_of_control_flow()
88 case Statement::Kind::kDo: in count_returns_at_end_of_control_flow()
89 case Statement::Kind::kFor: in count_returns_at_end_of_control_flow()
93 case Statement::Kind::kReturn: in count_returns_at_end_of_control_flow()
125 bool visitStatement(const Statement& stmt) override { in contains_recursive_call()
140 static std::unique_ptr<Statement>* find_parent_statement( in find_parent_statement()
141 const std::vector<std::unique_ptr<Statement>*>& stmtStack) { in find_parent_statement()
151 std::unique_ptr<Statement>* stmt = *iter; in find_parent_statement()
[all …]
DSkSLAnalysis.cpp155 int visit(const Statement& s) { in visit()
170 bool visitStatement(const Statement& s) override { in visitStatement()
201 bool visitStatement(const Statement& s) override { in visitStatement()
255 bool visit(const Statement& s) { in visit()
364 bool visitStatement(const Statement& stmt) override { in visitStatement()
366 case Statement::Kind::kBlock: in visitStatement()
367 case Statement::Kind::kSwitchCase: in visitStatement()
370 case Statement::Kind::kReturn: in visitStatement()
374 case Statement::Kind::kContinue: in visitStatement()
379 case Statement::Kind::kBreak: in visitStatement()
[all …]
/external/llvm-project/flang/lib/Semantics/
Dcanonicalize-do.cpp34 std::get<Statement<EndAssociateStmt>>( in Post()
39 std::get<Statement<EndBlockStmt>>( in Post()
44 std::get<Statement<EndChangeTeamStmt>>( in Post()
49 std::get<Statement<EndCriticalStmt>>(critical.value().t)); in Post()
53 std::get<Statement<EndDoStmt>>(doConstruct.value().t)); in Post()
57 std::get<Statement<EndIfStmt>>(ifConstruct.value().t)); in Post()
61 std::get<Statement<EndSelectStmt>>( in Post()
66 std::get<Statement<EndSelectStmt>>(selectRank.value().t)); in Post()
70 std::get<Statement<EndSelectStmt>>(selectType.value().t)); in Post()
74 std::get<Statement<EndForallStmt>>(forall.value().t)); in Post()
[all …]
Dprogram-tree.cpp62 std::get<std::optional<parser::Statement<parser::ProgramStmt>>>(x.t)}; in Build()
63 const auto &end{std::get<parser::Statement<parser::EndProgramStmt>>(x.t)}; in Build()
71 const auto &stmt{std::get<parser::Statement<parser::FunctionStmt>>(x.t)}; in Build()
72 const auto &end{std::get<parser::Statement<parser::EndFunctionStmt>>(x.t)}; in Build()
78 const auto &stmt{std::get<parser::Statement<parser::SubroutineStmt>>(x.t)}; in Build()
79 const auto &end{std::get<parser::Statement<parser::EndSubroutineStmt>>(x.t)}; in Build()
85 const auto &stmt{std::get<parser::Statement<parser::MpSubprogramStmt>>(x.t)}; in Build()
87 std::get<parser::Statement<parser::EndMpSubprogramStmt>>(x.t)}; in Build()
93 const auto &stmt{std::get<parser::Statement<parser::ModuleStmt>>(x.t)}; in Build()
94 const auto &end{std::get<parser::Statement<parser::EndModuleStmt>>(x.t)}; in Build()
[all …]
Dprogram-tree.h46 const parser::Statement<parser::ProgramStmt> *,
47 const parser::Statement<parser::FunctionStmt> *,
48 const parser::Statement<parser::SubroutineStmt> *,
49 const parser::Statement<parser::MpSubprogramStmt> *,
50 const parser::Statement<parser::ModuleStmt> *,
51 const parser::Statement<parser::SubmoduleStmt> *,
52 const parser::Statement<parser::BlockDataStmt> *>;
80 ProgramTree &set_stmt(const parser::Statement<T> &stmt) { in set_stmt()
85 ProgramTree &set_endStmt(const parser::Statement<T> &stmt) { in set_endStmt()
93 static_cast<const parser::Statement<parser::ProgramStmt> *>(nullptr)};
/external/fonttools/Lib/fontTools/voltLib/
Dast.py37 class Statement(Element): class
45 class VoltFile(Statement):
47 Statement.__init__(self, location=None)
58 class GlyphDefinition(Statement):
60 Statement.__init__(self, location)
83 class GroupDefinition(Statement):
85 Statement.__init__(self, location)
181 class ScriptDefinition(Statement):
183 Statement.__init__(self, location)
199 class LangSysDefinition(Statement):
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRuleTest.java11 import org.junit.runners.model.Statement;
23 rule.apply(new Statement() { in happy_path_no_exception()
36 rule.apply(new Statement() { in regular_failing_test()
48 rule.apply(new Statement() { in rule_threw_exception()
61 rule.apply(new Statement() { in expected_exception_but_no_exception()
80 rule.apply(new Statement() { in expected_exception_message_did_not_match()
97 rule.apply(new Statement() { in expected_exception_type_did_not_match()
118 rule.apply(new Statement() { in expected_exception_assert_did_not_match()
131 public Statement apply(final Statement base, FrameworkMethod method, Object target) { in apply()
132 return new Statement() { in apply()
/external/skqp/src/sksl/ir/
DSkSLIfStatement.h19 struct IfStatement : public Statement {
21 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
28 std::unique_ptr<Statement> clone() const override { in clone()
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone()
47 std::unique_ptr<Statement> fIfTrue;
49 std::unique_ptr<Statement> fIfFalse;
51 typedef Statement INHERITED;
DSkSLForStatement.h20 struct ForStatement : public Statement {
21 ForStatement(int offset, std::unique_ptr<Statement> initializer, in ForStatement()
23 std::unique_ptr<Statement> statement, std::shared_ptr<SymbolTable> symbols) in ForStatement()
31 std::unique_ptr<Statement> clone() const override { in clone()
32 return std::unique_ptr<Statement>(new ForStatement(fOffset, fInitializer->clone(), in clone()
57 std::unique_ptr<Statement> fInitializer;
60 std::unique_ptr<Statement> fStatement;
62 typedef Statement INHERITED;
DSkSLBlock.h19 struct Block : public Statement {
20 Block(int offset, std::vector<std::unique_ptr<Statement>> statements,
35 std::unique_ptr<Statement> clone() const override { in clone()
36 std::vector<std::unique_ptr<Statement>> cloned; in clone()
40 return std::unique_ptr<Statement>(new Block(fOffset, std::move(cloned), fSymbols)); in clone()
56 std::vector<std::unique_ptr<Statement>> fStatements;
58 typedef Statement INHERITED;
DSkSLSwitchCase.h19 struct SwitchCase : public Statement {
21 std::vector<std::unique_ptr<Statement>> statements) in SwitchCase()
26 std::unique_ptr<Statement> clone() const override { in clone()
27 std::vector<std::unique_ptr<Statement>> cloned; in clone()
31 return std::unique_ptr<Statement>(new SwitchCase(fOffset, in clone()
51 std::vector<std::unique_ptr<Statement>> fStatements;
53 typedef Statement INHERITED;
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DIfStmt.java49 public class IfStmt extends Statement implements NodeWithCondition<IfStmt> {
53 private Statement thenStmt;
56 private Statement elseStmt;
63 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt()
71 …public IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt)… in IfStmt()
97 public Optional<Statement> getElseStmt() { in getElseStmt()
102 public Statement getThenStmt() { in getThenStmt()
127 public IfStmt setElseStmt(final Statement elseStmt) { in setElseStmt()
140 public IfStmt setThenStmt(final Statement thenStmt) { in setThenStmt()
169 return setElseStmt((Statement) null); in removeElseStmt()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInferenceTest.golden.txt374 |__STACK: [[Ljava/sql/Statement;]
375 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;]
378 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;]
380 |__STACK: [[Ljava/sql/Statement;]
381 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;]
384 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;]
387 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;, I]
390 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;, I]
393 |__LOCAL: [Ltestsubjects/TestSubject;, [Ljava/sql/Statement;, [Ljava/sql/Statement;, I, I]
395 FRAME APPEND [[Ljava/sql/Statement; I I]
[all …]
/external/fonttools/Lib/fontTools/feaLib/
Dast.py177 class Statement(Element): class
324 class AnonymousBlock(Statement):
328 Statement.__init__(self, location)
339 class Block(Statement):
343 Statement.__init__(self, location)
464 class GlyphClassDefinition(Statement):
468 Statement.__init__(self, location)
480 class GlyphClassDefStatement(Statement):
488 Statement.__init__(self, location)
555 class MarkClassDefinition(Statement):
[all …]

12345678910>>...24