Home
last modified time | relevance | path

Searched refs:m_database (Results 1 – 13 of 13) sorted by relevance

/external/webkit/WebCore/storage/
DSQLTransaction.cpp69 , m_database(db) in SQLTransaction()
78 ASSERT(m_database); in SQLTransaction()
87 if (!m_executeSqlAllowed || m_database->stopped()) { in executeSQL()
94 if (m_database->deleted()) in executeSQL()
97 if (!m_database->versionMatchesExpected()) in executeSQL()
139 if (!m_database->stopped()) in checkAndHandleClosedDatabase()
193 ASSERT(!m_database->m_sqliteDatabase.transactionInProgress()); in openTransactionAndPreflight()
198 if (m_database->deleted()) { in openTransactionAndPreflight()
205 m_database->m_sqliteDatabase.setMaximumSize(m_database->maximumSize()); in openTransactionAndPreflight()
208 m_sqliteTransaction.set(new SQLiteTransaction(m_database->m_sqliteDatabase)); in openTransactionAndPreflight()
[all …]
DDatabaseTracker.cpp75 ASSERT(!m_database.isOpen()); in setDatabaseDirectoryPath()
97 if (m_database.isOpen()) in openTrackerDatabase()
108 if (!m_database.open(databasePath)) { in openTrackerDatabase()
112 if (!m_database.tableExists("Origins")) { in openTrackerDatabase()
113 …if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, quot… in openTrackerDatabase()
117 if (!m_database.tableExists("Databases")) { in openTrackerDatabase()
118 …if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, or… in openTrackerDatabase()
175 if (!m_database.isOpen()) in hasEntryForDatabase()
177 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?;"); in hasEntryForDatabase()
212 if (!m_database.isOpen()) in fullPathForDatabase()
[all …]
DLocalStorageArea.cpp286 ASSERT(!m_database.isOpen()); in performImport()
296 if (!m_database.open(databaseFilename)) { in performImport()
302 …if (!m_database.executeCommand("CREATE TABLE IF NOT EXISTS ItemTable (key TEXT UNIQUE ON CONFLICT … in performImport()
308 SQLiteStatement query(m_database, "SELECT key, value FROM ItemTable"); in performImport()
354 if (!m_database.isOpen()) in performSync()
369 SQLiteStatement clear(m_database, "DELETE FROM ItemTable"); in performSync()
382 SQLiteStatement insert(m_database, "INSERT INTO ItemTable VALUES (?, ?)"); in performSync()
388 SQLiteStatement remove(m_database, "DELETE FROM ItemTable WHERE key=?"); in performSync()
DDatabaseTask.cpp37 : m_database(database) in DatabaseTask()
53 m_database->resetAuthorizer(); in performTask()
55 m_database->performPolicyChecks(); in performTask()
DSQLTransaction.h77 Database* database() { return m_database.get(); } in database()
113 RefPtr<Database> m_database; variable
DDatabaseTask.h55 Database* database() const { return m_database; } in database()
70 Database* m_database; variable
DLocalStorageArea.h73 SQLiteDatabase m_database; variable
DDatabaseTracker.h102 SQLiteDatabase m_database; variable
/external/webkit/WebCore/loader/appcache/
DApplicationCacheStorage.cpp57 if (!m_database.isOpen()) in loadCacheGroup()
60 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in loadCacheGroup()
71 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); in loadCacheGroup()
125 if (!m_database.isOpen()) in loadManifestHostHashes()
129 SQLiteStatement statement(m_database, "SELECT manifestHostHash FROM CacheGroups"); in loadManifestHostHashes()
166 if (!m_database.isOpen()) in cacheGroupForURL()
170 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in cacheGroupForURL()
206 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); in cacheGroupForURL()
230 if (!m_database.isOpen()) in fallbackCacheGroupForURL()
234 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in fallbackCacheGroupForURL()
[all …]
DApplicationCacheStorage.h86 SQLiteDatabase m_database; variable
/external/webkit/WebCore/platform/sql/
DSQLiteStatement.cpp47 : m_database(db) in SQLiteStatement()
66 …int error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), m_query.charactersWithNullTermination… in prepare()
68 …16 failed (%i)\n%s\n%s", error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())… in prepare()
84 error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())); in step()
380 if (m_database.lastError() != SQLITE_DONE) { in returnTextResults()
400 if (m_database.lastError() != SQLITE_DONE) { in returnIntResults()
420 if (m_database.lastError() != SQLITE_DONE) { in returnInt64Results()
440 if (m_database.lastError() != SQLITE_DONE) { in returnDoubleResults()
DSQLiteStatement.h87 SQLiteDatabase* database() { return &m_database; } in database()
92 SQLiteDatabase& m_database;
/external/webkit/WebCore/
DChangeLog-2008-08-1044017 * storage/SQLTransaction.h: Change m_database to be a RefPtr
50429 * storage/Database.h: (WebCore::Database::document): Changed m_database to a RefPtr to avoid