Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/external/tensorflow/tensorflow/core/lib/db/
Dsqlite_test.cc43 auto stmt = db_->PrepareOrDie("INSERT INTO T (a, b) VALUES (?, ?)"); in TEST_F() local
44 stmt.BindInt(1, 3); in TEST_F()
45 stmt.BindInt(2, -7); in TEST_F()
46 TF_ASSERT_OK(stmt.StepAndReset()); in TEST_F()
47 stmt.BindInt(1, 123); in TEST_F()
48 stmt.BindInt(2, -123); in TEST_F()
49 TF_ASSERT_OK(stmt.StepAndReset()); in TEST_F()
50 stmt = db_->PrepareOrDie("SELECT a, b FROM T ORDER BY b"); in TEST_F()
51 TF_ASSERT_OK(stmt.Step(&is_done_)); in TEST_F()
53 EXPECT_EQ(123, stmt.ColumnInt(0)); in TEST_F()
[all …]
/external/v8/src/ast/
Dast-traversal-visitor.h117 Statement* stmt = stmts->at(i); in VisitStatements() local
118 RECURSE(Visit(stmt)); in VisitStatements()
119 if (stmt->IsJump()) break; in VisitStatements()
137 void AstTraversalVisitor<Subclass>::VisitBlock(Block* stmt) { in VisitBlock() argument
138 PROCESS_NODE(stmt); in VisitBlock()
139 RECURSE(VisitStatements(stmt->statements())); in VisitBlock()
144 ExpressionStatement* stmt) { in VisitExpressionStatement() argument
145 PROCESS_NODE(stmt); in VisitExpressionStatement()
146 RECURSE(Visit(stmt->expression())); in VisitExpressionStatement()
150 void AstTraversalVisitor<Subclass>::VisitEmptyStatement(EmptyStatement* stmt) {} in VisitEmptyStatement() argument
[all …]
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.cc76 void ALAA::VisitBlock(Block* stmt) { VisitStatements(stmt->statements()); } in VisitBlock() argument
85 void ALAA::VisitExpressionStatement(ExpressionStatement* stmt) { in VisitExpressionStatement() argument
86 Visit(stmt->expression()); in VisitExpressionStatement()
90 void ALAA::VisitIfStatement(IfStatement* stmt) { in VisitIfStatement() argument
91 Visit(stmt->condition()); in VisitIfStatement()
92 Visit(stmt->then_statement()); in VisitIfStatement()
93 Visit(stmt->else_statement()); in VisitIfStatement()
97 void ALAA::VisitReturnStatement(ReturnStatement* stmt) { in VisitReturnStatement() argument
98 Visit(stmt->expression()); in VisitReturnStatement()
102 void ALAA::VisitWithStatement(WithStatement* stmt) { in VisitWithStatement() argument
[all …]
/external/v8/src/crankshaft/
Dtyping.cc54 void AstTyper::ObserveTypesAtOsrEntry(IterationStatement* stmt) { in ObserveTypesAtOsrEntry() argument
55 if (stmt->OsrEntryId() != osr_ast_id_) return; in ObserveTypesAtOsrEntry()
118 Statement* stmt = stmts->at(i); in VisitStatements() local
119 RECURSE(Visit(stmt)); in VisitStatements()
120 if (stmt->IsJump()) break; in VisitStatements()
125 void AstTyper::VisitBlock(Block* stmt) { in VisitBlock() argument
126 RECURSE(VisitStatements(stmt->statements())); in VisitBlock()
127 if (stmt->labels() != NULL) { in VisitBlock()
133 void AstTyper::VisitExpressionStatement(ExpressionStatement* stmt) { in VisitExpressionStatement() argument
134 RECURSE(Visit(stmt->expression())); in VisitExpressionStatement()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DLabeledStmt.java22 package com.github.javaparser.ast.stmt;
35 private Statement stmt; field in LabeledStmt
40 public LabeledStmt(final String label, final Statement stmt) { in LabeledStmt() argument
42 setStmt(stmt); in LabeledStmt()
45 public LabeledStmt(Range range, final String label, final Statement stmt) { in LabeledStmt() argument
48 setStmt(stmt); in LabeledStmt()
64 return stmt; in getStmt()
72 public LabeledStmt setStmt(final Statement stmt) { in setStmt() argument
73 this.stmt = stmt; in setStmt()
74 setAsParentNodeOf(this.stmt); in setStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DLabeledStmt.java22 package com.github.javaparser.ast.stmt;
34 private Statement stmt; field in LabeledStmt
39 public LabeledStmt(final String label, final Statement stmt) { in LabeledStmt() argument
41 setStmt(stmt); in LabeledStmt()
45 final String label, final Statement stmt) { in LabeledStmt() argument
48 setStmt(stmt); in LabeledStmt()
64 return stmt; in getStmt()
71 public void setStmt(final Statement stmt) { in setStmt() argument
72 this.stmt = stmt; in setStmt()
73 setAsParentNodeOf(this.stmt); in setStmt()
/external/v8/src/parsing/
Dparameter-initializer-rewriter.cc33 void VisitBlock(Block* stmt);
34 void VisitTryCatchStatement(TryCatchStatement* stmt);
35 void VisitWithStatement(WithStatement* stmt);
77 void Rewriter::VisitBlock(Block* stmt) { in VisitBlock() argument
78 if (stmt->scope() != nullptr) in VisitBlock()
79 stmt->scope()->ReplaceOuterScope(param_scope_); in VisitBlock()
81 VisitStatements(stmt->statements()); in VisitBlock()
85 void Rewriter::VisitTryCatchStatement(TryCatchStatement* stmt) { in VisitTryCatchStatement() argument
86 Visit(stmt->try_block()); in VisitTryCatchStatement()
87 stmt->scope()->ReplaceOuterScope(param_scope_); in VisitTryCatchStatement()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_stmt_LabeledStmt.txt1 Line 41) setLabel(label) ==> com.github.javaparser.ast.stmt.LabeledStmt.setLabel(java.lang.String)
2 …Line 42) setStmt(stmt) ==> com.github.javaparser.ast.stmt.LabeledStmt.setStmt(com.github.javaparse…
3 Line 47) setLabel(label) ==> com.github.javaparser.ast.stmt.LabeledStmt.setLabel(java.lang.String)
4 …Line 48) setStmt(stmt) ==> com.github.javaparser.ast.stmt.LabeledStmt.setStmt(com.github.javaparse…
5 …m.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.LabeledStmt, A)
6 … com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.LabeledStmt, A)
7 …Line 74) setAsParentNodeOf(this.stmt) ==> com.github.javaparser.ast.Node.setAsParentNodeOf(com.git…
Dcom_github_javaparser_ast_stmt_TryStmt.txt1 …TryBlock(tryBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setTryBlock(com.github.javaparser.as…
2 …chs(catchs) ==> com.github.javaparser.ast.stmt.TryStmt.setCatchs(java.util.List<com.github.javapar…
3 …ck(finallyBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setFinallyBlock(com.github.javaparser.…
4 …Line 59) setResources(resources) ==> com.github.javaparser.ast.stmt.TryStmt.setResources(java.util…
5 …TryBlock(tryBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setTryBlock(com.github.javaparser.as…
6 …chs(catchs) ==> com.github.javaparser.ast.stmt.TryStmt.setCatchs(java.util.List<com.github.javapar…
7 …ck(finallyBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setFinallyBlock(com.github.javaparser.…
8 …> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.TryStmt, A)
9 … ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.TryStmt, A)
Dcom_github_javaparser_ast_stmt_ForeachStmt.txt1 …Line 48) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.ja…
2 …Line 49) setIterable(iterable) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIterable(com.gith…
3 … 50) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparser.as…
4 …Line 57) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.ja…
5 …Line 58) setIterable(iterable) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIterable(com.gith…
6 … 59) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparser.as…
7 …Line 70) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.ja…
8 …Line 71) setIterable(new NameExpr(iterable)) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIte…
9 … 72) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparser.as…
10 …m.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.ForeachStmt, A)
[all …]
Dcom_github_javaparser_ast_stmt_IfStmt.txt1 …Line 44) setCondition(condition) ==> com.github.javaparser.ast.stmt.IfStmt.setCondition(com.github…
2 …ThenStmt(thenStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setThenStmt(com.github.javaparser.ast…
3 …ElseStmt(elseStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setElseStmt(com.github.javaparser.ast…
4 …Line 52) setCondition(condition) ==> com.github.javaparser.ast.stmt.IfStmt.setCondition(com.github…
5 …ThenStmt(thenStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setThenStmt(com.github.javaparser.ast…
6 …ElseStmt(elseStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setElseStmt(com.github.javaparser.ast…
7 …=> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.IfStmt, A)
8 …) ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.IfStmt, A)
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 …ne 55) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.ast.
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 …ne 65) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.ast.
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/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_stmt_LabeledStmt.txt2 [ Class com.github.javaparser.ast.stmt.LabeledStmt ]
3 superclass: com.github.javaparser.ast.stmt.Statement
8 Line 41) setStmt(stmt) ==> void
14 Line 48) setStmt(stmt) ==> void
18 Line 64) stmt ==> com.github.javaparser.ast.stmt.Statement
20 Line 72) this.stmt = stmt ==> com.github.javaparser.ast.stmt.Statement
21 Line 73) setAsParentNodeOf(this.stmt) ==> void
/external/python/cpython3/Parser/
DPython.asdl9 mod = Module(stmt* body)
10 | Interactive(stmt* body)
14 | Suite(stmt* body)
16 stmt = FunctionDef(identifier name, arguments args,
17 stmt* body, expr* decorator_list, expr? returns)
19 stmt* body, expr* decorator_list, expr? returns)
24 stmt* body,
35 | For(expr target, expr iter, stmt* body, stmt* orelse)
36 | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse)
37 | While(expr test, stmt* body, stmt* orelse)
[all …]
/external/python/cpython2/Lib/
Dtimeit.py121 def __init__(self, stmt="pass", setup="pass", timer=default_timer): argument
125 if isinstance(stmt, basestring):
129 compile(setup + '\n' + stmt, dummy_src_name, "exec")
131 compile(stmt, dummy_src_name, "exec")
132 stmt = reindent(stmt, 8)
135 src = template % {'stmt': stmt, 'setup': setup, 'init': ''}
137 src = template % {'stmt': stmt, 'setup': '_setup()',
146 elif hasattr(stmt, '__call__'):
154 self.inner = _template_func(setup, stmt)
234 def timeit(stmt="pass", setup="pass", timer=default_timer, argument
[all …]
/external/v8/src/full-codegen/
Dfull-codegen.cc666 Statement* stmt, FullCodeGenerator::InsertBreak insert_break) { in SetStatementPosition() argument
667 if (stmt->position() == kNoSourcePosition) return; in SetStatementPosition()
668 RecordStatementPosition(stmt->position()); in SetStatementPosition()
670 !stmt->IsDebuggerStatement()) { in SetStatementPosition()
882 void FullCodeGenerator::VisitBlock(Block* stmt) { in VisitBlock() argument
884 NestedBlock nested_block(this, stmt); in VisitBlock()
888 this, stmt->scope(), stmt->EntryId(), stmt->DeclsId(), stmt->ExitId()); in VisitBlock()
889 VisitStatements(stmt->statements()); in VisitBlock()
903 void FullCodeGenerator::VisitExpressionStatement(ExpressionStatement* stmt) { in VisitExpressionStatement() argument
905 SetStatementPosition(stmt); in VisitExpressionStatement()
[all …]
/external/python/cpython3/Lib/
Dtimeit.py102 def __init__(self, stmt="pass", setup="pass", timer=default_timer, argument
121 if isinstance(stmt, str):
123 compile(stmtprefix + stmt, dummy_src_name, "exec")
124 stmt = reindent(stmt, 8)
125 elif callable(stmt):
126 local_ns['_stmt'] = stmt
128 stmt = '_stmt()'
131 src = template.format(stmt=stmt, setup=setup, init=init)
230 def timeit(stmt="pass", setup="pass", timer=default_timer, argument
233 return Timer(stmt, setup, timer, globals).timeit(number)
[all …]
/external/python/cpython2/Lib/compiler/
Dfuture.py7 def is_future(stmt): argument
9 if not isinstance(stmt, ast.From):
11 if stmt.modname == "__future__":
26 stmt = node.node
27 for s in stmt.nodes:
31 def check_stmt(self, stmt): argument
32 if is_future(stmt):
33 for name, asname in stmt.names:
39 stmt.valid_future = 1
/external/valgrind/VEX/priv/
Dir_defs.c3860 void sanityCheckFail ( const IRSB* bb, const IRStmt* stmt, const HChar* what ) in sanityCheckFail() argument
3864 if (stmt) { in sanityCheckFail()
3866 ppIRStmt(stmt); in sanityCheckFail()
3911 void useBeforeDef_Temp ( const IRSB* bb, const IRStmt* stmt, IRTemp tmp, in useBeforeDef_Temp() argument
3915 sanityCheckFail(bb,stmt, "out of range Temp in IRExpr"); in useBeforeDef_Temp()
3917 sanityCheckFail(bb,stmt, "IRTemp use before def in IRExpr"); in useBeforeDef_Temp()
3921 void assignedOnce_Temp(const IRSB *bb, const IRStmt *stmt, IRTemp tmp, in assignedOnce_Temp() argument
3927 sanityCheckFail(bb, stmt, err_msg_out_of_range); in assignedOnce_Temp()
3932 sanityCheckFail(bb, stmt, err_msg_assigned_more_than_once); in assignedOnce_Temp()
3937 void useBeforeDef_Expr ( const IRSB* bb, const IRStmt* stmt, in useBeforeDef_Expr() argument
[all …]
/external/python/cpython2/Parser/
DPython.asdl5 mod = Module(stmt* body)
6 | Interactive(stmt* body)
10 | Suite(stmt* body)
12 stmt = FunctionDef(identifier name, arguments args,
13 stmt* body, expr* decorator_list)
14 | ClassDef(identifier name, expr* bases, stmt* body, expr* decorator_list)
25 | For(expr target, expr iter, stmt* body, stmt* orelse)
26 | While(expr test, stmt* body, stmt* orelse)
27 | If(expr test, stmt* body, stmt* orelse)
28 | With(expr context_expr, expr? optional_vars, stmt* body)
[all …]
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeycodes.c338 included.name = include->stmt; in HandleIncludeKeycodes()
339 include->stmt = NULL; in HandleIncludeKeycodes()
341 for (IncludeStmt *stmt = include; stmt; stmt = stmt->next_incl) { in HandleIncludeKeycodes() local
345 file = ProcessIncludeFile(info->ctx, stmt, FILE_TYPE_KEYCODES); in HandleIncludeKeycodes()
356 MergeIncludedKeycodes(&included, &next_incl, stmt->merge); in HandleIncludeKeycodes()
369 HandleKeycodeDef(KeyNamesInfo *info, KeycodeDef *stmt, enum merge_mode merge) in HandleKeycodeDef() argument
371 if (stmt->merge != MERGE_DEFAULT) { in HandleKeycodeDef()
372 if (stmt->merge == MERGE_REPLACE) in HandleKeycodeDef()
375 merge = stmt->merge; in HandleKeycodeDef()
378 if (stmt->value < 0 || stmt->value > XKB_KEYCODE_MAX) { in HandleKeycodeDef()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DVoidVisitor.java44 import com.github.javaparser.ast.stmt.AssertStmt;
45 import com.github.javaparser.ast.stmt.BlockStmt;
46 import com.github.javaparser.ast.stmt.BreakStmt;
47 import com.github.javaparser.ast.stmt.CatchClause;
48 import com.github.javaparser.ast.stmt.ContinueStmt;
49 import com.github.javaparser.ast.stmt.DoStmt;
50 import com.github.javaparser.ast.stmt.EmptyStmt;
51 import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt;
52 import com.github.javaparser.ast.stmt.ExpressionStmt;
53 import com.github.javaparser.ast.stmt.ForStmt;
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DVoidVisitor.java47 import com.github.javaparser.ast.stmt.AssertStmt;
48 import com.github.javaparser.ast.stmt.BlockStmt;
49 import com.github.javaparser.ast.stmt.BreakStmt;
50 import com.github.javaparser.ast.stmt.CatchClause;
51 import com.github.javaparser.ast.stmt.ContinueStmt;
52 import com.github.javaparser.ast.stmt.DoStmt;
53 import com.github.javaparser.ast.stmt.EmptyStmt;
54 import com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt;
55 import com.github.javaparser.ast.stmt.ExpressionStmt;
56 import com.github.javaparser.ast.stmt.ForStmt;
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteStatementTest.java72 SQLiteStatement stmt = database.compileStatement("SELECT count(*) FROM `countme`"); in simpleQueryTest() local
73 assertThat(stmt.simpleQueryForLong(), equalTo(0L)); in simpleQueryTest()
74 assertThat(stmt.simpleQueryForString(), equalTo("0")); in simpleQueryTest()
80 assertThat(stmt.simpleQueryForLong(), equalTo(1L)); in simpleQueryTest()
81 assertThat(stmt.simpleQueryForString(), equalTo("1")); in simpleQueryTest()
85 assertThat(stmt.simpleQueryForLong(), equalTo(2L)); in simpleQueryTest()
86 assertThat(stmt.simpleQueryForString(), equalTo("2")); in simpleQueryTest()
92 …SQLiteStatement stmt = database.compileStatement("SELECT * FROM `countme` where `name`= 'cessation… in simpleQueryForStringThrowsSQLiteDoneExceptionTest() local
94 assertThat(stmt.simpleQueryForString(), equalTo("0")); in simpleQueryForStringThrowsSQLiteDoneExceptionTest()
100 …SQLiteStatement stmt = database.compileStatement("SELECT * FROM `countme` where `name`= 'cessation… in simpleQueryForLongThrowsSQLiteDoneExceptionTest() local
[all …]
/external/v8/src/interpreter/
Dbytecode-generator.cc106 void Break(Statement* stmt) { PerformCommand(CMD_BREAK, stmt); } in Break() argument
107 void Continue(Statement* stmt) { PerformCommand(CMD_CONTINUE, stmt); } in Continue() argument
795 void BytecodeGenerator::VisitIterationHeader(IterationStatement* stmt, in VisitIterationHeader() argument
799 if (stmt->yield_count() == 0) { in VisitIterationHeader()
806 size_t first_yield = stmt->first_yield_id(); in VisitIterationHeader()
807 DCHECK_LE(first_yield + stmt->yield_count(), in VisitIterationHeader()
809 for (size_t id = first_yield; id < first_yield + stmt->yield_count(); in VisitIterationHeader()
826 stmt->yield_count(), generator_resume_points_); in VisitIterationHeader()
862 void BytecodeGenerator::VisitBlock(Block* stmt) { in VisitBlock() argument
864 CurrentScope current_scope(this, stmt->scope()); in VisitBlock()
[all …]

12345678910>>...23