Searched refs:keyPath (Results 1 - 25 of 57) sorted by relevance

123

/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/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 DIDBKeyPathBackendImpl.h40 static void createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys);
41 static PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const String& keyPath);
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 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 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 DIDBObjectStore.idl32 readonly attribute [ConvertNullStringTo=Null] DOMString keyPath;
47 IDBIndex createIndex(in DOMString name, in [ConvertNullToNullString] DOMString keyPath, in [Optional] OptionsObject options)
H A DIDBObjectStoreBackendInterface.h50 virtual String keyPath() const = 0;
65 virtual PassRefPtr<IDBIndexBackendInterface> createIndex(const String& name, const String& keyPath, bool unique, IDBTransactionBackendInterface*, ExceptionCode&) = 0;
H A DIDBIndexBackendInterface.h48 virtual String keyPath() = 0;
H A DIDBIndex.h53 String keyPath() const { return m_backend->keyPath(); } function in class:WebCore::IDBIndex
/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 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 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);
H A DWebIDBIndexImpl.cpp61 WebString WebIDBIndexImpl::keyPath() const function in class:WebKit::WebIDBIndexImpl
63 return m_backend->keyPath();
H A DWebIDBObjectStoreImpl.h49 WebString keyPath() const;
57 WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebIDBTransaction&, WebExceptionCode&);
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 DWebIDBIndexImpl.h48 virtual WebString keyPath() const;
/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())))
H A DIDBBindingUtilities.h41 PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement, 0>& keyPath);
/external/webkit/Source/WebKit/chromium/public/
H A DWebIDBKeyPath.h44 WebIDBKeyPath(const WebIDBKeyPath& keyPath) { assign(keyPath); } 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
H A DWebIDBIndex.h54 virtual WebString keyPath() const function in class:WebKit::WebIDBIndex
/external/clang/lib/Driver/
H A DWindowsToolChain.cpp91 static bool getSystemRegistryString(const char *keyPath, const char *valueName, argument
101 if (strncmp(keyPath, "HKEY_CLASSES_ROOT\\", 18) == 0) {
103 subKey = keyPath + 18;
104 } else if (strncmp(keyPath, "HKEY_USERS\\", 11) == 0) {
106 subKey = keyPath + 11;
107 } else if (strncmp(keyPath, "HKEY_LOCAL_MACHINE\\", 19) == 0) {
109 subKey = keyPath + 19;
110 } else if (strncmp(keyPath, "HKEY_CURRENT_USER\\", 18) == 0) {
112 subKey = keyPath + 18;
/external/webkit/Source/WebCore/platform/graphics/ca/
H A DPlatformCAAnimation.h64 static PassRefPtr<PlatformCAAnimation> create(AnimationType, const String& keyPath);
76 String keyPath() const;
138 PlatformCAAnimation(AnimationType, const String& keyPath);

Completed in 255 milliseconds

123