/external/webkit/Source/WebCore/platform/sql/ |
SQLiteTransaction.cpp | 36 : m_db(db) 51 ASSERT(!m_db.m_transactionInProgress); 60 m_inProgress = m_db.executeCommand("BEGIN"); 62 m_inProgress = m_db.executeCommand("BEGIN IMMEDIATE"); 63 m_db.m_transactionInProgress = m_inProgress; 70 ASSERT(m_db.m_transactionInProgress); 71 m_inProgress = !m_db.executeCommand("COMMIT"); 72 m_db.m_transactionInProgress = m_inProgress; 78 // We do not use the 'm_inProgress = m_db.executeCommand("ROLLBACK")' construct here, 80 // m_db.executeCommand("ROLLBACK") can sometimes harmlessly fail, thus returnin [all...] |
SQLiteDatabase.cpp | 51 : m_db(0) 69 if (SQLiteFileSystem::openDatabase(filename, &m_db, forWebSQLDatabase) != SQLITE_OK) { 71 sqlite3_errmsg(m_db)); 72 sqlite3_close(m_db); 73 m_db = 0; 76 if (sqlite3_extended_result_codes(m_db, 1) != SQLITE_OK) { 77 LOG_ERROR("SQLite database error when enabling extended errors - %s", sqlite3_errmsg(m_db)); 78 sqlite3_close(m_db); 79 m_db = 0; 94 if (m_db) { [all...] |
SQLiteTransaction.h | 50 SQLiteDatabase& m_db; member in class:WebCore::SQLiteTransaction
|
SQLiteDatabase.h | 61 bool isOpen() const { return m_db; } 107 return m_db; 142 sqlite3* m_db; member in class:WebCore::SQLiteDatabase
|
/external/webkit/Source/WebCore/storage/ |
IDBSQLiteBackingStore.cpp | 182 if (!backingStore->m_db.open(path)) { 189 backingStore->m_db.setMaximumSize(maximumSize); 190 backingStore->m_db.turnOnIncrementalAutoVacuum(); 192 if (!createTables(backingStore->m_db)) 194 if (!migrateDatabase(backingStore->m_db)) 202 SQLiteStatement databaseQuery(m_db, "SELECT id, version FROM Databases WHERE name = ?"); 225 SQLiteStatement query(m_db, sql); 240 rowId = m_db.lastInsertRowID(); 247 SQLiteStatement query(m_db, "SELECT id, name, keyPath, doAutoIncrement FROM ObjectStores WHERE databaseId = ?"); 268 SQLiteStatement query(m_db, "INSERT INTO ObjectStores (name, keyPath, doAutoIncrement, databaseId) VALUES (?, ?, ?, ?)") 718 SQLiteDatabase& m_db; member in class:WebCore::__anon13448::CursorImplCommon [all...] |
IDBLevelDBBackingStore.cpp | 2171 LevelDBDatabase* m_db; member in class:WebCore::__anon13444::CursorImplCommon [all...] |
IDBLevelDBBackingStore.h | 81 OwnPtr<LevelDBDatabase> m_db; member in class:WebCore::IDBLevelDBBackingStore
|
IDBSQLiteBackingStore.h | 74 SQLiteDatabase m_db; member in class:WebCore::IDBSQLiteBackingStore
|
/external/webkit/Source/WebCore/platform/leveldb/ |
LevelDBDatabase.cpp | 91 : m_db(0) 116 result->m_db = WTF::adoptPtr(db); 128 return m_db->Put(writeOptions, makeSlice(key), makeSlice(value)).ok(); 136 return m_db->Delete(writeOptions, makeSlice(key)).ok(); 142 if (!m_db->Get(leveldb::ReadOptions(), makeSlice(key), &result).ok()) 151 leveldb::Iterator* i = m_db->NewIterator(leveldb::ReadOptions());
|
LevelDBDatabase.h | 59 OwnPtr<leveldb::DB> m_db; member in class:WebCore::LevelDBDatabase
|