/external/webkit/Source/WebCore/storage/ |
DatabaseCallback.h | 34 #if ENABLE(DATABASE) 40 class Database; 46 virtual bool handleEvent(Database*) = 0;
|
DatabaseTask.cpp | 31 #if ENABLE(DATABASE) 33 #include "Database.h" 62 DatabaseTask::DatabaseTask(Database* database, DatabaseTaskSynchronizer* synchronizer) 63 : m_database(database) 78 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before. 95 // Opens the database file and verifies the version matches the expected version. 97 Database::DatabaseOpenTask::DatabaseOpenTask(Database* database, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, ExceptionCode& code, bool& (…) [all...] |
DatabaseCallback.idl | 31 Conditional=DATABASE, 34 boolean handleEvent(in Database database); 35 boolean handleEvent(in DatabaseSync database);
|
DatabaseTask.h | 31 #if ENABLE(DATABASE) 32 #include "Database.h" 78 Database* database() const { return m_database; } function in class:WebCore::DatabaseTask 85 DatabaseTask(Database*, DatabaseTaskSynchronizer*); 90 Database* m_database; 99 class Database::DatabaseOpenTask : public DatabaseTask { 101 static PassOwnPtr<DatabaseOpenTask> create(Database* db, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, ExceptionCode& code, bool& success) 107 DatabaseOpenTask(Database*, bool setVersionInNewDatabase, DatabaseTaskSynchronizer*, ExceptionCode&, bool& success); 119 class Database::DatabaseCloseTask : public DatabaseTask [all...] |
SQLStatement.h | 31 #if ENABLE(DATABASE) 42 class Database; 50 static PassRefPtr<SQLStatement> create(Database*, const String&, const Vector<SQLValue>&, PassRefPtr<SQLStatementCallback>, PassRefPtr<SQLStatementErrorCallback>, int permissions); 52 bool execute(Database*); 65 SQLStatement(Database*, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback>, PassRefPtr<SQLStatementErrorCallback>, int permissions); 83 #endif // ENABLE(DATABASE)
|
DatabaseThread.h | 31 #if ENABLE(DATABASE) 44 class Database; 62 void unscheduleDatabaseTasks(Database*); 64 void recordDatabaseOpen(Database*); 65 void recordDatabaseClosed(Database*); 84 typedef HashSet<RefPtr<Database> > DatabaseSet; 94 #endif // ENABLE(DATABASE)
|
Database.cpp | 30 #include "Database.h" 32 #if ENABLE(DATABASE) 67 static PassOwnPtr<DatabaseCreationCallbackTask> create(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> creationCallback) 69 return adoptPtr(new DatabaseCreationCallbackTask(database, creationCallback)); 78 DatabaseCreationCallbackTask(PassRefPtr<Database> database, PassRefPtr<DatabaseCallback> callback) 79 : m_database(database) 84 RefPtr<Database> m_database; 88 PassRefPtr<Database> Database::openDatabase(ScriptExecutionContext* context, const String& name 98 RefPtr<Database> database = adoptRef(new Database(context, name, expectedVersion, displayName, estimatedSize)); local [all...] |
SQLTransaction.h | 31 #if ENABLE(DATABASE) 42 class Database; 64 static PassRefPtr<SQLTransaction> create(Database*, PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, 76 Database* database() { return m_database.get(); } function in class:WebCore::SQLTransaction 81 SQLTransaction(Database*, PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, 116 RefPtr<Database> m_database;
|
Database.h | 32 #if ENABLE(DATABASE) 52 class Database : public AbstractDatabase { 54 virtual ~Database(); 57 static PassRefPtr<Database> openDatabase(ScriptExecutionContext*, const String& name, const String& expectedVersion, const String& displayName, 91 Database(ScriptExecutionContext*, const String& name, const String& expectedVersion, 118 #endif // ENABLE(DATABASE)
|
DatabaseThread.cpp | 32 #if ENABLE(DATABASE) 35 #include "Database.h" 66 m_threadID = createThread(DatabaseThread::databaseThreadStart, this, "WebCore: Database"); 111 // Clean up the list of all pending transactions on this database thread 116 // Close the databases that we ran transactions on. This ensures that if any transactions are still open, they are rolled back and we don't leave the database in an 141 void DatabaseThread::recordDatabaseOpen(Database* database) 144 ASSERT(database); 145 ASSERT(!m_openDatabaseSet.contains(database)); 146 m_openDatabaseSet.add(database); [all...] |
Database.idl | 32 Conditional=DATABASE, 35 ] Database {
|
SQLStatement.cpp | 31 #if ENABLE(DATABASE) 33 #include "Database.h" 46 PassRefPtr<SQLStatement> SQLStatement::create(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) 48 return adoptRef(new SQLStatement(database, statement, arguments, callback, errorCallback, permissions)); 51 SQLStatement::SQLStatement(Database* database, const String& statement, const Vector<SQLValue>& arguments, PassRefPtr<SQLStatementCallback> callback, PassRefPtr<SQLStatementErrorCallback> errorCallback, int permissions) 54 , m_statementCallbackWrapper(callback, database->scriptExecutionContext()) 55 , m_statementErrorCallbackWrapper(errorCallback, database->scriptExecutionContext()) 60 bool SQLStatement::execute(Database* db 74 SQLiteDatabase* database = &db->sqliteDatabase(); local [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
OldExceptionTest.java | 19 import SQLite.Database; 24 private Database db = null; 28 db = new Database();
|
OldBlobTest.java | 20 import SQLite.Database; 31 private static Database db = null; 39 db = new Database();
|
QueryTimeoutTest.java | 20 import SQLite.Database; 58 Database database = ((JDBCConnection) connection).getSQLiteDatabase(); local 59 database.create_function("DELAY", 2, new Function() {
|
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseResource.h | 34 #if ENABLE(DATABASE) 42 class Database; 47 static PassRefPtr<InspectorDatabaseResource> create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version); 49 void bind(InspectorFrontend::Database*); 50 Database* database() { return m_database.get(); } function in class:WebCore::InspectorDatabaseResource 51 void setDatabase(PassRefPtr<Database> database) { m_database = database; } [all...] |
InspectorDatabaseResource.cpp | 34 #if ENABLE(DATABASE) && ENABLE(INSPECTOR) 35 #include "Database.h" 43 PassRefPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 45 return adoptRef(new InspectorDatabaseResource(database, domain, name, version)); 48 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 49 : m_database(database) 57 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend) 69 #endif // ENABLE(DATABASE) && ENABLE(INSPECTOR [all...] |
InspectorDatabaseAgent.h | 38 class Database; 70 int databaseId(Database*); 72 void didOpenDatabase(PassRefPtr<Database>, const String& domain, const String& name, const String& version); 76 Database* databaseForId(int databaseId);
|
InspectorDatabaseInstrumentation.h | 34 #include "Database.h" 40 #if ENABLE(DATABASE) 41 inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 45 didOpenDatabaseImpl(inspectorAgent, database, domain, name, version);
|
InjectedScriptHost.h | 44 class Database; 66 #if ENABLE(DATABASE) 79 #if ENABLE(DATABASE) 104 #if ENABLE(DATABASE) 105 int databaseIdImpl(Database*); 124 #if ENABLE(DATABASE)
|
InspectorDatabaseAgent.cpp | 33 #if ENABLE(INSPECTOR) && ENABLE(DATABASE) 35 #include "Database.h" 69 InspectorFrontend::Database* frontend() { return m_inspectorFrontend; } 72 FrontendProvider(InspectorFrontend* inspectorFrontend) : m_inspectorFrontend(inspectorFrontend->database()) { } 73 InspectorFrontend::Database* m_inspectorFrontend; 80 void reportTransactionFailed(InspectorFrontend::Database* frontend, int transactionId, SQLError* error) 226 void InspectorDatabaseAgent::didOpenDatabase(PassRefPtr<Database> database, const String& domain, const String& name, const String& version) 228 if (InspectorDatabaseResource* resource = findByFileName(database->fileName())) { 229 resource->setDatabase(database); 302 Database* database = databaseForId(databaseId); local 318 Database* database = databaseForId(databaseId); local [all...] |
/external/webkit/Source/WebCore/storage/wince/ |
DatabaseThreadWinCE.h | 32 class Database; 47 void unscheduleDatabaseTasks(Database*); 48 void recordDatabaseOpen(Database*); 49 void recordDatabaseClosed(Database*);
|
DatabaseThreadWinCE.cpp | 27 #include "Database.h" 74 void DatabaseThread::unscheduleDatabaseTasks(Database* database) 78 if ((*i)->database() != database) 85 void DatabaseThread::recordDatabaseOpen(Database* database) 90 void DatabaseThread::recordDatabaseClosed(Database* database)
|
/external/webkit/LayoutTests/storage/ |
multiple-databases-garbage-collection.js | 13 // Variable for the database that will never be forgotten 15 // Variable for the forgotten database 36 log("Persistent Database Transaction Errored - " + err); 39 log("Persistent Database Transaction Complete"); 46 log("Forgotten Database Transaction Errored - " + err); 51 log("Forgotten Database Transaction Complete");
|
/external/webkit/Source/WebCore/inspector/front-end/ |
Database.js | 29 WebInspector.Database = function(id, domain, name, version) 37 WebInspector.Database.prototype = { 97 onError(WebInspector.UIString("Database not found.")); 115 var database = new WebInspector.Database( 120 WebInspector.panels.resources.addDatabase(database); 146 InspectorBackend.registerDomainDispatcher("Database", new WebInspector.DatabaseDispatcher());
|