/external/webkit/Source/WebCore/storage/ |
SQLTransactionSync.cpp | 58 : m_database(db) 64 ASSERT(m_database->scriptExecutionContext()->isContextThread()); 69 ASSERT(m_database->scriptExecutionContext()->isContextThread()); 76 ASSERT(m_database->scriptExecutionContext()->isContextThread()); 77 if (!m_database->opened()) { 82 if (!m_database->versionMatchesExpected()) { 91 if (!m_database->scriptExecutionContext()->allowDatabaseAccess()) 98 m_database->resetAuthorizer(); 103 resultSet = statement.execute(m_database.get(), ec); 118 if (m_database->lastActionChangedDatabase()) [all...] |
SQLTransaction.cpp | 72 , m_database(db) 82 ASSERT(m_database); 92 if (!m_executeSqlAllowed || !m_database->opened()) { 98 if (!m_database->scriptExecutionContext()->allowDatabaseAccess()) 103 RefPtr<SQLStatement> statement = SQLStatement::create(m_database.get(), sqlStatement, arguments, callback, callbackError, permissions); 105 if (m_database->deleted()) 108 if (!m_database->versionMatchesExpected()) 152 if (m_database->opened() && !m_database->isInterrupted()) 177 m_database->transactionCoordinator()->releaseLock(this) [all...] |
IDBDatabaseCallbacksImpl.cpp | 41 : m_database(database) 51 if (m_database) 52 m_database->onVersionChange(version); 57 ASSERT(database == m_database); 58 m_database = 0;
|
IDBTransactionBackendImpl.cpp | 47 , m_database(database) 54 m_database->transactionCoordinator()->didCreateTransaction(this); 76 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_database->objectStore(name); 126 m_database->transactionCoordinator()->didFinishTransaction(this); 127 ASSERT(!m_database->transactionCoordinator()->isActive(this)); 128 m_database = 0; 157 m_database->transactionCoordinator()->didStartTransaction(this); 171 m_database->transactionCoordinator()->didFinishTransaction(this); 172 m_database = 0;
|
StorageTracker.cpp | 88 ASSERT(!m_database.isOpen()); 105 if (m_database.isOpen()) 116 if (!m_database.open(databasePath)) { 121 m_database.disableThreadingChecks(); 123 if (!m_database.tableExists("Origins")) { 124 if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, path TEXT);")) 155 if (m_database.isOpen()) { 156 SQLiteStatement statement(m_database, "SELECT origin FROM Origins"); 283 if (!m_database.isOpen()) 286 SQLiteStatement statement(m_database, "INSERT INTO Origins VALUES (?, ?)") [all...] |
DatabaseTracker.cpp | 94 ASSERT(!m_database.isOpen()); 112 if (m_database.isOpen()) 119 if (!m_database.open(databasePath)) { 124 m_database.disableThreadingChecks(); 125 if (!m_database.tableExists("Origins")) { 126 if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, quota INTEGER NOT NULL ON CONFLICT FAIL);")) { 131 if (!m_database.tableExists("Databases")) { 132 if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, origin TEXT, name TEXT, displayName TEXT, estimatedSize INTEGER, path TEXT);")) { 210 if (!m_database.isOpen()) 212 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?;") [all...] |
StorageAreaSync.cpp | 148 if (!m_database.isOpen()) 231 ASSERT(!m_database.isOpen()); 250 if (!m_database.open(databaseFilename)) { 257 if (!m_database.executeCommand("CREATE TABLE IF NOT EXISTS ItemTable (key TEXT UNIQUE ON CONFLICT REPLACE, value TEXT NOT NULL ON CONFLICT FAIL)")) { 270 ASSERT(!m_database.isOpen()); 273 if (!m_database.isOpen()) { 278 SQLiteStatement query(m_database, "SELECT key, value FROM ItemTable"); 344 if (!m_database.isOpen()) 346 if (!m_database.isOpen()) 354 m_database.close() [all...] |
IDBDatabaseCallbacksImpl.h | 50 // m_database has a RefPtr to this, so use a weak pointer to avoid a cycle. 51 IDBDatabase* m_database; member in class:WebCore::IDBDatabaseCallbacksImpl
|
SQLTransactionSync.h | 59 DatabaseSync* database() { return m_database.get(); } 70 RefPtr<DatabaseSync> m_database; member in class:WebCore::SQLTransactionSync
|
StorageTracker.h | 95 // Guard for m_database, m_storageDirectoryPath and static Strings in syncFileSystemAndTrackerDatabase(). 97 SQLiteDatabase m_database; member in class:WebCore::StorageTracker
|
DatabaseTask.h | 78 Database* database() const { return m_database; } 90 Database* m_database; member in class:WebCore::DatabaseTask
|
SQLTransaction.h | 76 Database* database() { return m_database.get(); } 116 RefPtr<Database> m_database; member in class:WebCore::SQLTransaction
|
DatabaseSync.cpp | 170 m_database->closeImmediately(); 175 : m_database(database) 179 RefPtr<DatabaseSync> m_database; member in class:WebCore::CloseSyncDatabaseOnContextThreadTask
|
DatabaseThread.cpp | 171 SameDatabasePredicate(const Database* database) : m_database(database) { } 172 bool operator()(DatabaseTask* task) const { return task->database() == m_database; } 174 const Database* m_database; member in class:WebCore::SameDatabasePredicate
|
IDBTransaction.h | 102 RefPtr<IDBDatabase> m_database; member in class:WebCore::IDBTransaction
|
IDBTransactionBackendImpl.h | 78 RefPtr<IDBDatabaseBackendImpl> m_database; member in class:WebCore::IDBTransactionBackendImpl
|
/external/webkit/Source/WebKit/chromium/src/ |
WebDatabase.cpp | 63 ASSERT(m_database); 64 return m_database->stringIdentifier(); 69 ASSERT(m_database); 70 return m_database->displayName(); 75 ASSERT(m_database); 76 return m_database->estimatedSize(); 81 ASSERT(m_database); 82 return WebSecurityOrigin(m_database->securityOrigin()); 117 : m_database(database)
|
/external/webkit/Source/WebCore/loader/appcache/ |
ApplicationCacheStorage.cpp | 102 if (!m_database.isOpen()) 105 SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE newestCache IS NOT NULL AND manifestURL=?"); 116 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); 176 if (!m_database.isOpen()) 180 SQLiteStatement statement(m_database, "SELECT manifestHostHash FROM CacheGroups"); 218 if (!m_database.isOpen()) 222 SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE newestCache IS NOT NULL"); 260 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); 288 if (!m_database.isOpen()) 292 SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE newestCache IS NOT NULL") [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseResource.h | 50 Database* database() { return m_database.get(); } 51 void setDatabase(PassRefPtr<Database> database) { m_database = database; } 57 RefPtr<Database> m_database; member in class:WebCore::InspectorDatabaseResource
|
InspectorDatabaseResource.cpp | 49 : m_database(database)
|
/external/webkit/Source/WebCore/storage/chromium/ |
SQLTransactionClientChromium.cpp | 51 WebCore::DatabaseObserver::databaseModified(m_database.get()); 56 : m_database(database) 60 RefPtr<AbstractDatabase> m_database; member in class:WebCore::NotifyDatabaseChangedTask
|
DatabaseTrackerChromium.cpp | 108 DatabaseTracker::tracker().removeOpenDatabase(m_database.get()); 113 : m_database(database) 117 RefPtr<AbstractDatabase> m_database; member in class:WebCore::TrackerRemoveOpenDatabaseTask
|
/external/webkit/Source/WebCore/platform/sql/ |
SQLiteStatement.cpp | 50 : m_database(db) 68 MutexLocker databaseLock(m_database.databaseMutex()); 69 if (m_database.isInterrupted()) 75 int error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), strippedQuery.charactersWithNullTermination(), -1, &m_statement, &tail); 82 error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), m_query.charactersWithNullTermination(), -1, &m_statement, &tail); 86 LOG(SQLDatabase, "sqlite3_prepare16 failed (%i)\n%s\n%s", error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())); 100 MutexLocker databaseLock(m_database.databaseMutex()); 101 if (m_database.isInterrupted()) 110 error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())); 463 if (m_database.lastError() != SQLITE_DONE) [all...] |
SQLiteStatement.h | 92 SQLiteDatabase* database() { return &m_database; } 97 SQLiteDatabase& m_database; member in class:WebCore::SQLiteStatement
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebplugindatabase.cpp | 264 , m_database(PluginDatabase::installedPlugins()) 283 const Vector<PluginPackage*>& plugins = m_database->plugins(); 322 const Vector<String>& directories = m_database->pluginDirectories(); 342 m_database->setPluginDirectories(directories); 344 m_database->refresh(); 355 m_database->addExtraPluginDirectory(path); 369 m_database->refresh(); 379 return QWebPluginInfo(m_database->pluginForMIMEType(mimeType)); 392 m_database->setPreferredPluginForMIMEType(mimeType, plugin.m_package);
|