Home
last modified time | relevance | path

Searched refs:IDBKeyPath (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/web/
DWebIDBKeyPath.cpp38 return WebIDBKeyPath(IDBKeyPath(keyPath)); in create()
46 return WebIDBKeyPath(IDBKeyPath(strings)); in create()
51 return WebIDBKeyPath(IDBKeyPath()); in createNull()
57 m_private.reset(new IDBKeyPath(keyPath)); in assign()
80 ASSERT(m_private->type() == IDBKeyPath::ArrayType); in array()
87 ASSERT(m_private->type() == IDBKeyPath::StringType); in string()
91 WebIDBKeyPath::WebIDBKeyPath(const IDBKeyPath& value) in WebIDBKeyPath()
92 : m_private(new IDBKeyPath(value)) in WebIDBKeyPath()
97 WebIDBKeyPath& WebIDBKeyPath::operator=(const IDBKeyPath& value) in operator =()
100 m_private.reset(new IDBKeyPath(value)); in operator =()
[all …]
DAssertMatchingEnums.cpp494 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeNull, IDBKeyPath::NullType);
495 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeString, IDBKeyPath::StringType);
496 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeArray, IDBKeyPath::ArrayType);
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBKeyPath.h43 class IDBKeyPath {
45 IDBKeyPath() : m_type(NullType) { } in IDBKeyPath() function
46 explicit IDBKeyPath(const String&);
47 explicit IDBKeyPath(const Vector<String>& array);
71 bool operator==(const IDBKeyPath& other) const;
DIDBKeyPath.cpp196 IDBKeyPath::IDBKeyPath(const String& string) in IDBKeyPath() function in blink::IDBKeyPath
203 IDBKeyPath::IDBKeyPath(const Vector<String>& array) in IDBKeyPath() function in blink::IDBKeyPath
213 bool IDBKeyPath::isValid() const in isValid()
235 bool IDBKeyPath::operator==(const IDBKeyPath& other) const in operator ==()
DIDBAny.h43 class IDBKeyPath; variable
76 …r<SharedBuffer> value, const Vector<WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPath& keyPath) in create()
116 const IDBKeyPath& keyPath() const;
127 explicit IDBAny(const IDBKeyPath&);
130 IDBAny(PassRefPtr<SharedBuffer>, const Vector<WebBlobInfo>*, IDBKey*, const IDBKeyPath&);
143 const IDBKeyPath m_idbKeyPath;
DIDBMetadata.h41 …IDBIndexMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool unique, bool mult… in IDBIndexMetadata()
49 IDBKeyPath keyPath;
58 …IDBObjectStoreMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool autoIncreme… in IDBObjectStoreMetadata()
68 IDBKeyPath keyPath;
DIDBObjectStore.h80 return createIndex(scriptState, name, IDBKeyPath(keyPath), options, exceptionState); in createIndex()
84 return createIndex(scriptState, name, IDBKeyPath(keyPath), options, exceptionState); in createIndex()
111 …IDBIndex* createIndex(ScriptState*, const String& name, const IDBKeyPath&, const IDBIndexParameter…
DIDBAny.cpp119 const IDBKeyPath& IDBAny::keyPath() const in keyPath()
199 …r<SharedBuffer> value, const Vector<WebBlobInfo>* blobInfo, IDBKey* key, const IDBKeyPath& keyPath) in IDBAny()
216 IDBAny::IDBAny(const IDBKeyPath& value) in IDBAny()
DIDBDatabase.cpp200 IDBKeyPath keyPath; in createObjectStore()
206 keyPath = IDBKeyPath(keyPathArray); in createObjectStore()
208 keyPath = IDBKeyPath(keyPathString); in createObjectStore()
216 IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const IDBKeyPath& keyPath, bool … in createObjectStore()
243 …oIncrement && ((keyPath.type() == IDBKeyPath::StringType && keyPath.string().isEmpty()) || keyPath… in createObjectStore()
DIDBKeyPathTest.cpp41 IDBKeyPath idbKeyPath(keyPath); in checkKeyPath()
42 ASSERT_EQ(idbKeyPath.type(), IDBKeyPath::StringType); in checkKeyPath()
DIDBRequestTest.cpp88 …haredBuffer>(nullptr), adoptPtr(new Vector<WebBlobInfo>()), IDBKey::createInvalid(), IDBKeyPath()); in TEST_F()
DIDBDatabase.h77 …IDBObjectStore* createObjectStore(const String& name, const IDBKeyPath&, bool autoIncrement, Excep…
DInspectorIndexedDBAgent.cpp231 static PassRefPtr<KeyPath> keyPathFromIDBKeyPath(const IDBKeyPath& idbKeyPath) in keyPathFromIDBKeyPath()
235 case IDBKeyPath::NullType: in keyPathFromIDBKeyPath()
238 case IDBKeyPath::StringType: in keyPathFromIDBKeyPath()
242 case IDBKeyPath::ArrayType: { in keyPathFromIDBKeyPath()
DIDBRequest.h102 … onSuccess(PassRefPtr<SharedBuffer>, PassOwnPtr<Vector<WebBlobInfo> >, IDBKey*, const IDBKeyPath&);
DIDBObjectStore.cpp189 const IDBKeyPath& keyPath = m_metadata.keyPath; in put()
407 …Store::createIndex(ScriptState* scriptState, const String& name, const IDBKeyPath& keyPath, const … in createIndex()
439 if (keyPath.type() == IDBKeyPath::ArrayType && options.multiEntry()) { in createIndex()
DIDBRequest.cpp330 …uffer, PassOwnPtr<Vector<WebBlobInfo> > blobInfo, IDBKey* prpPrimaryKey, const IDBKeyPath& keyPath) in onSuccess()
/external/chromium_org/third_party/WebKit/public/platform/
DWebIDBKeyPath.h37 class IDBKeyPath; variable
62 WebIDBKeyPath(const IDBKeyPath&);
63 WebIDBKeyPath& operator=(const IDBKeyPath&);
64 operator const IDBKeyPath&() const;
68 WebPrivateOwnPtr<IDBKeyPath> m_private;
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
DIDBBindingUtilities.h38 class IDBKeyPath; variable
45 …8KeyIntoV8Value(v8::Isolate*, v8::Handle<v8::Value> key, v8::Handle<v8::Value>, const IDBKeyPath&);
48 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&);
49 bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBKeyPath&);
57 …ptState*, PassRefPtr<SharedBuffer>, const Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&);
DIDBBindingUtilities.cpp58 static v8::Handle<v8::Value> toV8(const IDBKeyPath& value, v8::Handle<v8::Object> creationContext, … in toV8()
61 case IDBKeyPath::NullType: in toV8()
63 case IDBKeyPath::StringType: in toV8()
65 case IDBKeyPath::ArrayType: in toV8()
323 …dKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath, bool a… in createIDBKeyFromScriptValueAndKeyPathInternal()
327 if (keyPath.type() == IDBKeyPath::ArrayType) { in createIDBKeyFromScriptValueAndKeyPathInternal()
339 ASSERT(keyPath.type() == IDBKeyPath::StringType); in createIDBKeyFromScriptValueAndKeyPathInternal()
343 …romScriptValueAndKeyPath(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath) in createIDBKeyFromScriptValueAndKeyPath()
362 …solate* isolate, v8::Handle<v8::Value> key, v8::Handle<v8::Value> value, const IDBKeyPath& keyPath) in injectV8KeyIntoV8Value()
367 ASSERT(keyPath.type() == IDBKeyPath::StringType); in injectV8KeyIntoV8Value()
[all …]
DIDBBindingUtilitiesTest.cpp41 IDBKeyPath idbKeyPath(keyPath); in checkKeyFromValueAndKeyPathInternal()
54 IDBKeyPath idbKeyPath(keyPath); in injectKey()
/external/chromium_org/third_party/WebKit/Source/modules/
Dmodules.gypi535 'indexeddb/IDBKeyPath.cpp',
536 'indexeddb/IDBKeyPath.h',
Dmodules.target.darwin-x86.mk230 third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \
Dmodules.target.linux-mips64.mk230 third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \
Dmodules.target.linux-x86_64.mk230 third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \
Dmodules.target.linux-arm.mk230 third_party/WebKit/Source/modules/indexeddb/IDBKeyPath.cpp \

12