Searched defs:keyPath (Results 1 - 25 of 34) sorted by relevance

12

/external/webkit/Source/WebCore/storage/
H A DIDBKeyPathBackendImpl.cpp35 void IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>&, 0> values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys) argument
40 PassRefPtr<SerializedScriptValue> IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) argument
H A DIDBIndex.h53 String keyPath() const { return m_backend->keyPath(); } function in class:WebCore::IDBIndex
H A DIDBObjectStore.h58 String keyPath() const;
64 PassRefPtr<IDBIndex> createIndex(const String& name, const String& keyPath, ExceptionCode& ec) { return createIndex(name, keyPath, OptionsObject(), ec); } argument
74 PassRefPtr<IDBIndex> createIndex(const String& name, const String& keyPath, const OptionsObject&, ExceptionCode&);
H A DIDBIndexBackendImpl.h43 static PassRefPtr<IDBIndexBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) argument
45 return adoptRef(new IDBIndexBackendImpl(backingStore, databaseId, objectStoreBackend, id, name, storeName, keyPath, unique));
47 static PassRefPtr<IDBIndexBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) argument
49 return adoptRef(new IDBIndexBackendImpl(backingStore, databaseId, objectStoreBackend, name, storeName, keyPath, unique));
66 virtual String keyPath() { return m_keyPath; } function in class:WebCore::IDBIndexBackendImpl
75 IDBIndexBackendImpl(IDBBackingStore*, int64_t databaseId, const IDBObjectStoreBackendImpl*, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique);
76 IDBIndexBackendImpl(IDBBackingStore*, int64_t databaseId, const IDBObjectStoreBackendImpl*, const String& name, const String& storeName, const String& keyPath, bool unique);
H A DIDBObjectStore.cpp60 String IDBObjectStore::keyPath() const function in class:WebCore::IDBObjectStore
62 return m_objectStore->keyPath();
125 PassRefPtr<IDBIndex> IDBObjectStore::createIndex(const String& name, const String& keyPath, const OptionsObject& options, ExceptionCode& ec) argument
130 RefPtr<IDBIndexBackendInterface> index = m_objectStore->createIndex(name, keyPath, unique, m_transaction->backend(), ec);
H A DIDBObjectStoreBackendImpl.h45 static PassRefPtr<IDBObjectStoreBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncrement) argument
47 return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, id, name, keyPath, autoIncrement));
49 static PassRefPtr<IDBObjectStoreBackendImpl> create(IDBBackingStore* backingStore, int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement) argument
51 return adoptRef(new IDBObjectStoreBackendImpl(backingStore, databaseId, name, keyPath, autoIncrement));
65 virtual String keyPath() const { return m_keyPath; } function in class:WebCore::IDBObjectStoreBackendImpl
74 virtual PassRefPtr<IDBIndexBackendInterface> createIndex(const String& name, const String& keyPath, bool unique, IDBTransactionBackendInterface*, ExceptionCode&);
81 IDBObjectStoreBackendImpl(IDBBackingStore*, int64_t databaseId, int64_t id, const String& name, const String& keyPath, bool autoIncrement);
82 IDBObjectStoreBackendImpl(IDBBackingStore*, int64_t databaseId, const String& name, const String& keyPath, bool autoIncrement);
H A DIDBDatabase.cpp82 String keyPath; local
83 options.getKeyString("keyPath", keyPath);
88 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->createObjectStore(name, keyPath, autoIncrement, m_setVersionTransaction->backend(), ec);
H A DIDBIndexBackendImpl.cpp43 IDBIndexBackendImpl::IDBIndexBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, int64_t id, const String& name, const String& storeName, const String& keyPath, bool unique) argument
50 , m_keyPath(keyPath)
55 IDBIndexBackendImpl::IDBIndexBackendImpl(IDBBackingStore* backingStore, int64_t databaseId, const IDBObjectStoreBackendImpl* objectStoreBackend, const String& name, const String& storeName, const String& keyPath, bool unique) argument
62 , m_keyPath(keyPath)
H A DIDBDatabaseBackendImpl.cpp100 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendImpl::createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface* transactionPtr, ExceptionCode& ec) argument
109 RefPtr<IDBObjectStoreBackendImpl> objectStore = IDBObjectStoreBackendImpl::create(m_backingStore.get(), m_id, name, keyPath, autoIncrement);
128 if (!database->m_backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objectStore->autoIncrement(), objectStoreId)) {
/external/webkit/Source/WebCore/storage/chromium/
H A DIDBKeyPathBackendImpl.cpp37 void IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys) argument
39 PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath(values, keyPath, keys);
42 PassRefPtr<SerializedScriptValue> IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) argument
44 return PlatformBridge::injectIDBKeyIntoSerializedValue(key, value, keyPath);
/external/webkit/Source/WebKit/chromium/public/
H A DWebIDBKeyPath.h44 WebIDBKeyPath(const WebIDBKeyPath& keyPath) { assign(keyPath); } argument
H A DWebIDBIndex.h54 virtual WebString keyPath() const function in class:WebKit::WebIDBIndex
H A DWebIDBDatabase.h61 virtual WebIDBObjectStore* createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncrement, const WebIDBTransaction&, WebExceptionCode&) argument
H A DWebIDBObjectStore.h51 virtual WebString keyPath() const function in class:WebKit::WebIDBObjectStore
73 virtual WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebIDBTransaction&, WebExceptionCode&) argument
/external/webkit/Source/WebKit/chromium/tests/
H A DIDBKeyPathTest.cpp51 void checkKeyPath(const String& keyPath, const Vector<IDBKeyPathElement>& expected, int parserError) argument
56 IDBParseKeyPath(keyPath, idbKeyPathElements, error);
75 String keyPath("foo.bar.zoo");
79 checkKeyPath(keyPath, expected, 0);
85 String keyPath("a[34][20].foo[2].bar");
92 checkKeyPath(keyPath, expected, 0);
98 String keyPath("foo[ 34 ].Zoo_[00023]\t._c");
104 checkKeyPath(keyPath, expected, 0);
110 String keyPath("foo[ 34 ]");
113 checkKeyPath(keyPath, expecte
[all...]
H A DIDBBindingUtilitiesTest.cpp60 PassRefPtr<IDBKey> checkKeyFromValueAndKeyPathInternal(SerializedScriptValue* value, const String& keyPath) argument
64 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
69 void checkKeyPathNullValue(SerializedScriptValue* value, const String& keyPath) argument
71 RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath);
75 PassRefPtr<SerializedScriptValue> injectKey(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) argument
79 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
84 void checkInjection(PassRefPtr<IDBKey> prpKey, PassRefPtr<SerializedScriptValue> value, const String& keyPath) argument
87 RefPtr<SerializedScriptValue> newValue = injectKey(key, value, keyPath);
89 RefPtr<IDBKey> extractedKey = checkKeyFromValueAndKeyPathInternal(newValue.get(), keyPath);
93 void checkInjectionFails(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) argument
98 checkKeyPathStringValue(SerializedScriptValue* value, const String& keyPath, const String& expected) argument
106 checkKeyPathNumberValue(SerializedScriptValue* value, const String& keyPath, int expected) argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebIDBIndexImpl.cpp61 WebString WebIDBIndexImpl::keyPath() const function in class:WebKit::WebIDBIndexImpl
63 return m_backend->keyPath();
H A DWebIDBKeyPath.cpp40 WebIDBKeyPath WebIDBKeyPath::create(const WebString& keyPath) argument
44 IDBParseKeyPath(keyPath, idbElements, idbError);
59 void WebIDBKeyPath::assign(const WebIDBKeyPath& keyPath) argument
61 m_parseError = keyPath.m_parseError;
62 m_private.reset(new WTF::Vector<IDBKeyPathElement>(keyPath));
H A DIDBDatabaseBackendProxy.cpp78 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendProxy::createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument
83 WebIDBObjectStore* objectStore = m_webIDBDatabase->createObjectStore(name, keyPath, autoIncrement, *transactionProxy->getWebIDBTransaction(), ec);
H A DIDBIndexBackendProxy.cpp68 String IDBIndexBackendProxy::keyPath() function in class:WebKit::IDBIndexBackendProxy
70 return m_webIDBIndex->keyPath();
H A DIDBObjectStoreBackendProxy.cpp67 String IDBObjectStoreBackendProxy::keyPath() const function in class:WebKit::IDBObjectStoreBackendProxy
69 return m_webIDBObjectStore->keyPath();
109 PassRefPtr<IDBIndexBackendInterface> IDBObjectStoreBackendProxy::createIndex(const String& name, const String& keyPath, bool unique, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument
114 WebIDBIndex* index = m_webIDBObjectStore->createIndex(name, keyPath, unique, *transactionProxy->getWebIDBTransaction(), ec);
H A DWebIDBDatabaseImpl.cpp69 WebIDBObjectStore* WebIDBDatabaseImpl::createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncrement, const WebIDBTransaction& transaction, WebExceptionCode& ec) argument
71 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_databaseBackend->createObjectStore(name, keyPath, autoIncrement, transaction.getIDBTransactionBackendInterface(), ec);
H A DWebIDBObjectStoreImpl.cpp60 WebString WebIDBObjectStoreImpl::keyPath() const function in class:WebKit::WebIDBObjectStoreImpl
62 return m_objectStore->keyPath();
90 WebIDBIndex* WebIDBObjectStoreImpl::createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebIDBTransaction& transaction, WebExceptionCode& ec) argument
92 RefPtr<IDBIndexBackendInterface> index = m_objectStore->createIndex(name, keyPath, unique, transaction.getIDBTransactionBackendInterface(), ec);
/external/webkit/Source/WebCore/bindings/v8/
H A DIDBBindingUtilities.cpp135 PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) argument
139 v8::Handle<v8::Value> v8Key(getNthValueOnKeyPath(v8Value, keyPath, keyPath.size()));
145 PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) argument
148 if (!keyPath.size())
152 v8::Handle<v8::Value> parent(getNthValueOnKeyPath(v8Value, keyPath, keyPath.size() - 1));
156 if (!set(parent, keyPath.last(), toV8(key.get())))
/external/webkit/Source/WebCore/platform/graphics/ca/win/
H A DPlatformCAAnimationWin.cpp136 PassRefPtr<PlatformCAAnimation> PlatformCAAnimation::create(AnimationType type, const String& keyPath) argument
138 return adoptRef(new PlatformCAAnimation(type, keyPath));
146 PlatformCAAnimation::PlatformCAAnimation(AnimationType type, const String& keyPath) argument
154 RetainPtr<CFStringRef> s(AdoptCF, keyPath.createCFString());
174 RefPtr<PlatformCAAnimation> animation = create(animationType(), keyPath());
215 String PlatformCAAnimation::keyPath() const function in class:PlatformCAAnimation

Completed in 847 milliseconds

12