Home
last modified time | relevance | path

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

12345678910>>...17

/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/fonttools/Lib/fontTools/voltLib/
Dast.py6 class Statement(object): class
22 class Block(Statement):
24 Statement.__init__(self, location)
48 class GlyphDefinition(Statement):
50 Statement.__init__(self, location)
58 class GroupDefinition(Statement):
60 Statement.__init__(self, location)
139 class ScriptDefinition(Statement):
141 Statement.__init__(self, location)
147 class LangSysDefinition(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-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_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/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/v8/src/torque/
Dast.h149 struct Statement : AstNode { struct
150 Statement(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Statement() argument
151 DEFINE_AST_NODE_INNER_BOILERPLATE(Statement)
390 struct ExpressionStatement : Statement {
393 : Statement(kKind, pos), expression(expression) {} in ExpressionStatement()
397 struct IfStatement : Statement {
400 Statement* if_true, base::Optional<Statement*> if_false) in IfStatement()
401 : Statement(kKind, pos), in IfStatement()
408 Statement* if_true;
409 base::Optional<Statement*> if_false;
[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/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/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DIfStmt.java49 public final 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/skia/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/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;
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;
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;
DSkSLWhileStatement.h19 struct WhileStatement : public Statement {
21 std::unique_ptr<Statement> statement) in WhileStatement()
26 std::unique_ptr<Statement> clone() const override { in clone()
27 return std::unique_ptr<Statement>(new WhileStatement(fOffset, fTest->clone(), in clone()
36 std::unique_ptr<Statement> fStatement;
38 typedef Statement INHERITED;
/external/junit/src/main/java/org/junit/runners/
DBlockJUnit4ClassRunner.java31 import org.junit.runners.model.Statement;
260 protected Statement methodBlock(FrameworkMethod method) { in methodBlock()
273 Statement statement = methodInvoker(method, test); in methodBlock()
289 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
299 protected Statement possiblyExpectingExceptions(FrameworkMethod method, in possiblyExpectingExceptions()
300 Object test, Statement next) { in possiblyExpectingExceptions()
312 protected Statement withPotentialTimeout(FrameworkMethod method, in withPotentialTimeout()
313 Object test, Statement next) { in withPotentialTimeout()
328 protected Statement withBefores(FrameworkMethod method, Object target, in withBefores()
329 Statement statement) { in withBefores()
[all …]
/external/fonttools/Lib/fontTools/feaLib/
Dast.py136 class Statement(Element): class
242 class AnonymousBlock(Statement):
244 Statement.__init__(self, location)
254 class Block(Statement):
256 Statement.__init__(self, location)
357 class GlyphClassDefinition(Statement):
360 Statement.__init__(self, location)
371 class GlyphClassDefStatement(Statement):
375 Statement.__init__(self, location)
433 class MarkClassDefinition(Statement):
[all …]
/external/skqp/src/sksl/
DSkSLIRGenerator.h107 std::unique_ptr<Statement> convertStatement(const ASTStatement& statement);
125 std::unique_ptr<Statement> convertBreak(const ASTBreakStatement& b);
137 std::unique_ptr<Statement> convertContinue(const ASTContinueStatement& c);
138 std::unique_ptr<Statement> convertDiscard(const ASTDiscardStatement& d);
139 std::unique_ptr<Statement> convertDo(const ASTDoStatement& d);
140 std::unique_ptr<Statement> convertSwitch(const ASTSwitchStatement& s);
143 std::unique_ptr<Statement> convertExpressionStatement(const ASTExpressionStatement& s);
144 std::unique_ptr<Statement> convertFor(const ASTForStatement& f);
146 std::unique_ptr<Statement> convertIf(const ASTIfStatement& s);
152 std::unique_ptr<Statement> convertReturn(const ASTReturnStatement& r);
[all …]
/external/skia/src/sksl/
DSkSLIRGenerator.h107 std::unique_ptr<Statement> convertStatement(const ASTStatement& statement);
125 std::unique_ptr<Statement> convertBreak(const ASTBreakStatement& b);
137 std::unique_ptr<Statement> convertContinue(const ASTContinueStatement& c);
138 std::unique_ptr<Statement> convertDiscard(const ASTDiscardStatement& d);
139 std::unique_ptr<Statement> convertDo(const ASTDoStatement& d);
140 std::unique_ptr<Statement> convertSwitch(const ASTSwitchStatement& s);
143 std::unique_ptr<Statement> convertExpressionStatement(const ASTExpressionStatement& s);
144 std::unique_ptr<Statement> convertFor(const ASTForStatement& f);
146 std::unique_ptr<Statement> convertIf(const ASTIfStatement& s);
152 std::unique_ptr<Statement> convertReturn(const ASTReturnStatement& r);
[all …]
/external/junit/src/main/java/org/junit/rules/
DExternalResource.java4 import org.junit.runners.model.Statement;
38 public Statement apply(Statement base, Description description) { in apply()
42 private Statement statement(final Statement base) { in statement()
43 return new Statement() { in statement()
DRunRules.java4 import org.junit.runners.model.Statement;
11 public class RunRules extends Statement {
12 private final Statement statement;
14 public RunRules(Statement base, Iterable<TestRule> rules, Description description) { in RunRules()
23 private static Statement applyAll(Statement result, Iterable<TestRule> rules, in applyAll()

12345678910>>...17