OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:idbKey
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
IDBBindingUtilitiesTest.cpp
31
#include "modules/indexeddb/
IDBKey
.h"
39
IDBKey
* checkKeyFromValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath)
52
bool injectKey(ScriptState* scriptState,
IDBKey
* key, ScriptValue& value, const String& keyPath)
60
void checkInjection(ScriptState* scriptState,
IDBKey
* key, ScriptValue& value, const String& keyPath)
64
IDBKey
* extractedKey = checkKeyFromValueAndKeyPathInternal(scriptState->isolate(), value, keyPath);
68
void checkInjectionFails(ScriptState* scriptState,
IDBKey
* key, ScriptValue& value, const String& keyPath)
75
IDBKey
*
idbKey
= checkKeyFromValueAndKeyPathInternal(isolate, value, keyPath);
76
ASSERT_TRUE(
idbKey
);
77
ASSERT_EQ(
IDBKey
::StringType, idbKey->type())
[
all
...]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBKey.h
37
class
IDBKey
: public GarbageCollectedFinalized<
IDBKey
> {
39
typedef HeapVector<Member<
IDBKey
> > KeyArray;
41
static
IDBKey
* createInvalid()
43
return new
IDBKey
();
46
static
IDBKey
* createNumber(double number)
48
return new
IDBKey
(NumberType, number);
51
static
IDBKey
* createBinary(PassRefPtr<SharedBuffer> binary)
53
return new
IDBKey
(binary);
56
static
IDBKey
* createString(const String& string
[
all
...]
IDBRequest.cpp
198
void IDBRequest::setResultCursor(IDBCursor* cursor,
IDBKey
* key,
IDBKey
* primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<blink::WebBlobInfo> > blobInfo)
254
void IDBRequest::onSuccess(PassOwnPtr<blink::WebIDBCursor> backend,
IDBKey
* key,
IDBKey
* primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<blink::WebBlobInfo> > blobInfo)
275
void IDBRequest::onSuccess(
IDBKey
*
idbKey
)
277
IDB_TRACE("IDBRequest::onSuccess(
IDBKey
)");
281
if (
idbKey
&&
idbKey
->isValid())
282
onSuccessInternal(IDBAny::create(
idbKey
));
[
all
...]
InspectorIndexedDBAgent.cpp
51
#include "modules/indexeddb/
IDBKey
.h"
315
static
IDBKey
* idbKeyFromInspectorObject(JSONObject* key)
317
IDBKey
*
idbKey
;
332
idbKey
=
IDBKey
::createNumber(number);
337
idbKey
=
IDBKey
::createString(string);
342
idbKey
=
IDBKey
::createDate(date)
[
all
...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
IndexedDBModel.js
65
* @param {*}
idbKey
68
WebInspector.IndexedDBModel.keyFromIDBKey = function(
idbKey
)
70
if (typeof(
idbKey
) === "undefined" ||
idbKey
=== null)
74
switch (typeof(
idbKey
)) {
76
key.number =
idbKey
;
80
key.string =
idbKey
;
84
if (
idbKey
instanceof Date) {
85
key.date =
idbKey
.getTime();
87
} else if (
idbKey
instanceof Array)
[
all
...]
Completed in 69 milliseconds