Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/storage/
DSQLTransactionSync.cpp58 : m_database(db) in SQLTransactionSync()
64 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in SQLTransactionSync()
69 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in ~SQLTransactionSync()
76 ASSERT(m_database->scriptExecutionContext()->isContextThread()); in executeSQL()
77 if (!m_database->opened()) { in executeSQL()
82 if (!m_database->versionMatchesExpected()) { in executeSQL()
91 if (!m_database->scriptExecutionContext()->allowDatabaseAccess()) in executeSQL()
98 m_database->resetAuthorizer(); in executeSQL()
103 resultSet = statement.execute(m_database.get(), ec); in executeSQL()
118 if (m_database->lastActionChangedDatabase()) { in executeSQL()
[all …]
DSQLTransaction.cpp72 , m_database(db) in SQLTransaction()
82 ASSERT(m_database); in SQLTransaction()
92 if (!m_executeSqlAllowed || !m_database->opened()) { in executeSQL()
98 if (!m_database->scriptExecutionContext()->allowDatabaseAccess()) in executeSQL()
103 …RefPtr<SQLStatement> statement = SQLStatement::create(m_database.get(), sqlStatement, arguments, c… in executeSQL()
105 if (m_database->deleted()) in executeSQL()
108 if (!m_database->versionMatchesExpected()) in executeSQL()
152 if (m_database->opened() && !m_database->isInterrupted()) in checkAndHandleClosedOrInterruptedDatabase()
177 m_database->transactionCoordinator()->releaseLock(this); in checkAndHandleClosedOrInterruptedDatabase()
229 m_database->transactionCoordinator()->acquireLock(this); in acquireLock()
[all …]
DStorageAreaSync.cpp148 if (!m_database.isOpen()) in scheduleCloseDatabase()
231 ASSERT(!m_database.isOpen()); in openDatabase()
250 if (!m_database.open(databaseFilename)) { in openDatabase()
257 …if (!m_database.executeCommand("CREATE TABLE IF NOT EXISTS ItemTable (key TEXT UNIQUE ON CONFLICT … in openDatabase()
270 ASSERT(!m_database.isOpen()); in performImport()
273 if (!m_database.isOpen()) { in performImport()
278 SQLiteStatement query(m_database, "SELECT key, value FROM ItemTable"); in performImport()
344 if (!m_database.isOpen()) in sync()
346 if (!m_database.isOpen()) in sync()
354 m_database.close(); in sync()
[all …]
DStorageTracker.cpp88 ASSERT(!m_database.isOpen()); in setStorageDirectoryPath()
105 if (m_database.isOpen()) in openTrackerDatabase()
116 if (!m_database.open(databasePath)) { in openTrackerDatabase()
121 m_database.disableThreadingChecks(); in openTrackerDatabase()
123 if (!m_database.tableExists("Origins")) { in openTrackerDatabase()
124 …if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, path… in openTrackerDatabase()
155 if (m_database.isOpen()) { in syncImportOriginIdentifiers()
156 SQLiteStatement statement(m_database, "SELECT origin FROM Origins"); in syncImportOriginIdentifiers()
283 if (!m_database.isOpen()) in syncSetOriginDetails()
286 SQLiteStatement statement(m_database, "INSERT INTO Origins VALUES (?, ?)"); in syncSetOriginDetails()
[all …]
DIDBDatabaseCallbacksImpl.cpp41 : m_database(database) in IDBDatabaseCallbacksImpl()
51 if (m_database) in onVersionChange()
52 m_database->onVersionChange(version); in onVersionChange()
57 ASSERT(database == m_database); in unregisterDatabase()
58 m_database = 0; in unregisterDatabase()
DIDBTransactionBackendImpl.cpp47 , m_database(database) in IDBTransactionBackendImpl()
54 m_database->transactionCoordinator()->didCreateTransaction(this); in IDBTransactionBackendImpl()
76 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_database->objectStore(name); in objectStore()
126 m_database->transactionCoordinator()->didFinishTransaction(this); in abort()
127 ASSERT(!m_database->transactionCoordinator()->isActive(this)); in abort()
128 m_database = 0; in abort()
157 m_database->transactionCoordinator()->didStartTransaction(this); in start()
171 m_database->transactionCoordinator()->didFinishTransaction(this); in commit()
172 m_database = 0; in commit()
DDatabaseTracker.cpp94 ASSERT(!m_database.isOpen()); in setDatabaseDirectoryPath()
112 if (m_database.isOpen()) in openTrackerDatabase()
119 if (!m_database.open(databasePath)) { in openTrackerDatabase()
124 m_database.disableThreadingChecks(); in openTrackerDatabase()
125 if (!m_database.tableExists("Origins")) { in openTrackerDatabase()
126 …if (!m_database.executeCommand("CREATE TABLE Origins (origin TEXT UNIQUE ON CONFLICT REPLACE, quot… in openTrackerDatabase()
131 if (!m_database.tableExists("Databases")) { in openTrackerDatabase()
132 …if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, or… in openTrackerDatabase()
210 if (!m_database.isOpen()) in hasEntryForDatabase()
212 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?;"); in hasEntryForDatabase()
[all …]
DDatabaseThread.cpp171 SameDatabasePredicate(const Database* database) : m_database(database) { } in SameDatabasePredicate()
172 bool operator()(DatabaseTask* task) const { return task->database() == m_database; } in operator ()()
174 const Database* m_database; member in WebCore::SameDatabasePredicate
DSQLTransactionSync.h59 DatabaseSync* database() { return m_database.get(); } in database()
70 RefPtr<DatabaseSync> m_database; variable
DDatabaseSync.cpp170 m_database->closeImmediately(); in performTask()
175 : m_database(database) in CloseSyncDatabaseOnContextThreadTask()
179 RefPtr<DatabaseSync> m_database; member in WebCore::CloseSyncDatabaseOnContextThreadTask
DDatabaseTask.cpp63 : m_database(database) in DatabaseTask()
87 m_database->resetAuthorizer(); in performTask()
DSQLTransaction.h76 Database* database() { return m_database.get(); } in database()
116 RefPtr<Database> m_database; variable
DDatabaseTask.h78 Database* database() const { return m_database; } in database()
90 Database* m_database; variable
DIDBTransaction.cpp52 , m_database(db) in IDBTransaction()
81 return m_database.get(); in db()
DIDBDatabaseCallbacksImpl.h51 IDBDatabase* m_database; variable
DDatabase.cpp74 m_creationCallback->handleEvent(m_database.get()); in performTask()
79 : m_database(database) in DatabaseCreationCallbackTask()
84 RefPtr<Database> m_database; member in WebCore::DatabaseCreationCallbackTask
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheStorage.cpp102 if (!m_database.isOpen()) in loadCacheGroup()
105 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in loadCacheGroup()
116 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); in loadCacheGroup()
176 if (!m_database.isOpen()) in loadManifestHostHashes()
180 SQLiteStatement statement(m_database, "SELECT manifestHostHash FROM CacheGroups"); in loadManifestHostHashes()
218 if (!m_database.isOpen()) in cacheGroupForURL()
222 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in cacheGroupForURL()
260 LOG_ERROR("Could not load cache group, error \"%s\"", m_database.lastErrorMsg()); in cacheGroupForURL()
288 if (!m_database.isOpen()) in fallbackCacheGroupForURL()
292 …SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE … in fallbackCacheGroupForURL()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebDatabase.cpp63 ASSERT(m_database); in name()
64 return m_database->stringIdentifier(); in name()
69 ASSERT(m_database); in displayName()
70 return m_database->displayName(); in displayName()
75 ASSERT(m_database); in estimatedSize()
76 return m_database->estimatedSize(); in estimatedSize()
81 ASSERT(m_database); in securityOrigin()
82 return WebSecurityOrigin(m_database->securityOrigin()); in securityOrigin()
117 : m_database(database) in WebDatabase()
/external/webkit/Source/WebKit/qt/Api/
Dqwebplugindatabase.cpp264 , m_database(PluginDatabase::installedPlugins()) in QWebPluginDatabase()
283 const Vector<PluginPackage*>& plugins = m_database->plugins(); in plugins()
322 const Vector<String>& directories = m_database->pluginDirectories(); in searchPaths()
342 m_database->setPluginDirectories(directories); in setSearchPaths()
344 m_database->refresh(); in setSearchPaths()
355 m_database->addExtraPluginDirectory(path); in addSearchPath()
369 m_database->refresh(); in refresh()
379 return QWebPluginInfo(m_database->pluginForMIMEType(mimeType)); in pluginForMimeType()
392 m_database->setPreferredPluginForMIMEType(mimeType, plugin.m_package); in setPreferredPluginForMimeType()
/external/webkit/Source/WebCore/platform/sql/
DSQLiteStatement.cpp50 : m_database(db) in SQLiteStatement()
68 MutexLocker databaseLock(m_database.databaseMutex()); in prepare()
69 if (m_database.isInterrupted()) in prepare()
75 …int error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), strippedQuery.charactersWithNullTermi… in prepare()
82 …error = sqlite3_prepare16_v2(m_database.sqlite3Handle(), m_query.charactersWithNullTermination(), … in prepare()
86 …16 failed (%i)\n%s\n%s", error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())… in prepare()
100 MutexLocker databaseLock(m_database.databaseMutex()); in step()
101 if (m_database.isInterrupted()) in step()
110 error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())); in step()
463 if (m_database.lastError() != SQLITE_DONE) { in returnTextResults()
[all …]
DSQLiteStatement.h92 SQLiteDatabase* database() { return &m_database; } in database()
97 SQLiteDatabase& m_database;
/external/webkit/Source/WebCore/storage/chromium/
DSQLTransactionClientChromium.cpp51 WebCore::DatabaseObserver::databaseModified(m_database.get()); in performTask()
56 : m_database(database) in NotifyDatabaseChangedTask()
60 RefPtr<AbstractDatabase> m_database; member in WebCore::NotifyDatabaseChangedTask
DDatabaseTrackerChromium.cpp108 DatabaseTracker::tracker().removeOpenDatabase(m_database.get()); in performTask()
113 : m_database(database) in TrackerRemoveOpenDatabaseTask()
117 RefPtr<AbstractDatabase> m_database; member in WebCore::TrackerRemoveOpenDatabaseTask
/external/webkit/Source/WebCore/inspector/
DInspectorDatabaseResource.h50 Database* database() { return m_database.get(); } in database()
51 void setDatabase(PassRefPtr<Database> database) { m_database = database; } in setDatabase()
57 RefPtr<Database> m_database; variable
/external/webkit/Source/WebKit/chromium/public/
DWebDatabase.h66 const WebCore::AbstractDatabase* m_database; variable

12