Home
last modified time | relevance | path

Searched refs:keyPath (Results 1 – 25 of 66) sorted by relevance

123

/external/webkit/Source/WebKit/chromium/tests/
DIDBKeyPathTest.cpp51 void checkKeyPath(const String& keyPath, const Vector<IDBKeyPathElement>& expected, int parserError) in checkKeyPath() argument
56 IDBParseKeyPath(keyPath, idbKeyPathElements, error); in checkKeyPath()
75 String keyPath("foo.bar.zoo"); in TEST() local
79 checkKeyPath(keyPath, expected, 0); in TEST()
85 String keyPath("a[34][20].foo[2].bar"); in TEST() local
92 checkKeyPath(keyPath, expected, 0); in TEST()
98 String keyPath("foo[ 34 ].Zoo_[00023]\t._c"); in TEST() local
104 checkKeyPath(keyPath, expected, 0); in TEST()
110 String keyPath("foo[ 34 ]"); in TEST() local
113 checkKeyPath(keyPath, expected, 0); in TEST()
[all …]
DIDBBindingUtilitiesTest.cpp60 …tr<IDBKey> checkKeyFromValueAndKeyPathInternal(SerializedScriptValue* value, const String& keyPath) in checkKeyFromValueAndKeyPathInternal() argument
64 IDBParseKeyPath(keyPath, idbKeyPath, parseError); in checkKeyFromValueAndKeyPathInternal()
69 void checkKeyPathNullValue(SerializedScriptValue* value, const String& keyPath) in checkKeyPathNullValue() argument
71 RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath); in checkKeyPathNullValue()
75 …> injectKey(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in injectKey() argument
79 IDBParseKeyPath(keyPath, idbKeyPath, parseError); in injectKey()
84 …njection(PassRefPtr<IDBKey> prpKey, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in checkInjection() argument
87 RefPtr<SerializedScriptValue> newValue = injectKey(key, value, keyPath); in checkInjection()
89 RefPtr<IDBKey> extractedKey = checkKeyFromValueAndKeyPathInternal(newValue.get(), keyPath); in checkInjection()
93 …ectionFails(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in checkInjectionFails() argument
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebIDBKeyPath.cpp40 WebIDBKeyPath WebIDBKeyPath::create(const WebString& keyPath) in create() argument
44 IDBParseKeyPath(keyPath, idbElements, idbError); in create()
59 void WebIDBKeyPath::assign(const WebIDBKeyPath& keyPath) in assign() argument
61 m_parseError = keyPath.m_parseError; in assign()
62 m_private.reset(new WTF::Vector<IDBKeyPathElement>(keyPath)); in assign()
DWebIDBObjectStoreImpl.cpp60 WebString WebIDBObjectStoreImpl::keyPath() const in keyPath() function in WebKit::WebIDBObjectStoreImpl
62 return m_objectStore->keyPath(); in keyPath()
90 WebIDBIndex* WebIDBObjectStoreImpl::createIndex(const WebString& name, const WebString& keyPath, bo… in createIndex() argument
92 …RefPtr<IDBIndexBackendInterface> index = m_objectStore->createIndex(name, keyPath, unique, transac… in createIndex()
DIDBObjectStoreBackendProxy.cpp67 String IDBObjectStoreBackendProxy::keyPath() const in keyPath() function in WebKit::IDBObjectStoreBackendProxy
69 return m_webIDBObjectStore->keyPath(); in keyPath()
109 …DBObjectStoreBackendProxy::createIndex(const String& name, const String& keyPath, bool unique, IDB… in createIndex() argument
114 …WebIDBIndex* index = m_webIDBObjectStore->createIndex(name, keyPath, unique, *transactionProxy->ge… in createIndex()
DWebIDBObjectStoreImpl.h49 WebString keyPath() const;
57 …WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebID…
DWebIDBIndexImpl.cpp61 WebString WebIDBIndexImpl::keyPath() const in keyPath() function in WebKit::WebIDBIndexImpl
63 return m_backend->keyPath(); in keyPath()
DIDBObjectStoreBackendProxy.h46 virtual String keyPath() const;
54 …:IDBIndexBackendInterface> createIndex(const String& name, const String& keyPath, bool unique, Web…
DWebIDBDatabaseImpl.cpp69 …BDatabaseImpl::createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncreme… in createObjectStore() argument
71 …ckendInterface> objectStore = m_databaseBackend->createObjectStore(name, keyPath, autoIncrement, t… in createObjectStore()
/external/webkit/Source/WebCore/storage/
DIDBIndexBackendImpl.h43 …ckend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) in create() argument
45 …exBackendImpl(backingStore, databaseId, objectStoreBackend, id, name, storeName, keyPath, unique)); in create()
47 …bjectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) in create() argument
49 …BIndexBackendImpl(backingStore, databaseId, objectStoreBackend, name, storeName, keyPath, unique)); in create()
66 virtual String keyPath() { return m_keyPath; } in keyPath() function
75 …mpl*, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique);
76 …toreBackendImpl*, const String& name, const String& storeName, const String& keyPath, bool unique);
DIDBObjectStoreBackendImpl.h45 …Store, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncreme… in create() argument
47 …return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, id, name, keyPath, autoInc… in create()
49 …ore* backingStore, int64_t databaseId, const String& name, const String& keyPath, bool autoIncreme… in create() argument
51 …return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, name, keyPath, autoIncreme… in create()
65 virtual String keyPath() const { return m_keyPath; } in keyPath() function
74 …<IDBIndexBackendInterface> createIndex(const String& name, const String& keyPath, bool unique, IDB…
81 …tore*, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncreme…
82 …(IDBBackingStore*, int64_t databaseId, const String& name, const String& keyPath, bool autoIncreme…
DIDBObjectStore.h58 String keyPath() const;
64 …reateIndex(const String& name, const String& keyPath, ExceptionCode& ec) { return createIndex(name… in createIndex() argument
74 …PassRefPtr<IDBIndex> createIndex(const String& name, const String& keyPath, const OptionsObject&, …
DIDBObjectStoreBackendImpl.cpp53 …Store, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncreme… in IDBObjectStoreBackendImpl() argument
58 , m_keyPath(keyPath) in IDBObjectStoreBackendImpl()
65 …ore* backingStore, int64_t databaseId, const String& name, const String& keyPath, bool autoIncreme… in IDBObjectStoreBackendImpl() argument
70 , m_keyPath(keyPath) in IDBObjectStoreBackendImpl()
104 static PassRefPtr<IDBKey> fetchKeyFromKeyPath(SerializedScriptValue* value, const String& keyPath) in fetchKeyFromKeyPath() argument
109 IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath(values, keyPath, keys); in fetchKeyFromKeyPath()
116 …IntoKeyPath(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in injectKeyIntoKeyPath() argument
118 return IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue(key, value, keyPath); in injectKeyIntoKeyPath()
216 RefPtr<IDBKey> key = fetchKeyFromKeyPath(value.get(), it->second->keyPath()); in putInternal()
369 …IDBObjectStoreBackendImpl::createIndex(const String& name, const String& keyPath, bool unique, IDB… in createIndex() argument
[all …]
DIDBKeyPathBackendImpl.cpp35 …th(const Vector<RefPtr<SerializedScriptValue>&, 0> values, const String& keyPath, Vector<RefPtr<ID… in createIDBKeysFromSerializedValuesAndKeyPath() argument
40 …alizedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in injectIDBKeyIntoSerializedValue() argument
DIDBKeyPathBackendImpl.h40 …th(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<ID…
41 …yIntoSerializedValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const String& keyPath);
DIDBObjectStore.cpp60 String IDBObjectStore::keyPath() const in keyPath() function in WebCore::IDBObjectStore
62 return m_objectStore->keyPath(); in keyPath()
125 PassRefPtr<IDBIndex> IDBObjectStore::createIndex(const String& name, const String& keyPath, const O… in createIndex() argument
130 …RefPtr<IDBIndexBackendInterface> index = m_objectStore->createIndex(name, keyPath, unique, m_trans… in createIndex()
DIDBIndexBackendImpl.cpp43 …ckend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) in IDBIndexBackendImpl() argument
50 , m_keyPath(keyPath) in IDBIndexBackendImpl()
55 …bjectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) in IDBIndexBackendImpl() argument
62 , m_keyPath(keyPath) in IDBIndexBackendImpl()
DIDBObjectStoreBackendInterface.h50 virtual String keyPath() const = 0;
65 …<IDBIndexBackendInterface> createIndex(const String& name, const String& keyPath, bool unique, IDB…
DIDBDatabase.cpp82 String keyPath; in createObjectStore() local
83 options.getKeyString("keyPath", keyPath); in createObjectStore()
88 …RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->createObjectStore(name, keyPath, a… in createObjectStore()
/external/webkit/Source/WebCore/bindings/v8/
DIDBBindingUtilities.cpp135 …dValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) in createIDBKeyFromSerializedValueAndKeyPath() argument
139 v8::Handle<v8::Value> v8Key(getNthValueOnKeyPath(v8Value, keyPath, keyPath.size())); in createIDBKeyFromSerializedValueAndKeyPath()
145 …Ptr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) in injectIDBKeyIntoSerializedValue() argument
148 if (!keyPath.size()) in injectIDBKeyIntoSerializedValue()
152 v8::Handle<v8::Value> parent(getNthValueOnKeyPath(v8Value, keyPath, keyPath.size() - 1)); in injectIDBKeyIntoSerializedValue()
156 if (!set(parent, keyPath.last(), toV8(key.get()))) in injectIDBKeyIntoSerializedValue()
/external/webkit/Source/WebCore/storage/chromium/
DIDBKeyPathBackendImpl.cpp37 …h(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<ID… in createIDBKeysFromSerializedValuesAndKeyPath() argument
39 PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath(values, keyPath, keys); in createIDBKeysFromSerializedValuesAndKeyPath()
42 …alizedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) in injectIDBKeyIntoSerializedValue() argument
44 return PlatformBridge::injectIDBKeyIntoSerializedValue(key, value, keyPath); in injectIDBKeyIntoSerializedValue()
/external/webkit/Source/WebCore/platform/graphics/ca/
DPlatformCAAnimation.h64 static PassRefPtr<PlatformCAAnimation> create(AnimationType, const String& keyPath);
76 String keyPath() const;
138 PlatformCAAnimation(AnimationType, const String& keyPath);
/external/webkit/Source/WebKit/chromium/public/
DWebIDBKeyPath.h44 WebIDBKeyPath(const WebIDBKeyPath& keyPath) { assign(keyPath); } in WebIDBKeyPath() argument
DWebIDBObjectStore.h51 virtual WebString keyPath() const in keyPath() function
73 …virtual WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, con… in createIndex() argument
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.mm105 -(void)observeValueForKeyPath:keyPath ofObject:(id)object change:(NSDictionary *)change context:(Me…
785 - (void)observeValueForKeyPath:keyPath ofObject:(id)object change:(NSDictionary *)change context:(M…
789 …LOG(Media, "WebCoreAVFMovieObserver:observeValueForKeyPath(%p) - keyPath = %s", self, [keyPath UTF…
796 if ([keyPath isEqualToString:@"status"])
798 else if ([keyPath isEqualToString:@"playbackLikelyToKeepUp"])
800 else if ([keyPath isEqualToString:@"playbackBufferEmpty"])
802 else if ([keyPath isEqualToString:@"playbackBufferFull"])
804 else if ([keyPath isEqualToString:@"asset"])
806 else if ([keyPath isEqualToString:@"loadedTimeRanges"])
808 else if ([keyPath isEqualToString:@"seekableTimeRanges"])
[all …]

123