Searched refs:StatementRef (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/sql/
H A Dconnection.h84 class StatementRef; // Forward declaration, see real one below.
330 // If the |sql| has an error, an invalid, inert StatementRef is returned (and
348 scoped_refptr<StatementRef> GetCachedStatement(const StatementID& id,
360 scoped_refptr<StatementRef> GetUniqueStatement(const char* sql);
413 // Statement accesses StatementRef which we don't want to expose to everybody
451 // A StatementRef is a refcounted wrapper around a sqlite statement pointer.
460 // The Connection may revoke a StatementRef in some error cases, so callers
462 class SQL_EXPORT StatementRef : public base::RefCounted<StatementRef> { class in class:sql::Connection
472 StatementRef(Connectio
[all...]
H A Dstatement.h50 explicit Statement(scoped_refptr<Connection::StatementRef> ref);
55 void Assign(scoped_refptr<Connection::StatementRef> ref);
58 // the default constructor, releasing the StatementRef.
179 scoped_refptr<Connection::StatementRef> ref_;
H A Dconnection.cc176 Connection::StatementRef::StatementRef(Connection* connection, function in class:sql::Connection::StatementRef
186 Connection::StatementRef::~StatementRef() {
192 void Connection::StatementRef::Close(bool forced) {
696 scoped_refptr<Connection::StatementRef> Connection::GetCachedStatement(
710 scoped_refptr<StatementRef> statement = GetUniqueStatement(sql);
716 scoped_refptr<Connection::StatementRef> Connection::GetUniqueStatement(
722 return new StatementRef(NULL, NULL, poisoned_);
732 return new StatementRef(NUL
[all...]
H A Dstatement.cc18 : ref_(new Connection::StatementRef(NULL, NULL, false)),
23 Statement::Statement(scoped_refptr<Connection::StatementRef> ref)
36 void Statement::Assign(scoped_refptr<Connection::StatementRef> ref) {
42 Assign(new Connection::StatementRef(NULL, NULL, false));

Completed in 89 milliseconds