Searched refs:databaseId (Results 1 - 18 of 18) sorted by relevance

/external/webkit/Source/WebCore/storage/
H A DIDBLevelDBBackingStore.h48 virtual void getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags);
49 virtual bool createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId);
50 virtual void deleteObjectStore(int64_t databaseId, int64_t objectStoreId);
52 virtual String getObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&);
53 virtual bool putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*);
54 virtual void clearObjectStore(int64_t databaseId, int64_t objectStoreId);
55 virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier*);
56 virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId);
57 virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier);
59 virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_
[all...]
H A DIDBSQLiteBackingStore.h43 virtual void getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags);
44 virtual bool createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId);
45 virtual void deleteObjectStore(int64_t databaseId, int64_t objectStoreId);
47 virtual String getObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&);
48 virtual bool putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*);
49 virtual void clearObjectStore(int64_t databaseId, int64_t objectStoreId);
50 virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier*);
51 virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId);
52 virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier);
54 virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_
[all...]
H A DIDBBackingStore.h52 virtual void getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags) = 0;
53 virtual bool createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId) = 0;
54 virtual void deleteObjectStore(int64_t databaseId, int64_t objectStoreId) = 0;
63 virtual String getObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&) = 0;
64 virtual bool putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*) = 0;
65 virtual void clearObjectStore(int64_t databaseId, int64_t objectStoreId) = 0;
66 virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier*) = 0;
67 virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId) = 0;
68 virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier) = 0;
75 virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_
[all...]
H A DIDBIndexBackendImpl.h43 static PassRefPtr<IDBIndexBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) argument
45 return adoptRef(new IDBIndexBackendImpl(backingStore, databaseId, objectStoreBackend, id, name, storeName, keyPath, unique));
47 static PassRefPtr<IDBIndexBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) argument
49 return adoptRef(new IDBIndexBackendImpl(backingStore, databaseId, objectStoreBackend, name, storeName, keyPath, unique));
75 IDBIndexBackendImpl(IDBBackingStore*, int64_t databaseId, const IDBObjectStoreBackendImpl*, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique);
76 IDBIndexBackendImpl(IDBBackingStore*, int64_t databaseId, const IDBObjectStoreBackendImpl*, const String& name, const String& storeName, const String& keyPath, bool unique);
H A DIDBLevelDBBackingStore.cpp509 KeyPrefix(int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
510 : m_databaseId(databaseId)
664 static Vector<char> encode(int64_t databaseId) argument
669 ret.append(encodeVarInt(databaseId));
673 int64_t databaseId() const function in class:WebCore::__anon14722::DatabaseFreeListKey
746 static Vector<char> encode(int64_t databaseId, MetaDataType metaDataType) argument
748 KeyPrefix prefix(databaseId, 0, 0);
787 static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, int64_t metaDataType) argument
789 KeyPrefix prefix(databaseId, 0, 0);
858 static Vector<char> encode(int64_t databaseId, int64_ argument
920 encode(int64_t databaseId, int64_t objectStoreId) argument
977 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
1034 encode(int64_t databaseId, const String& objectStoreName) argument
1085 encode(int64_t databaseId, int64_t objectStoreId, const String& indexName) argument
1126 encode(int64_t databaseId, int64_t objectStoreId, const Vector<char> encodedUserKey) argument
1135 encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey) argument
1174 encode(int64_t databaseId, int64_t objectStoreId, const Vector<char>& encodedKey) argument
1182 encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey) argument
1237 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const Vector<char>& encodedUserKey, int64_t sequenceNumber) argument
1246 encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& userKey, int64_t sequenceNumber) argument
1251 encodeMaxKey(int64_t databaseId, int64_t objectStoreId) argument
1268 int64_t databaseId() const function in class:WebCore::__anon14722::IndexDataKey
1549 int64_t databaseId = maxDatabaseId + 1; local
1573 getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags) argument
1630 getNewObjectStoreId(LevelDBDatabase* db, int64_t databaseId) argument
1662 createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId) argument
1733 deleteObjectStore(int64_t databaseId, int64_t objectStoreId) argument
1752 getObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey& key) argument
1790 getNewVersionNumber(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId) argument
1809 putObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const IDBKey& key, const String& value, ObjectStoreRecordIdentifier* recordIdentifier) argument
1831 clearObjectStore(int64_t databaseId, int64_t objectStoreId) argument
1844 deleteObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, const ObjectStoreRecordIdentifier* recordIdentifier) argument
1851 nextAutoIncrementNumber(int64_t databaseId, int64_t objectStoreId) argument
1880 keyExistsInObjectStore(int64_t databaseId, int64_t objectStoreId, const IDBKey& key, ObjectStoreRecordIdentifier* foundRecordIdentifier) argument
1898 forEachObjectStoreRecord(int64_t databaseId, int64_t objectStoreId, ObjectStoreRecordCallback& callback) argument
1927 getIndexes(int64_t databaseId, int64_t objectStoreId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags) argument
1967 getNewIndexId(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId) argument
2001 createIndex(int64_t databaseId, int64_t objectStoreId, const String& name, const String& keyPath, bool isUnique, int64_t& indexId) argument
2036 putIndexDataForRecord(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key, const ObjectStoreRecordIdentifier* recordIdentifier) argument
2079 getObjectViaIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2088 versionExists(LevelDBDatabase* db, int64_t databaseId, int64_t objectStoreId, int64_t version, const Vector<char>& encodedPrimaryKey) argument
2099 getPrimaryKeyViaIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2131 keyExistsInIndex(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& key) argument
2475 openObjectStoreCursor(int64_t databaseId, int64_t objectStoreId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
2513 openIndexKeyCursor(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
2553 openIndexCursor(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKeyRange* range, IDBCursor::Direction direction) argument
[all...]
H A DIDBObjectStoreBackendImpl.h45 static PassRefPtr<IDBObjectStoreBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncrement) argument
47 return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, id, name, keyPath, autoIncrement));
49 static PassRefPtr<IDBObjectStoreBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement) argument
51 return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, name, keyPath, autoIncrement));
62 int64_t databaseId() const { return m_databaseId; } function in class:WebCore::IDBObjectStoreBackendImpl
81 IDBObjectStoreBackendImpl(IDBBackingStore*, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncrement);
82 IDBObjectStoreBackendImpl(IDBBackingStore*, int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement);
H A DIDBIndexBackendImpl.cpp43 IDBIndexBackendImpl::IDBIndexBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) argument
45 , m_databaseId(databaseId)
55 IDBIndexBackendImpl::IDBIndexBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) argument
57 , m_databaseId(databaseId)
H A DIDBObjectStoreBackendImpl.cpp53 IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncrement) argument
55 , m_databaseId(databaseId)
65 IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement) argument
67 , m_databaseId(databaseId)
330 PopulateIndexCallback(IDBBackingStore& backingStore, const String& indexKeyPath, int64_t databaseId, int64_t objectStoreId, int64_t indexId) argument
333 , m_databaseId(databaseId)
361 static bool populateIndex(IDBBackingStore& backingStore, int64_t databaseId, int64_t objectStoreId, int64_t indexId, const String& indexKeyPath) argument
363 PopulateIndexCallback callback(backingStore, indexKeyPath, databaseId, objectStoreId, indexId);
364 if (!backingStore.forEachObjectStoreRecord(databaseId, objectStoreId, callback))
H A DIDBDatabaseBackendImpl.cpp195 int64_t databaseId = database->id(); local
197 if (!database->m_backingStore->setIDBDatabaseMetaData(database->m_name, database->m_version, databaseId, databaseId == InvalidId)) {
H A DIDBSQLiteBackingStore.cpp76 "CREATE TABLE ObjectStores (id INTEGER PRIMARY KEY, name TEXT NOT NULL, keyPath TEXT, doAutoIncrement INTEGER NOT NULL, databaseId INTEGER NOT NULL REFERENCES Databases(id))",
77 "CREATE UNIQUE INDEX ObjectStores_composit ON ObjectStores(databaseId, name)",
245 void IDBSQLiteBackingStore::getObjectStores(int64_t databaseId, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundAutoIncrementFlags) argument
247 SQLiteStatement query(m_db, "SELECT id, name, keyPath, doAutoIncrement FROM ObjectStores WHERE databaseId = ?");
256 query.bindInt64(1, databaseId);
266 bool IDBSQLiteBackingStore::createObjectStore(int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement, int64_t& assignedObjectStoreId) argument
268 SQLiteStatement query(m_db, "INSERT INTO ObjectStores (name, keyPath, doAutoIncrement, databaseId) VALUES (?, ?, ?, ?)");
275 query.bindInt64(4, databaseId);
/external/webkit/Source/WebCore/inspector/
H A DInspectorDatabaseAgent.h66 void getDatabaseTableNames(ErrorString*, int databaseId, RefPtr<InspectorArray>* names);
67 void executeSQL(ErrorString*, int databaseId, const String& query, bool* success, int* transactionId);
70 int databaseId(Database*);
76 Database* databaseForId(int databaseId);
H A DInjectedScriptHost.idl43 [Custom] int databaseId(in DOMObject database);
H A DInspectorDatabaseAgent.cpp295 void InspectorDatabaseAgent::getDatabaseTableNames(ErrorString* error, int databaseId, RefPtr<InspectorArray>* names) argument
302 Database* database = databaseForId(databaseId);
311 void InspectorDatabaseAgent::executeSQL(ErrorString* error, int databaseId, const String& query, bool* success, int* transactionId) argument
318 Database* database = databaseForId(databaseId);
332 int InspectorDatabaseAgent::databaseId(Database* database) function in class:WebCore::InspectorDatabaseAgent
350 Database* InspectorDatabaseAgent::databaseForId(int databaseId) argument
352 DatabaseResourcesMap::iterator it = m_resources.find(databaseId);
H A DInjectedScriptHost.cpp149 return m_databaseAgent->databaseId(database);
H A DInjectedScriptSource.js79 var databaseId = InjectedScriptHost.databaseId(object)
80 if (databaseId)
81 hints.databaseId = databaseId;
/external/webkit/Source/WebCore/bindings/js/
H A DJSInjectedScriptHostCustom.cpp124 JSValue JSInjectedScriptHost::databaseId(ExecState* exec) function in class:WebCore::JSInjectedScriptHost
/external/webkit/Source/WebCore/inspector/front-end/
H A Dinspector.js1168 if (hints.databaseId) {
1170 WebInspector.panels.resources.selectDatabase(hints.databaseId);
H A DResourcesPanel.js322 selectDatabase: function(databaseId)
327 if (database.id === databaseId) {

Completed in 558 milliseconds