Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 25 of 565) 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 if (stmt->scope() != nullptr) { in VisitBlock()
140 RECURSE_EXPRESSION(VisitDeclarations(stmt->scope()->declarations())); in VisitBlock()
142 RECURSE(VisitStatements(stmt->statements())); in VisitBlock()
147 ExpressionStatement* stmt) { in VisitExpressionStatement() argument
148 PROCESS_NODE(stmt); in VisitExpressionStatement()
[all …]
/external/v8/src/torque/
Ddeclaration-visitor.cc24 void DeclarationVisitor::Visit(Statement* stmt) { in Visit() argument
25 CurrentSourcePosition::Scope scope(stmt->pos); in Visit()
26 switch (stmt->kind) { in Visit()
29 return Visit(name::cast(stmt)); in Visit()
267 void DeclarationVisitor::Visit(ReturnStatement* stmt) { in Visit() argument
268 if (stmt->value) { in Visit()
269 Visit(*stmt->value); in Visit()
300 void DeclarationVisitor::Visit(VarDeclarationStatement* stmt) { in Visit() argument
301 std::string variable_name = stmt->name; in Visit()
302 if (!stmt->const_qualified) { in Visit()
[all …]
Ddeclaration-visitor.h35 void Visit(Statement* stmt);
63 for (Statement* stmt : expr->statements) Visit(stmt); in Visit()
65 void Visit(ExpressionStatement* stmt) { Visit(stmt->expression); } in Visit() argument
66 void Visit(TailCallStatement* stmt) { Visit(stmt->call); } in Visit() argument
98 void Visit(ReturnStatement* stmt);
100 void Visit(DebugStatement* stmt) {} in Visit() argument
101 void Visit(AssertStatement* stmt) { in Visit() argument
102 bool do_check = !stmt->debug_only; in Visit()
106 if (do_check) DeclareExpressionForBranch(stmt->expression); in Visit()
109 void Visit(VarDeclarationStatement* stmt);
[all …]
/external/v8/src/parsing/
Dexpression-scope-reparenter.cc32 void VisitBlock(Block* stmt);
33 void VisitTryCatchStatement(TryCatchStatement* stmt);
34 void VisitWithStatement(WithStatement* stmt);
87 void Reparenter::VisitBlock(Block* stmt) { in VisitBlock() argument
88 if (stmt->scope()) in VisitBlock()
89 stmt->scope()->ReplaceOuterScope(scope_); in VisitBlock()
91 VisitStatements(stmt->statements()); in VisitBlock()
94 void Reparenter::VisitTryCatchStatement(TryCatchStatement* stmt) { in VisitTryCatchStatement() argument
95 Visit(stmt->try_block()); in VisitTryCatchStatement()
96 if (stmt->scope()) { in VisitTryCatchStatement()
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg.py340 def begin_statement(self, stmt): argument
347 self.active_stmts.add(stmt)
349 def end_statement(self, stmt): argument
357 self.active_stmts.remove(stmt)
571 for stmt in self.owners[node]:
572 if stmt not in stmt_next:
573 stmt_next[stmt] = set()
574 if stmt not in stmt_prev:
575 stmt_prev[stmt] = set()
578 for stmt in stmts_exited:
[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/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/python/cpython3/Lib/
Dtimeit.py100 def __init__(self, stmt="pass", setup="pass", timer=default_timer, argument
119 if isinstance(stmt, str):
121 compile(stmtprefix + stmt, dummy_src_name, "exec")
122 stmt = reindent(stmt, 8)
123 elif callable(stmt):
124 local_ns['_stmt'] = stmt
126 stmt = '_stmt()'
129 src = template.format(stmt=stmt, setup=setup, init=init)
229 def timeit(stmt="pass", setup="pass", timer=default_timer, argument
232 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/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/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp260 bool ExtractCFGContentToMembers(Stmt* stmt, ASTContext* context) { in ExtractCFGContentToMembers() argument
262 auto inserted = cfg_cache_.emplace(stmt, nullptr); in ExtractCFGContentToMembers()
271 cfg = CFG::buildCFG(nullptr, stmt, context, opts); in ExtractCFGContentToMembers()
277 parent_map_ = llvm::make_unique<clang::ParentMap>(stmt); in ExtractCFGContentToMembers()
279 parent_map_->addStmt(stmt); in ExtractCFGContentToMembers()
285 if (auto stmt = elem.getAs<CFGStmt>()) in ExtractCFGContentToMembers() local
286 top_stmts_.insert(stmt->getStmt()); in ExtractCFGContentToMembers()
293 [&](const CFGBlock* block, const Stmt* stmt) { in ExtractCFGContentToMembers() argument
294 enclosing_block_[stmt] = block; in ExtractCFGContentToMembers()
295 for (auto* c : stmt->children()) { in ExtractCFGContentToMembers()
[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 …]
DGenericVisitor.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/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 …]
DGenericVisitor.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 …]

12345678910>>...23