/external/webkit/LayoutTests/storage/indexeddb/ |
D | cursor-skip-deleted-expected.txt | 13 objectStore = db.createObjectStore('store', {keyPath: 'id'}) 14 objectStore.createIndex('nameIndex', 'name') 22 trans.objectStore('store').openCursor(webkitIDBKeyRange.lowerBound(0)) 25 request = trans.objectStore('store').delete(0) 27 request = trans.objectStore('store').delete(25) 29 request = trans.objectStore('store').delete(5) 30 request = trans.objectStore('store').delete(6) 31 request = trans.objectStore('store').delete(7) 36 request = trans.objectStore('store').delete(10) 39 request = trans.objectStore('store').delete(13) [all …]
|
D | transaction-and-objectstore-calls-expected.txt | 1 Test IndexedDB's transaction and objectStore calls 18 trans.objectStore('a') 19 Expecting exception from trans.objectStore('b') 22 Expecting exception from trans.objectStore('x') 27 trans.objectStore('a') 28 Expecting exception from trans.objectStore('b') 31 Expecting exception from trans.objectStore('x') 36 trans.objectStore('b') 37 Expecting exception from trans.objectStore('a') 40 Expecting exception from trans.objectStore('x') [all …]
|
D | cursor-continue-expected.txt | 13 objectStore.createIndex('someIndex', 'x') 14 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 15 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 16 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 17 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 18 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 19 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 20 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 21 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) 22 objectStore.add({'x': testData[nextToAdd]}, nextToAdd) [all …]
|
D | cursor-delete-expected.txt | 13 objectStore = db.createObjectStore('test') 14 objectStore.add('myValue1', 'myKey1') 15 objectStore.add('myValue2', 'myKey2') 16 objectStore.add('myValue3', 'myKey3') 17 objectStore.add('myValue4', 'myKey4') 20 trans.objectStore('test').openCursor({range: keyRange}) 34 trans.objectStore('test').openCursor(keyRange) 37 objectStore = trans.objectStore('test') 38 objectStore.add('myValue1', 'myKey1') 40 objectStore.openCursor(keyRange) [all …]
|
D | cursor-update-expected.txt | 13 objectStore = db.createObjectStore('basicStore') 14 objectStore.add('myValue1', 'myKey1').onerror = unexpectedErrorCallback 15 objectStore.add('myValue2', 'myKey2').onerror = unexpectedErrorCallback 16 objectStore.add('myValue3', 'myKey3').onerror = unexpectedErrorCallback 17 objectStore.add('myValue4', 'myKey4').onerror = unexpectedErrorCallback 18 objectStore = db.createObjectStore('autoIncrementStore', {autoIncrement: true}) 19 objectStore.add('foo1').onerror = unexpectedErrorCallback 20 objectStore.add('foo2').onerror = unexpectedErrorCallback 21 objectStore.add('foo3').onerror = unexpectedErrorCallback 22 objectStore.add('foo4').onerror = unexpectedErrorCallback [all …]
|
D | cursor-index-delete-expected.txt | 13 objectStore = db.createObjectStore('test') 14 objectStore.createIndex('testIndex', 'x') 15 objectStore.add({x: 1}, 'myKey1') 16 objectStore.add({x: 2}, 'myKey2') 17 objectStore.add({x: 3}, 'myKey3') 18 objectStore.add({x: 4}, 'myKey4') 21 trans.objectStore('test').index('testIndex').openCursor(keyRange) 35 trans.objectStore('test').index('testIndex').openCursor(keyRange) 38 objectStore = trans.objectStore('test') 39 objectStore.add({x: 1}, 'myKey1')
|
D | create-object-store-options-expected.txt | 17 trans.objectStore('a').put({'a': 0}) 18 trans.objectStore('b').put({'a': 0}, 0) 19 trans.objectStore('a').get(0) 21 trans.objectStore('b').get(0)
|
D | exception-in-event-aborts-expected.txt | 22 store = trans.objectStore('storeName') 32 store = trans.objectStore('storeName') 42 store = trans.objectStore('storeName') 52 store = trans.objectStore('storeName')
|
D | open-cursor-expected.txt | 13 objectStore = db.createObjectStore('test') 14 objectStore.add('myValue', 'myKey') 26 objectStore.openCursor(keyRange)
|
D | transaction-read-only-expected.txt | 16 Expecting exception from trans.objectStore('store').put('a', 'b') 20 Expecting exception from trans.objectStore('store').delete('x') 24 cur = trans.objectStore('store').openCursor()
|
D | error-causes-abort-by-default-expected.txt | 18 store = trans.objectStore('storeName') 28 store = trans.objectStore('storeName') 37 store = trans.objectStore('storeName')
|
D | objectstore-basics-expected.txt | 39 store = setVersionTrans.objectStore('storeName') 53 store = transaction.objectStore('storeName') 69 store = transaction.objectStore('storeName') 75 store = transaction.objectStore('storeName') 82 store = transaction.objectStore('storeName')
|
D | data-corruption-expected.txt | 17 request = transaction.objectStore('storeName').add({x: testDate}, 'key') 20 request = transaction.objectStore('storeName').get('key')
|
/external/webkit/Source/WebCore/storage/ |
D | IDBObjectStoreBackendImpl.cpp | 86 RefPtr<IDBObjectStoreBackendImpl> objectStore = this; in get() local 89 …heduleTask(createCallbackTask(&IDBObjectStoreBackendImpl::getInternal, objectStore, key, callbacks… in get() 93 …nternal(ScriptExecutionContext*, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<IDB… in getInternal() argument 95 …String wireData = objectStore->m_backingStore->getObjectStoreRecord(objectStore->m_databaseId, obj… in getInternal() 128 RefPtr<IDBObjectStoreBackendImpl> objectStore = this; in put() local 135 …heduleTask(createCallbackTask(&IDBObjectStoreBackendImpl::putInternal, objectStore, value, key, pu… in put() 139 … IDBObjectStoreBackendImpl::selectKeyForPut(IDBObjectStoreBackendImpl* objectStore, IDBKey* key, P… in selectKeyForPut() argument 144 const bool autoIncrement = objectStore->autoIncrement(); in selectKeyForPut() 145 const bool hasKeyPath = !objectStore->m_keyPath.isNull(); in selectKeyForPut() 153 objectStore->resetAutoIncrementKeyCache(); in selectKeyForPut() [all …]
|
D | IDBDatabaseBackendImpl.cpp | 109 …RefPtr<IDBObjectStoreBackendImpl> objectStore = IDBObjectStoreBackendImpl::create(m_backingStore.g… in createObjectStore() local 110 ASSERT(objectStore->name() == name); in createObjectStore() 114 …llbackTask(&IDBDatabaseBackendImpl::createObjectStoreInternal, database, objectStore, transaction), in createObjectStore() 115 … createCallbackTask(&IDBDatabaseBackendImpl::removeObjectStoreFromMap, database, objectStore))) { in createObjectStore() 120 m_objectStores.set(name, objectStore); in createObjectStore() 121 return objectStore.release(); in createObjectStore() 124 …DBDatabaseBackendImpl> database, PassRefPtr<IDBObjectStoreBackendImpl> objectStore, PassRefPtr<ID… in createObjectStoreInternal() argument 128 …backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objec… in createObjectStoreInternal() 133 objectStore->setId(objectStoreId); in createObjectStoreInternal() 137 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendImpl::objectStore(const String& name) in objectStore() function in WebCore::IDBDatabaseBackendImpl [all …]
|
D | IDBTransactionBackendImpl.cpp | 63 PassRefPtr<IDBObjectStoreBackendInterface> IDBTransactionBackendImpl::objectStore(const String& nam… in objectStore() function in WebCore::IDBTransactionBackendImpl 76 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_database->objectStore(name); in objectStore() local 81 if (!objectStore) { in objectStore() 85 return objectStore.release(); in objectStore()
|
D | IDBTransaction.cpp | 84 PassRefPtr<IDBObjectStore> IDBTransaction::objectStore(const String& name, ExceptionCode& ec) in objectStore() function in WebCore::IDBTransaction 90 RefPtr<IDBObjectStoreBackendInterface> objectStoreBackend = m_backend->objectStore(name, ec); in objectStore() 95 RefPtr<IDBObjectStore> objectStore = IDBObjectStore::create(objectStoreBackend, this); in objectStore() local 96 return objectStore.release(); in objectStore()
|
D | IDBIndex.h | 44 …> create(PassRefPtr<IDBIndexBackendInterface> backend, IDBObjectStore* objectStore, IDBTransaction… in create() argument 46 return adoptRef(new IDBIndex(backend, objectStore, transaction)); in create() 52 IDBObjectStore* objectStore() const { return m_objectStore.get(); } in objectStore() function
|
D | IDBIndexBackendImpl.cpp | 96 …RefPtr<IDBObjectStoreBackendInterface> objectStore = transaction->objectStore(index->m_storeName, … in openCursorInternal() local 97 ASSERT(objectStore && !ec); in openCursorInternal() 99 …mpl::create(backingStoreCursor.get(), direction, cursorType, transaction.get(), objectStore.get()); in openCursorInternal()
|
D | IDBCursorBackendImpl.h | 51 …rsorType, IDBTransactionBackendInterface* transaction, IDBObjectStoreBackendInterface* objectStore) in create() argument 53 …return adoptRef(new IDBCursorBackendImpl(cursor, direction, cursorType, transaction, objectStore)); in create()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebIDBTransactionImpl.cpp | 54 WebIDBObjectStore* WebIDBTransactionImpl::objectStore(const WebString& name, ExceptionCode& ec) in objectStore() function in WebKit::WebIDBTransactionImpl 56 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->objectStore(name, ec); in objectStore() local 57 if (!objectStore) in objectStore() 59 return new WebIDBObjectStoreImpl(objectStore); in objectStore()
|
D | IDBTransactionBackendProxy.cpp | 57 PassRefPtr<IDBObjectStoreBackendInterface> IDBTransactionBackendProxy::objectStore(const String& na… in objectStore() function in WebKit::IDBTransactionBackendProxy 59 WebIDBObjectStore* objectStore = m_webIDBTransaction->objectStore(name, ec); in objectStore() local 60 if (!objectStore) in objectStore() 62 return IDBObjectStoreBackendProxy::create(objectStore); in objectStore()
|
D | IDBObjectStoreBackendProxy.cpp | 48 …toreBackendInterface> IDBObjectStoreBackendProxy::create(PassOwnPtr<WebIDBObjectStore> objectStore) in create() argument 50 return adoptRef(new IDBObjectStoreBackendProxy(objectStore)); in create() 53 IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy(PassOwnPtr<WebIDBObjectStore> objectStore) in IDBObjectStoreBackendProxy() argument 54 : m_webIDBObjectStore(objectStore) in IDBObjectStoreBackendProxy()
|
D | WebIDBDatabaseImpl.cpp | 71 …RefPtr<IDBObjectStoreBackendInterface> objectStore = m_databaseBackend->createObjectStore(name, ke… in createObjectStore() local 72 if (!objectStore) { in createObjectStore() 76 return new WebIDBObjectStoreImpl(objectStore); in createObjectStore()
|
D | IDBDatabaseBackendProxy.cpp | 83 …WebIDBObjectStore* objectStore = m_webIDBDatabase->createObjectStore(name, keyPath, autoIncrement,… in createObjectStore() local 84 if (!objectStore) in createObjectStore() 86 return IDBObjectStoreBackendProxy::create(objectStore); in createObjectStore()
|