Home
last modified time | relevance | path

Searched refs:objectStore (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/web/
DWebIDBMetadata.cpp48 const IDBObjectStoreMetadata& objectStore = storeIterator->value; in WebIDBMetadata() local
50 webObjectStore.id = objectStore.id; in WebIDBMetadata()
51 webObjectStore.name = objectStore.name; in WebIDBMetadata()
52 webObjectStore.keyPath = objectStore.keyPath; in WebIDBMetadata()
53 webObjectStore.autoIncrement = objectStore.autoIncrement; in WebIDBMetadata()
54 webObjectStore.indexes = WebVector<Index>(static_cast<size_t>(objectStore.indexes.size())); in WebIDBMetadata()
55 webObjectStore.maxIndexId = objectStore.maxIndexId; in WebIDBMetadata()
58 …adata::IndexMap::const_iterator indexIterator = objectStore.indexes.begin(); indexIterator != obje… in WebIDBMetadata()
77 …IDBObjectStoreMetadata objectStore(webObjectStore.name, webObjectStore.id, webObjectStore.keyPath,… in operator IDBDatabaseMetadata() local
82 objectStore.indexes.set(index.id, index); in operator IDBDatabaseMetadata()
[all …]
/external/chromium_org/content/test/data/indexeddb/
Dobject_store_test.js25 objectStore.deleteIndex('fname_index');
30 var request = transaction.objectStore('stuff').get(testDate);
39 var request = objectStore.get(1);
52 var request = objectStore.delete(1);
61 var request = objectStore.get(1);
72 var request = transaction.objectStore('stuff').add('foo', testDate);
82 var request = objectStore.add({fname: "Tom", lname: "Jones", id: 1});
95 window.objectStore = db.createObjectStore('employees', {keyPath: 'id'});
99 objectStore.createIndex('fname_index', 'fname');
100 objectStore.createIndex('lname_index', 'fname');
[all …]
Dcursor_test.js15 request = objectStore.openCursor(keyRange);
37 function openCursor(objectStore) argument
41 var request = objectStore.openCursor(keyRange);
49 openCursor(objectStore);
57 window.objectStore = db.createObjectStore('test');
58 var request = objectStore.add('myValue', 3.14);
Dindex_test.js87 var request = objectStore.put({'aKey': 55, 'aValue': 'foo'}, 1);
102 request = objectStore.createIndex('myIndex', 'aKey', {unique: true});
113 window.index = objectStore.createIndex('myIndex', 'aKey', {unique: true});
130 window.objectStore = db.createObjectStore('test');
132 var request = objectStore.add(myValue, 0);
Dtransaction_get_test.js9 var store = transaction.objectStore('storeName');
34 store = transaction.objectStore('storeName');
49 window.objectStore = db.createObjectStore('storeName');
50 var request = objectStore.add('myValue', 'myKey');
Dtransaction_run_forever.js31 var objectStore; variable
40 objectStore = transaction.objectStore('store');
49 var request = objectStore.get(0);
Dcursor_prefetch.js31 var store = trans.objectStore('store');
50 var store = trans.objectStore('store');
83 var store = trans.objectStore('store');
133 var store = trans.objectStore('store');
172 var store = trans.objectStore('store');
242 var store = trans.objectStore('store');
273 var store = trans.objectStore('store');
352 var store = trans.objectStore('store');
387 var store = trans.objectStore('store');
Dtransaction_not_blocked.js23 var objectStore = transaction.objectStore('store');
25 var request = objectStore.get(0);
Dkey_path_test.js24 request = objectStore.openCursor(keyRange);
33 request = objectStore.add(obj);
47 window.objectStore = db.createObjectStore('test', {keyPath: 'keyPath'});
Dbug_90635.js51 var store1 = transaction.objectStore('store1');
52 var store2 = transaction.objectStore('store2');
53 var store3 = transaction.objectStore('store3');
Dtransaction_test.js31 var request = finalTransaction.objectStore('employees').get(0);
55 var request = newTransaction.objectStore('employees').put(
Dkey_types_test.js115 var store = trans.objectStore('store');
132 var store = trans.objectStore('store');
Dquota_test.js27 objectStore = db.createObjectStore("test123");
64 var store = trans.objectStore('test123');
Ddatabase_test.js13 window.objectStore = db.createObjectStore('employees', {keyPath: 'id'});
Dcallback_accounting.js28 transaction.objectStore('store').get(0).onsuccess = loop;
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBTransaction.cpp137 IDBObjectStore* IDBTransaction::objectStore(const String& name, ExceptionState& exceptionState) in objectStore() function in WebCore::IDBTransaction
162 …IDBObjectStore* objectStore = IDBObjectStore::create(metadata.objectStores.get(objectStoreId), thi… in objectStore() local
163 objectStoreCreated(name, objectStore); in objectStore()
164 return objectStore; in objectStore()
167 void IDBTransaction::objectStoreCreated(const String& name, IDBObjectStore* objectStore) in objectStoreCreated() argument
170 m_objectStoreMap.set(name, objectStore); in objectStoreCreated()
172 m_objectStoreCleanupMap.set(objectStore, objectStore->metadata()); in objectStoreCreated()
181 IDBObjectStore* objectStore = it->value; in objectStoreDeleted() local
183 objectStore->markDeleted(); in objectStoreDeleted()
184 m_objectStoreCleanupMap.set(objectStore, objectStore->metadata()); in objectStoreDeleted()
[all …]
DIDBIndex.h48 …static IDBIndex* create(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransact… in create() argument
50 return new IDBIndex(metadata, objectStore, transaction); in create()
57 IDBObjectStore* objectStore() const { return m_objectStore.get(); } in objectStore() function
DIDBCursor.cpp141 IDBObjectStore* objectStore = effectiveObjectStore(); in update() local
142 const IDBKeyPath& keyPath = objectStore->metadata().keyPath; in update()
152 …return objectStore->put(scriptState, blink::WebIDBPutModeCursorUpdate, IDBAny::create(this), value… in update()
328 IDBObjectStore* objectStore = effectiveObjectStore(); in value() local
329 const IDBObjectStoreMetadata& metadata = objectStore->metadata(); in value()
373 return m_source->idbIndex()->objectStore(); in effectiveObjectStore()
DIDBIndex.cpp47 IDBIndex::IDBIndex(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransaction* t… in IDBIndex() argument
49 , m_objectStore(objectStore) in IDBIndex()
/external/chromium_org/ui/file_manager/image_loader/
Dcache.js110 var settingsStore = transaction.objectStore('settings');
128 var settingsStore = transaction.objectStore('settings');
178 var metadataStore = transaction.objectStore('metadata');
179 var dataStore = transaction.objectStore('data');
236 var metadataStore = transaction.objectStore('metadata');
237 var dataStore = transaction.objectStore('data');
270 var metadataStore = transaction.objectStore('metadata');
271 var dataStore = transaction.objectStore('data');
354 var metadataStore = transaction.objectStore('metadata');
355 var dataStore = transaction.objectStore('data');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DIndexedDBModel.js322 var objectStore = databaseWithObjectStores.objectStores[i];
323 …var objectStoreIDBKeyPath = WebInspector.IndexedDBModel.idbKeyPathFromKeyPath(objectStore.keyPath);
324 …del = new WebInspector.IndexedDBModel.ObjectStore(objectStore.name, objectStoreIDBKeyPath, objectS…
325 for (var j = 0; j < objectStore.indexes.length; ++j) {
326 var index = objectStore.indexes[j];
/external/chromium_org/tools/perf/page_sets/endure/
Dindexeddb_app_worker.js141 var store = transaction.objectStore('sync-chunks');
172 var syncStore = transaction.objectStore('sync-chunks');
173 var docStore = transaction.objectStore('docs');
Dindexeddb_app.js167 var store = transaction.objectStore('user-events');
206 var store = transaction.objectStore('user-events');
222 var store = transaction.objectStore('user-events');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DIndexedDBViews.js109 WebInspector.IDBDataView = function(model, databaseId, objectStore, index) argument
135 this.update(objectStore, index);
257 update: function(objectStore, index) argument
259 this._objectStore = objectStore;
DResourcesPanel.js1615 var objectStore = this._database.objectStores[objectStoreName];
1616 objectStoreNames[objectStore.name] = true;
1617 if (!this._idbObjectStoreTreeElements[objectStore.name]) {
1618 …nspector.IDBObjectStoreTreeElement(this._storagePanel, this._model, this._databaseId, objectStore);
1619 this._idbObjectStoreTreeElements[objectStore.name] = idbObjectStoreTreeElement;
1622 this._idbObjectStoreTreeElements[objectStore.name].update(objectStore);
1687 WebInspector.IDBObjectStoreTreeElement = function(storagePanel, model, databaseId, objectStore) argument
1689 …WebInspector.BaseStorageTreeElement.call(this, storagePanel, null, objectStore.name, ["indexed-db-…
1728 update: function(objectStore) argument
1730 this._objectStore = objectStore;
[all …]

12