Home
last modified time | relevance | path

Searched refs:stmt_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/common/
Dsqlite_utils.cc282 DCHECK(!stmt_); in prepare()
283 int rv = sqlite3_prepare_v2(db, sql, sql_len, &stmt_, NULL); in prepare()
292 DCHECK(stmt_); in step()
293 int status = sqlite3_step(stmt_); in step()
302 DCHECK(stmt_); in reset()
303 return sqlite3_reset(stmt_); in reset()
307 DCHECK(stmt_); in last_insert_rowid()
312 DCHECK(stmt_); in changes()
317 DCHECK(stmt_); in db_handle()
318 return sqlite3_db_handle(stmt_); in db_handle()
[all …]
Dsqlite_utils.h184 scoped_sqlite3_stmt_ptr() : stmt_(NULL) { in scoped_sqlite3_stmt_ptr()
188 : stmt_(stmt) { in scoped_sqlite3_stmt_ptr()
192 return stmt_; in get()
197 stmt_ = stmt; in set()
201 sqlite3_stmt* tmp = stmt_; in release()
202 stmt_ = NULL; in release()
214 int err = sqlite3_finalize(stmt_); in finalize()
215 stmt_ = NULL; in finalize()
220 sqlite3_stmt* stmt_;
/external/chromium/app/sql/
Dconnection.cc64 stmt_(NULL) { in StatementRef()
70 stmt_(stmt) { in StatementRef()
81 if (stmt_) { in Close()
82 sqlite3_finalize(stmt_); in Close()
83 stmt_ = NULL; in Close()
Dconnection.h303 bool is_valid() const { return !!stmt_; } in is_valid()
311 sqlite3_stmt* stmt() const { return stmt_; } in stmt()
323 sqlite3_stmt* stmt_; variable