/external/tensorflow/tensorflow/core/lib/db/ |
D | sqlite_test.cc | 43 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/rust/crates/rusqlite/src/ |
D | row.rs | 10 pub struct Rows<'stmt> { 11 pub(crate) stmt: Option<&'stmt Statement<'stmt>>, field 12 row: Option<Row<'stmt>>, 15 impl<'stmt> Rows<'stmt> { 17 if let Some(stmt) = self.stmt.take() { in reset() 18 stmt.reset(); in reset() 34 pub fn next(&mut self) -> Result<Option<&Row<'stmt>>> { in next() argument 50 pub fn map<F, B>(self, f: F) -> Map<'stmt, F> in map() argument 59 pub fn mapped<F, B>(self, f: F) -> MappedRows<'stmt, F> in mapped() argument 69 pub fn and_then<F, T, E>(self, f: F) -> AndThenRows<'stmt, F> in and_then() argument [all …]
|
D | cache.rs | 65 stmt: Option<Statement<'conn>>, field 73 self.stmt.as_ref().unwrap() in deref() 79 self.stmt.as_mut().unwrap() in deref_mut() 86 if let Some(stmt) = self.stmt.take() { in drop() 87 self.cache.cache_stmt(unsafe { stmt.into_raw() }); in drop() 93 fn new<'conn>(stmt: Statement<'conn>, cache: &'conn StatementCache) -> CachedStatement<'conn> { in new() 95 stmt: Some(stmt), in new() 103 self.stmt = None; in discard() 131 let stmt = match cache.remove(trimmed) { in get() localVariable 135 stmt.map(|mut stmt| { in get() [all …]
|
D | column.rs | 7 pub struct Column<'stmt> { 8 name: &'stmt str, 9 decl_type: Option<&'stmt str>, 39 self.stmt.column_count() in column_count() 58 self.stmt in column_name() 81 if bytes.eq_ignore_ascii_case(self.stmt.column_name(i).unwrap().to_bytes()) { in column_index() 95 let slice = self.stmt.column_decltype(i); in columns() 105 impl<'stmt> Rows<'stmt> { 108 self.stmt.map(Statement::column_names) in column_names() 113 self.stmt.map(Statement::column_count) in column_count() [all …]
|
D | statement.rs | 20 pub(crate) stmt: RawStatement, field 439 Ok(self.stmt.bind_parameter_index(name)) in parameter_index() 447 let expected = self.stmt.bind_parameter_count(); in bind_parameters() 476 self.stmt.bind_parameter_count() in parameter_count() 564 let ptr = unsafe { self.stmt.ptr() }; in bind_parameter() 615 let r = self.stmt.step(); in execute_with_bound_parameters() 616 self.stmt.reset(); in execute_with_bound_parameters() 625 let mut stmt = unsafe { RawStatement::new(ptr::null_mut(), 0) }; in finalize_() localVariable 626 mem::swap(&mut stmt, &mut self.stmt); in finalize_() 627 self.conn.decode_result(stmt.finalize()) in finalize_() [all …]
|
/external/llvm-project/flang/docs/ |
D | f2018-grammar.md | 21 [use-stmt]... [import-stmt]... [implicit-part] 23 R505 implicit-part -> [implicit-part-stmt]... implicit-stmt 24 R506 implicit-part-stmt -> 25 implicit-stmt | parameter-stmt | format-stmt | entry-stmt 27 specification-construct | data-stmt | format-stmt | entry-stmt | 28 stmt-function-stmt 30 derived-type-def | enum-def | generic-stmt | interface-block | 31 parameter-stmt | procedure-declaration-stmt | 32 other-specification-stmt | type-declaration-stmt 35 executable-construct | format-stmt | entry-stmt | data-stmt [all …]
|
/external/oss-fuzz/projects/mysql-server/targets/ |
D | fuzz_stmt_fetch.cc | 41 MYSQL_STMT *stmt = mysql_stmt_init(&mysql); in LLVMFuzzerTestOneInput() local 42 if (!stmt) in LLVMFuzzerTestOneInput() 44 mysql_stmt_close(stmt); in LLVMFuzzerTestOneInput() 48 …if (mysql_stmt_prepare(stmt, "SELECT col1, col2, col3, col4 FROM Cars",(ulong)strlen("SELECT col1,… in LLVMFuzzerTestOneInput() 50 mysql_stmt_close(stmt); in LLVMFuzzerTestOneInput() 54 prepare_meta_result = mysql_stmt_result_metadata(stmt); in LLVMFuzzerTestOneInput() 57 mysql_stmt_close(stmt); in LLVMFuzzerTestOneInput() 62 if (mysql_stmt_execute(stmt)) in LLVMFuzzerTestOneInput() 64 mysql_stmt_close(stmt); in LLVMFuzzerTestOneInput() 99 if (mysql_stmt_bind_result(stmt, bind)) in LLVMFuzzerTestOneInput() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | LabeledStmt.java | 22 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/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | LabeledStmt.java | 22 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/llvm-project/polly/lib/External/ppcg/ |
D | gpu_print.c | 127 struct ppcg_kernel_stmt *stmt) in stmt_print_local_index() argument 129 return isl_printer_print_ast_expr(p, stmt->u.c.local_index); in stmt_print_local_index() 137 __isl_take isl_printer *p, struct ppcg_kernel_stmt *stmt) in stmt_print_global_index() argument 139 struct gpu_array_info *array = stmt->u.c.array; in stmt_print_global_index() 149 index = isl_ast_expr_copy(stmt->u.c.index); in stmt_print_global_index() 168 struct ppcg_kernel_stmt *stmt) in ppcg_kernel_print_copy() argument 171 if (stmt->u.c.read) { in ppcg_kernel_print_copy() 172 p = stmt_print_local_index(p, stmt); in ppcg_kernel_print_copy() 174 p = stmt_print_global_index(p, stmt); in ppcg_kernel_print_copy() 176 p = stmt_print_global_index(p, stmt); in ppcg_kernel_print_copy() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_stmt_LabeledStmt.txt | 1 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…
|
D | com_github_javaparser_ast_stmt_ForeachStmt.txt | 1 …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 …]
|
D | com_github_javaparser_ast_stmt_TryStmt.txt | 1 …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)
|
D | com_github_javaparser_ast_stmt_IfStmt.txt | 1 …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)
|
/external/llvm-project/flang/lib/Semantics/ |
D | program-tree.cpp | 61 const auto &stmt{ in Build() local 65 auto result{stmt ? BuildSubprogramTree(stmt->statement.v, x).set_stmt(*stmt) in Build() 71 const auto &stmt{std::get<parser::Statement<parser::FunctionStmt>>(x.t)}; in Build() local 73 const auto &name{std::get<parser::Name>(stmt.statement.t)}; in Build() 74 return BuildSubprogramTree(name, x).set_stmt(stmt).set_endStmt(end); in Build() 78 const auto &stmt{std::get<parser::Statement<parser::SubroutineStmt>>(x.t)}; in Build() local 80 const auto &name{std::get<parser::Name>(stmt.statement.t)}; in Build() 81 return BuildSubprogramTree(name, x).set_stmt(stmt).set_endStmt(end); in Build() 85 const auto &stmt{std::get<parser::Statement<parser::MpSubprogramStmt>>(x.t)}; in Build() local 88 const auto &name{stmt.statement.v}; in Build() [all …]
|
D | check-select-type.cpp | 36 const auto &stmt{std::get<parser::Statement<parser::TypeGuardStmt>>(c.t)}; in AddTypeCase() local 37 const parser::TypeGuardStmt &typeGuardStmt{stmt.statement}; in AddTypeCase() 40 typeCases_.emplace_back(stmt, std::nullopt); in AddTypeCase() 42 if (PassesChecksOnGuard(stmt, *type)) { in AddTypeCase() 43 typeCases_.emplace_back(stmt, *type); in AddTypeCase() 74 bool PassesChecksOnGuard(const parser::Statement<parser::TypeGuardStmt> &stmt, in PassesChecksOnGuard() argument 76 const parser::TypeGuardStmt &typeGuardStmt{stmt.statement}; in PassesChecksOnGuard() 89 context_.Say(stmt.source, in PassesChecksOnGuard() 156 : stmt{s} { in TypeCase() 161 const auto &guard{GetGuardFromStmt(stmt)}; in SetGuardType() [all …]
|
/external/llvm-project/polly/test/Isl/CodeGen/ |
D | non-affine-phi-node-expansion-2.ll | 6 ; CHECK: polly.stmt.bb3: ; preds = %polly.stmt.bb3.entry 10 ; CHECK: br i1 %p_tmp8, label %polly.stmt.bb9, label %polly.stmt.bb10 12 ; CHECK: polly.stmt.bb9: ; preds = %polly.stmt.bb3 13 ; CHECK: br label %polly.stmt.bb11.exit 15 ; CHECK: polly.stmt.bb10: ; preds = %polly.stmt.bb3 16 ; CHECK: br label %polly.stmt.bb11.exit 18 ; CHECK: polly.stmt.bb11.exit: ; preds = %polly.stmt.bb10, %polly.stmt.… 19 ; CHECK: %polly.tmp12 = phi double [ 1.000000e+00, %polly.stmt.bb9 ], [ 2.000000e+00, %polly.stmt…
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
D | com_github_javaparser_ast_stmt_LabeledStmt.txt | 2 [ 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/autotest/metadata/utils/ |
D | control_files.py | 64 stmt = _find_last_global_assignment(module.body, 'NAME') 65 if stmt is None: 67 name = _extract_str_value(stmt) 84 for stmt in stmts: 85 if isinstance(stmt, ast.Assign) and _contains_name(stmt.targets, name): 86 found.append(stmt) 102 def _extract_str_value(stmt: ast.Assign) -> str: 103 if not isinstance(stmt.value, ast.Constant): 106 type(stmt.value)) 107 v = str(stmt.value.value) [all …]
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/ |
D | declarations.py | 161 stmt = line 168 yield (stmt, blocks) 184 def parse_func(stmt, body): argument 186 header, _, end = stmt.partition(body) 220 def _parse_var(stmt): argument 222 stmt = stmt.rstrip(';') 223 m = LOCAL_STMT_START_RE.match(stmt) 226 name = stmt[len(vartype):].partition('=')[0].strip() 267 def parse_compound(stmt, blocks): argument 287 for stmt, body in _iter_global(lines): [all …]
|
/external/python/cpython2/Lib/ |
D | timeit.py | 121 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/cpython2/Lib/compiler/ |
D | future.py | 7 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/skia/src/sksl/ir/ |
D | SkSLSwitchStatement.cpp | 27 for (const std::unique_ptr<Statement>& stmt : this->cases()) { in clone() 28 cases.push_back(stmt->clone()); in clone() 56 for (const std::unique_ptr<Statement>& stmt : cases) { in find_duplicate_case_values() local 57 const SwitchCase* sc = &stmt->as<SwitchCase>(); in find_duplicate_case_values() 84 static void move_all_but_break(std::unique_ptr<Statement>& stmt, StatementArray* target) { in move_all_but_break() argument 85 switch (stmt->kind()) { in move_all_but_break() 88 Block& block = stmt->as<Block>(); in move_all_but_break() 92 for (std::unique_ptr<Statement>& stmt : block.children()) { in move_all_but_break() 93 move_all_but_break(stmt, &blockStmts); in move_all_but_break() 107 target->push_back(std::move(stmt)); in move_all_but_break() [all …]
|
/external/python/cpython3/Lib/ |
D | timeit.py | 101 def __init__(self, stmt="pass", setup="pass", timer=default_timer, argument 120 if isinstance(stmt, str): 122 compile(stmtprefix + stmt, dummy_src_name, "exec") 123 stmt = reindent(stmt, 8) 124 elif callable(stmt): 125 local_ns['_stmt'] = stmt 127 stmt = '_stmt()' 130 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/cpython3/Parser/ |
D | Python.asdl | 6 mod = Module(stmt* body, type_ignore* type_ignores) 7 | Interactive(stmt* body) 11 stmt = FunctionDef(identifier name, arguments args, 12 stmt* body, expr* decorator_list, expr? returns, 15 stmt* body, expr* decorator_list, expr? returns, 21 stmt* body, 32 | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment) 33 | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment) 34 | While(expr test, stmt* body, stmt* orelse) 35 | If(expr test, stmt* body, stmt* orelse) [all …]
|