HomeSort by relevance Sort by last modified time
    Searched refs:stmt (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /external/javasqlite/src/main/java/SQLite/
Trace.java 12 * @param stmt SQL statement string
15 public void trace(String stmt);
Profile.java 13 * @param stmt SQL statement string
17 public void profile(String stmt, long est);
  /frameworks/base/core/tests/coretests/src/android/database/sqlite/
SQLiteStatementTest.java 61 final String stmt = "SELECT * FROM test_pstmt WHERE i = ?"; local
66 SQLiteStatement s1 = mDatabase.compileStatement(stmt);
92 final String stmt = "SELECT * FROM test_pstmt WHERE i = ?"; local
93 final SQLiteStatement s1 = mDatabase.compileStatement(stmt);
153 SQLiteStatement stmt = mDatabase.compileStatement("insert into t values(?,?);"); local
154 assertEquals(mDatabase.mNativeHandle, stmt.nHandle);
155 assertEquals(mDatabase, stmt.mDatabase);
157 assertEquals(0, stmt.nStatement);
158 assertEquals(0, stmt.getSqlStatementId());
160 stmt.bindLong(1, colValue)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java 324 SQLiteStatement stmt = null; local
330 stmt = db.compileStatement("INSERT INTO system(name,value)"
332 loadDefaultAnimationSettings(stmt);
336 if (stmt != null) stmt.close();
373 SQLiteStatement stmt = null; local
375 stmt = db.compileStatement("INSERT OR IGNORE INTO secure(name,value)"
377 loadSecure35Settings(stmt);
381 if (stmt != null) stmt.close()
416 SQLiteStatement stmt = null; local
455 SQLiteStatement stmt = null; local
477 SQLiteStatement stmt = null; local
497 SQLiteStatement stmt = null; local
516 SQLiteStatement stmt = null; local
604 SQLiteStatement stmt = null; local
645 SQLiteStatement stmt = null; local
690 SQLiteStatement stmt = null; local
710 SQLiteStatement stmt = null; local
735 SQLiteStatement stmt = null; local
758 SQLiteStatement stmt = null; local
774 SQLiteStatement stmt = null; local
835 SQLiteStatement stmt = null; local
857 SQLiteStatement stmt = null; local
902 SQLiteStatement stmt = null; local
958 SQLiteStatement stmt = null; local
975 SQLiteStatement stmt = null; local
1082 SQLiteStatement stmt = null; local
1111 SQLiteStatement stmt = null; local
1125 SQLiteStatement stmt = null; local
1246 SQLiteStatement stmt = null; local
1308 SQLiteStatement stmt = null; local
1332 SQLiteStatement stmt = null; local
1450 SQLiteStatement stmt = null; local
    [all...]
  /external/chromium/app/sql/
statement.cc 45 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_DONE;
51 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_ROW;
59 sqlite3_clear_bindings(ref_->stmt());
60 sqlite3_reset(ref_->stmt());
73 int err = CheckError(sqlite3_bind_null(ref_->stmt(), col + 1));
85 int err = CheckError(sqlite3_bind_int(ref_->stmt(), col + 1, val));
93 int err = CheckError(sqlite3_bind_int64(ref_->stmt(), col + 1, val));
101 int err = CheckError(sqlite3_bind_double(ref_->stmt(), col + 1, val));
109 int err = CheckError(sqlite3_bind_text(ref_->stmt(), col + 1, val, -1,
118 int err = CheckError(sqlite3_bind_text(ref_->stmt(), col + 1, val.data()
    [all...]
diagnostic_error_delegate.h 29 Statement* stmt) {
sqlite_features_unittest.cc 25 sql::Statement* stmt) {
27 const char* sql_txt = stmt ? stmt->GetSQLStatement() : NULL;
connection.h 84 // |connection| is db connection where the error happened and |stmt| is
88 // |stmt| MAY BE NULL if there is no statement causing the problem (i.e. on
94 virtual int OnError(int error, Connection* connection, Statement* stmt) = 0;
231 // sql::Statement stmt(connection_.GetCachedStatement(
233 // if (!stmt)
300 StatementRef(Connection* connection, sqlite3_stmt* stmt);
311 sqlite3_stmt* stmt() const { return stmt_; } function in class:sql::Connection::StatementRef
343 int OnSqliteError(int err, Statement* stmt);
connection.cc 68 sqlite3_stmt* stmt)
70 stmt_(stmt) {
234 sqlite3_reset(i->second->stmt());
249 sqlite3_stmt* stmt = NULL;
250 if (sqlite3_prepare_v2(db_, sql, -1, &stmt, NULL) != SQLITE_OK) {
256 return new StatementRef(this, stmt);
415 int Connection::OnSqliteError(int err, sql::Statement *stmt) {
417 return error_delegate_->OnError(err, this, stmt);
  /external/v8/src/
full-codegen.cc 43 void BreakableStatementChecker::Check(Statement* stmt) {
44 Visit(stmt);
57 void BreakableStatementChecker::VisitBlock(Block* stmt) {
62 ExpressionStatement* stmt) {
64 Visit(stmt->expression());
68 void BreakableStatementChecker::VisitEmptyStatement(EmptyStatement* stmt) {
72 void BreakableStatementChecker::VisitIfStatement(IfStatement* stmt) {
74 Visit(stmt->condition());
79 ContinueStatement* stmt) {
83 void BreakableStatementChecker::VisitBreakStatement(BreakStatement* stmt) {
    [all...]
data-flow.cc 89 Variable* AssignedVariablesAnalyzer::FindSmiLoopVariable(ForStatement* stmt) {
91 if (stmt->init() == NULL || stmt->cond() == NULL || stmt->next() == NULL) {
95 Assignment* init = stmt->init()->StatementAsSimpleAssignment();
111 CompareOperation* cond = stmt->cond()->AsCompareOperation();
127 CountOperation* update = stmt->next()->StatementAsCountOperation();
190 void AssignedVariablesAnalyzer::VisitBlock(Block* stmt) {
191 VisitStatements(stmt->statements());
196 ExpressionStatement* stmt) {
    [all...]
prettyprinter.cc 1164 void JsonAstBuilder::VisitBlock(Block* stmt) {
1166 VisitStatements(stmt->statements());
1170 void JsonAstBuilder::VisitExpressionStatement(ExpressionStatement* stmt) {
1172 Visit(stmt->expression());
1176 void JsonAstBuilder::VisitEmptyStatement(EmptyStatement* stmt) {
1181 void JsonAstBuilder::VisitIfStatement(IfStatement* stmt) {
1183 Visit(stmt->condition());
1184 Visit(stmt->then_statement());
1185 Visit(stmt->else_statement());
1189 void JsonAstBuilder::VisitContinueStatement(ContinueStatement* stmt) {
    [all...]
  /external/clang/include/clang/Sema/
ScopeInfo.h 38 const Stmt *stmt; member in class:clang::sema::PossiblyUnreachableDiag
41 const Stmt *stmt)
42 : PD(PD), Loc(Loc), stmt(stmt) {}
  /external/valgrind/main/VEX/priv/
ir_defs.c 3286 IRStmt* stmt; local
    [all...]
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/
tree-flow-inline.h 277 get_lineno (const_gimple stmt)
281 if (!stmt)
284 loc = gimple_location (stmt);
346 in STMT. */
348 link_imm_use_stmt (ssa_use_operand_t *linknode, tree def, gimple stmt)
350 if (stmt)
354 linknode->loc.stmt = stmt;
375 in STMT. */
378 gimple stmt)
    [all...]
tree-iterator.h 86 return &i.ptr->stmt;
92 return i.ptr->stmt;
gimple.h 126 gimple stmt; local
161 return (n) ? n->stmt : NULL;
180 return (n) ? n->stmt : NULL;
213 /* Allocate a new sequence and initialize its first element with STMT. */
216 gimple_seq_alloc_with_stmt (gimple stmt)
219 gimple_seq_add_stmt (&seq, stmt);
1127 /* Return the file name of the location of STMT. */
1130 gimple_filename (const_gimple stmt)
1132 return LOCATION_FILE (gimple_location (stmt));
1136 /* Return the line number of the location of STMT. *
    [all...]
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/
tree-flow-inline.h 277 get_lineno (const_gimple stmt)
281 if (!stmt)
284 loc = gimple_location (stmt);
346 in STMT. */
348 link_imm_use_stmt (ssa_use_operand_t *linknode, tree def, gimple stmt)
350 if (stmt)
354 linknode->loc.stmt = stmt;
375 in STMT. */
378 gimple stmt)
    [all...]
tree-iterator.h 86 return &i.ptr->stmt;
92 return i.ptr->stmt;
gimple.h 126 gimple stmt; local
161 return (n) ? n->stmt : NULL;
180 return (n) ? n->stmt : NULL;
213 /* Allocate a new sequence and initialize its first element with STMT. */
216 gimple_seq_alloc_with_stmt (gimple stmt)
219 gimple_seq_add_stmt (&seq, stmt);
1127 /* Return the file name of the location of STMT. */
1130 gimple_filename (const_gimple stmt)
1132 return LOCATION_FILE (gimple_location (stmt));
1136 /* Return the line number of the location of STMT. *
    [all...]
  /prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/
tree-flow-inline.h 277 get_lineno (const_gimple stmt)
281 if (!stmt)
284 loc = gimple_location (stmt);
346 in STMT. */
348 link_imm_use_stmt (ssa_use_operand_t *linknode, tree def, gimple stmt)
350 if (stmt)
354 linknode->loc.stmt = stmt;
375 in STMT. */
378 gimple stmt)
    [all...]
tree-iterator.h 86 return &i.ptr->stmt;
92 return i.ptr->stmt;
gimple.h 126 gimple stmt; local
161 return (n) ? n->stmt : NULL;
180 return (n) ? n->stmt : NULL;
213 /* Allocate a new sequence and initialize its first element with STMT. */
216 gimple_seq_alloc_with_stmt (gimple stmt)
219 gimple_seq_add_stmt (&seq, stmt);
1127 /* Return the file name of the location of STMT. */
1130 gimple_filename (const_gimple stmt)
1132 return LOCATION_FILE (gimple_location (stmt));
1136 /* Return the line number of the location of STMT. *
    [all...]
  /external/clang/include/clang/AST/
StmtIterator.h 25 class Stmt;
34 Stmt **stmt; member in class:clang::StmtIteratorBase
68 Stmt*& GetDeclExpr() const;
70 StmtIteratorBase(Stmt **s) : stmt(s), decl(0), RawVAPtr(0) {}
71 StmtIteratorBase(Decl *d, Stmt **s);
74 StmtIteratorBase() : stmt(0), decl(0), RawVAPtr(0) {}
87 StmtIteratorImpl(Stmt **s) : StmtIteratorBase(s) {}
89 StmtIteratorImpl(Decl *d, Stmt **s) : StmtIteratorBase(d, s) {
    [all...]
  /libcore/luni/src/test/java/libcore/sqlite/
AbstractSqlTest.java 133 * @param stmt the statement to be used for the selection of the data
138 private void assertAllFromTbl1(Statement stmt, String[] ones, short[] twos)
140 ResultSet rs = stmt.executeQuery("select * from tbl1");
194 * @param stmt the statement to be used to update the data
199 private void updateOnes(Statement stmt, String[] ones_updated, short[] twos)
202 stmt.execute("UPDATE tbl1 SET one = '" + ones_updated[i]

Completed in 624 milliseconds

1 2 3 4 5