Home
last modified time | relevance | path

Searched refs:primaryKey (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBCursor.cpp171 IDBKey* primaryKey = scriptValueToIDBKey(scriptState->isolate(), primaryKeyValue); in continuePrimaryKey() local
172 if (!key->isValid() || !primaryKey->isValid()) { in continuePrimaryKey()
176 continueFunction(key, primaryKey, exceptionState); in continuePrimaryKey()
179 void IDBCursor::continueFunction(IDBKey* key, IDBKey* primaryKey, ExceptionState& exceptionState) in continueFunction() argument
181 ASSERT(!primaryKey || (key && primaryKey)); in continueFunction()
206 || (primaryKey && m_key->isEqual(key) && m_primaryKey->isLessThan(primaryKey)); in continueFunction()
214 … || (primaryKey && key->isEqual(m_key.get()) && primaryKey->isLessThan(m_primaryKey.get())); in continueFunction()
226 m_backend->continueFunction(key, primaryKey, WebIDBCallbacksImpl::create(m_request).leakPtr()); in continueFunction()
289 ScriptValue IDBCursor::primaryKey(ScriptState* scriptState) in primaryKey() function in blink::IDBCursor
322 void IDBCursor::setValueReady(IDBKey* key, IDBKey* primaryKey, PassRefPtr<SharedBuffer> value, Pass… in setValueReady() argument
[all …]
DIDBCursor.h62 ScriptValue primaryKey(ScriptState*);
69 …void continuePrimaryKey(ScriptState*, const ScriptValue& key, const ScriptValue& primaryKey, Excep…
76 void continueFunction(IDBKey*, IDBKey* primaryKey, ExceptionState&);
80 …void setValueReady(IDBKey*, IDBKey* primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<…
DIDBRequest.cpp202 void IDBRequest::setResultCursor(IDBCursor* cursor, IDBKey* key, IDBKey* primaryKey, PassRefPtr<Sha… in setResultCursor() argument
206 m_cursorPrimaryKey = primaryKey; in setResultCursor()
266 void IDBRequest::onSuccess(PassOwnPtr<WebIDBCursor> backend, IDBKey* key, IDBKey* primaryKey, PassR… in onSuccess() argument
284 setResultCursor(cursor, key, primaryKey, value, blobInfo); in onSuccess()
339 IDBKey* primaryKey = prpPrimaryKey; in onSuccess() local
343 …imaryKeyValidOrInjectable(m_scriptState.get(), valueBuffer, m_blobInfo.get(), primaryKey, keyPath); in onSuccess()
346 onSuccessInternal(IDBAny::create(valueBuffer, m_blobInfo.get(), primaryKey, keyPath)); in onSuccess()
379 void IDBRequest::onSuccess(IDBKey* key, IDBKey* primaryKey, PassRefPtr<SharedBuffer> value, PassOwn… in onSuccess() argument
386 setResultCursor(m_pendingCursor.release(), key, primaryKey, value, blobInfo); in onSuccess()
DWebIDBCallbacksImpl.cpp99 …onSuccess(WebIDBCursor* cursor, const WebIDBKey& key, const WebIDBKey& primaryKey, const WebData& … in onSuccess() argument
102 m_request->onSuccess(adoptPtr(cursor), key, primaryKey, value, ConvertBlobInfo(webBlobInfo)); in onSuccess()
148 void WebIDBCallbacksImpl::onSuccess(const WebIDBKey& key, const WebIDBKey& primaryKey, const WebDat… in onSuccess() argument
151 m_request->onSuccess(key, primaryKey, value, ConvertBlobInfo(webBlobInfo)); in onSuccess()
DIDBRequest.h99 …virtual void onSuccess(PassOwnPtr<WebIDBCursor>, IDBKey*, IDBKey* primaryKey, PassRefPtr<SharedBuf…
105 …virtual void onSuccess(IDBKey*, IDBKey* primaryKey, PassRefPtr<SharedBuffer>, PassOwnPtr<Vector<We…
145 …void setResultCursor(IDBCursor*, IDBKey*, IDBKey* primaryKey, PassRefPtr<SharedBuffer> value, Pass…
DWebIDBCallbacksImpl.h59 …virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& primaryKey, const WebData…
66 …virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const WebData&, const WebVec…
DIDBCursor.idl41 [CallWith=ScriptState, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey;
47 …sException, RuntimeEnabled=IndexedDBExperimental] void continuePrimaryKey(any key, any primaryKey);
DInspectorIndexedDBAgent.cpp452 …RefPtr<JSONValue> primaryKeyJsonValue = idbCursor->primaryKey(m_scriptState.get()).toJSONValue(m_s… in handleEvent()
456 … String primaryKey = primaryKeyJsonValue ? primaryKeyJsonValue->toJSONString() : errorMessage; in handleEvent() local
459 .setPrimaryKey(primaryKey) in handleEvent()
DIDBObjectStore.cpp380 IDBKey* primaryKey = cursor->idbPrimaryKey(); in handleEvent() local
389 …m_database->backend()->setIndexKeys(m_transactionId, m_objectStoreId, primaryKey, indexIds, indexK… in handleEvent()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DIndexedDBModel.js408 … var primaryKey = WebInspector.RemoteObject.fromLocalObject(JSON.parse(dataEntries[i].primaryKey));
410 entries.push(new WebInspector.IndexedDBModel.Entry(key, primaryKey, value));
428 WebInspector.IndexedDBModel.Entry = function(key, primaryKey, value) argument
431 this.primaryKey = primaryKey;
/external/chromium_org/third_party/WebKit/public/platform/
DWebIDBCallbacks.h52 …virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& primaryKey, const WebData… in onSuccess() argument
59 …virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const WebData&, const WebVec… in onSuccess() argument
DWebIDBCursor.h43 …virtual void continueFunction(const WebIDBKey&, const WebIDBKey& primaryKey, WebIDBCallbacks*) { B… in continueFunction() argument
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DIndexedDBViews.js321 data["primaryKey"] = entries[i].primaryKey;
324 … var primaryKey = JSON.stringify(this._isIndex ? entries[i].primaryKey : entries[i].key);
/external/chromium_org/content/test/data/indexeddb/
Dcursor_prefetch.js368 if (cursor.primaryKey !== count)
403 if (cursor.primaryKey !== count)
/external/chromium_org/content/child/indexed_db/
Dindexed_db_dispatcher_unittest.cc144 const WebIDBKey& primaryKey, in onSuccess() argument
Dwebidbcursor_impl_unittest.cc103 const WebIDBKey& primaryKey, in onSuccess() argument