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

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLTransactionClient.h 39 class Database;
47 void didCommitWriteTransaction(Database*);
48 bool didExceedQuota(Database*);
DatabaseCallback.idl 30 boolean handleEvent(Database database);
DatabaseCallback.h 38 class Database;
44 virtual bool handleEvent(Database*) = 0;
DatabaseTask.cpp 32 #include "modules/webdatabase/Database.h"
39 DatabaseTask::DatabaseTask(Database* database, TaskSynchronizer* synchronizer)
40 : m_database(database)
57 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before.
84 // Opens the database file and verifies the version matches the expected version.
86 Database::DatabaseOpenTask::DatabaseOpenTask(Database* database, bool setVersionInNewDatabase, TaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
87 : DatabaseTask(database, synchronizer
    [all...]
DatabaseTracker.h 41 class Database;
60 void addOpenDatabase(Database*);
61 void removeOpenDatabase(Database*);
63 unsigned long long getMaxSizeForDatabase(const Database*);
67 void prepareToOpenDatabase(Database*);
68 void failedToOpenDatabase(Database*);
71 typedef HashSet<Database*> DatabaseSet;
78 void closeOneDatabaseImmediately(const String& originIdentifier, const String& name, Database*);
InspectorDatabaseResource.cpp 34 #include "modules/webdatabase/Database.h"
40 PassRefPtrWillBeRawPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtrWillBeRawPtr<Database> database, const String& domain, const String& name, const String& version)
42 return adoptRefWillBeNoop(new InspectorDatabaseResource(database, domain, name, version));
45 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database> database, const String& domain, const String& name, const String& version)
46 : m_database(database)
59 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend)
61 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create(
    [all...]
InspectorDatabaseResource.h 41 class Database;
46 static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWillBeRawPtr<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:blink::InspectorDatabaseResource
51 void setDatabase(PassRefPtrWillBeRawPtr<Database> database) { m_database = database; }
55 InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
57 RefPtrWillBeMember<Database> m_database
    [all...]
DatabaseTask.h 32 #include "modules/webdatabase/Database.h"
56 Database* database() const { return m_database.get(); } function in class:blink::DatabaseTask
62 DatabaseTask(Database*, TaskSynchronizer*);
68 RefPtrWillBeCrossThreadPersistent<Database> m_database;
77 class Database::DatabaseOpenTask FINAL : public DatabaseTask {
79 static PassOwnPtr<DatabaseOpenTask> create(Database* db, bool setVersionInNewDatabase, TaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
85 DatabaseOpenTask(Database*, bool setVersionInNewDatabase, TaskSynchronizer*, DatabaseError&, String& errorMessage, bool& success);
98 class Database::DatabaseCloseTask FINAL : public DatabaseTask {
100 static PassOwnPtr<DatabaseCloseTask> create(Database* db, TaskSynchronizer* synchronizer
    [all...]
SQLStatement.h 38 class Database;
47 static PassOwnPtrWillBeRawPtr<SQLStatement> create(Database*,
60 SQLStatement(Database*, SQLStatementCallback*, SQLStatementErrorCallback*);
SQLTransactionClient.cpp 36 #include "modules/webdatabase/Database.h"
46 static void databaseModified(Database* database)
50 createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin()),
51 database->stringIdentifier());
55 void SQLTransactionClient::didCommitWriteTransaction(Database* database)
57 ExecutionContext* executionContext = database->databaseContext()->executionContext();
59 executionContext->postTask(createCrossThreadTask(&databaseModified, PassRefPtrWillBeRawPtr<Database>(database)));
    [all...]
WindowWebDatabase.idl 29 RuntimeEnabled=Database,
31 [MeasureAs=OpenWebDatabase, LogActivity, RaisesException] Database openDatabase(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback);
DOMWindowWebDatabase.h 37 class Database;
44 static PassRefPtrWillBeRawPtr<Database> openDatabase(LocalDOMWindow&, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, DatabaseCallback* creationCallback, ExceptionState&);
DatabaseThread.h 45 class Database;
66 void recordDatabaseOpen(Database*);
67 void recordDatabaseClosed(Database*);
68 bool isDatabaseOpen(Database*);
85 // This must be updated in the database thread though it is constructed and
87 WillBeHeapHashSet<RefPtrWillBeMember<Database> > m_openDatabaseSet;
SQLStatementBackend.h 40 class Database;
52 bool execute(Database*);
58 void setVersionMismatchedError(Database*);
68 void setFailureDueToQuota(Database*);
Database.cpp 27 #include "modules/webdatabase/Database.h"
57 // "opened" so that the client can call interrupt or delete on every database
60 // We will only call DatabaseTracker::addOpenDatabase() to add the database
61 // to the tracker as opened when we've succeeded in opening the database,
63 // DatabaseTracker::removeOpenDatabase() to remove the database from the
70 // The only databases instances not tracked by the tracker's open database
73 // DatabaseServer's factory methods for creating database backends.
77 // database backend if they succeed in opening the requested database.
78 // In the case of failure to open the database, the factory methods wil
    [all...]
SQLTransaction.h 41 class Database;
58 static PassRefPtrWillBeRawPtr<SQLTransaction> create(Database*, SQLTransactionCallback*,
69 Database* database() { return m_database.get(); } function in class:blink::FINAL
81 SQLTransaction(Database*, SQLTransactionCallback*,
103 RefPtrWillBeMember<Database> m_database;
DatabaseClient.h 40 class Database;
53 void didOpenDatabase(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
InspectorDatabaseAgent.h 41 class Database;
71 void didOpenDatabase(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, const String& version);
75 Database* databaseForId(const String& databaseId);
78 InspectorFrontend::Database* m_frontend;
SQLTransactionBackend.h 41 class Database;
61 static PassRefPtrWillBeRawPtr<SQLTransactionBackend> create(Database*,
70 Database* database() { return m_database.get(); } function in class:blink::FINAL
83 SQLTransactionBackend(Database*, PassRefPtrWillBeRawPtr<SQLTransaction>,
114 RefPtrWillBeMember<Database> m_database;
DatabaseThread.cpp 32 #include "modules/webdatabase/Database.h"
69 m_thread = WebThreadSupportingGC::create("WebCore: Database");
90 // The WebThread destructor blocks until all the tasks of the database
92 // the database thread has already finished processing the cleanup task.
106 // Clean up the list of all pending transactions on this database thread
109 // 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
113 WillBeHeapHashSet<RefPtrWillBeMember<Database> > openSetCopy;
115 WillBeHeapHashSet<RefPtrWillBeMember<Database> >::iterator end = openSetCopy.end();
116 for (WillBeHeapHashSet<RefPtrWillBeMember<Database> >::iterator it = openSetCopy.begin(); it != end; ++it)
130 void DatabaseThread::recordDatabaseOpen(Database* database
    [all...]
DatabaseTracker.cpp 36 #include "modules/webdatabase/Database.h"
51 static void databaseClosed(Database* database)
55 createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin()),
56 database->stringIdentifier());
85 void DatabaseTracker::addOpenDatabase(Database* database)
91 String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin());
98 String name(database->stringIdentifier());
105 databaseSet->add(database);
    [all...]
DOMWindowWebDatabase.cpp 35 #include "modules/webdatabase/Database.h"
43 PassRefPtrWillBeRawPtr<Database> DOMWindowWebDatabase::openDatabase(LocalDOMWindow& window, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, DatabaseCallback* creationCallback, ExceptionState& exceptionState)
48 RefPtrWillBeRawPtr<Database> database = nullptr;
53 database = dbManager.openDatabase(window.document(), name, version, displayName, estimatedSize, creationCallback, error, errorMessage);
54 ASSERT(database || error != DatabaseError::None);
61 return database;
Database.idl 32 ] interface 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...]

Completed in 152 milliseconds

1 2 3 4 5 6