HomeSort by relevance Sort by last modified time
    Searched refs:Database (Results 1 - 25 of 62) sorted by null

1 2 3

  /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)
80 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before.
99 // Opens the database file and verifies the version matches the expected version.
101 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...]
  /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();
  /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)
  /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)
  /packages/apps/Nfc/nci/jni/
RouteDataSet.h 161 typedef std::vector<RouteData*> Database;
193 ** Description: Import data from an XML file. Fill the database.
205 ** Description: Obtain a database of routing data.
206 ** selection: which database.
208 ** Returns: Pointer to database.
211 Database* getDatabase (DatabaseSelection selection);
263 Database mSecElemRouteDatabase; //routes when NFC service selects sec elem
264 Database mDefaultRouteDatabase; //routes when NFC service deselects sec elem
287 ** database: store data in this database
    [all...]
  /external/clang/include/clang/Tooling/
JSONCompilationDatabase.h 33 /// \brief A JSON based compilation database.
35 /// JSON compilation database files must contain a list of JSON objects which
52 /// \brief Loads a JSON compilation database from the specified file.
54 /// Returns NULL and sets ErrorMessage if the database could not be
59 /// \brief Loads a JSON compilation database from a data buffer.
61 /// Returns NULL and sets ErrorMessage if the database could not be loaded.
73 /// \brief Returns the list of all files available in the compilation database.
79 /// database.
83 /// \brief Constructs a JSON compilation database on a memory buffer.
84 JSONCompilationDatabase(llvm::MemoryBuffer *Database)
    [all...]
  /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/clang/unittests/Tooling/
CompilationDatabaseTest.cpp 31 expectFailure("", "Empty database");
45 OwningPtr<CompilationDatabase> Database(
47 if (!Database) {
51 return Database->getAllFiles();
56 OwningPtr<CompilationDatabase> Database(
58 if (!Database) {
62 return Database->getAllCompileCommands();
118 OwningPtr<CompilationDatabase> Database(
120 if (!Database)
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName)
    [all...]
  /external/clang/lib/Tooling/
JSONCompilationDatabase.cpp 127 OwningPtr<CompilationDatabase> Database(
129 if (!Database)
131 return Database.take();
138 X("json-compilation-database", "Reads JSON formatted compilation databases");
151 ErrorMessage = "Error while opening JSON database: " + Result.message();
154 OwningPtr<JSONCompilationDatabase> Database(
156 if (!Database->parse(ErrorMessage))
158 return Database.take();
166 OwningPtr<JSONCompilationDatabase> Database(
168 if (!Database->parse(ErrorMessage)
    [all...]
  /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());

Completed in 661 milliseconds

1 2 3