keyPath 155 Source/bindings/v8/IDBBindingUtilities.cpp return toV8(impl->keyPath(), creationContext, isolate); keyPath 159 Source/bindings/v8/IDBBindingUtilities.cpp bool injected = injectV8KeyIntoV8Value(key, value, impl->keyPath(), isolate); keyPath 309 Source/bindings/v8/IDBBindingUtilities.cpp static PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(const ScriptValue& value, const String& keyPath, v8::Isolate* isolate, bool allowExperimentalTypes) keyPath 313 Source/bindings/v8/IDBBindingUtilities.cpp IDBParseKeyPath(keyPath, keyPathElements, error); keyPath 325 Source/bindings/v8/IDBBindingUtilities.cpp static PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(const ScriptValue& value, const IDBKeyPath& keyPath, v8::Isolate* isolate, bool allowExperimentalTypes = false) keyPath 327 Source/bindings/v8/IDBBindingUtilities.cpp ASSERT(!keyPath.isNull()); keyPath 329 Source/bindings/v8/IDBBindingUtilities.cpp if (keyPath.type() == IDBKeyPath::ArrayType) { keyPath 331 Source/bindings/v8/IDBBindingUtilities.cpp const Vector<String>& array = keyPath.array(); keyPath 341 Source/bindings/v8/IDBBindingUtilities.cpp ASSERT(keyPath.type() == IDBKeyPath::StringType); keyPath 342 Source/bindings/v8/IDBBindingUtilities.cpp return createIDBKeyFromScriptValueAndKeyPath(value, keyPath.string(), isolate, allowExperimentalTypes); keyPath 345 Source/bindings/v8/IDBBindingUtilities.cpp PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(DOMRequestState* state, const ScriptValue& value, const IDBKeyPath& keyPath) keyPath 349 Source/bindings/v8/IDBBindingUtilities.cpp return createIDBKeyFromScriptValueAndKeyPath(value, keyPath, isolate); keyPath 365 Source/bindings/v8/IDBBindingUtilities.cpp bool injectV8KeyIntoV8Value(v8::Handle<v8::Value> key, v8::Handle<v8::Value> value, const IDBKeyPath& keyPath, v8::Isolate* isolate) keyPath 370 Source/bindings/v8/IDBBindingUtilities.cpp ASSERT(keyPath.type() == IDBKeyPath::StringType); keyPath 373 Source/bindings/v8/IDBBindingUtilities.cpp IDBParseKeyPath(keyPath.string(), keyPathElements, error); keyPath 390 Source/bindings/v8/IDBBindingUtilities.cpp bool canInjectIDBKeyIntoScriptValue(DOMRequestState* state, const ScriptValue& scriptValue, const IDBKeyPath& keyPath) keyPath 393 Source/bindings/v8/IDBBindingUtilities.cpp ASSERT(keyPath.type() == IDBKeyPath::StringType); keyPath 396 Source/bindings/v8/IDBBindingUtilities.cpp IDBParseKeyPath(keyPath.string(), keyPathElements, error); keyPath 444 Source/bindings/v8/IDBBindingUtilities.cpp void assertPrimaryKeyValidOrInjectable(DOMRequestState* state, PassRefPtr<SharedBuffer> buffer, PassRefPtr<IDBKey> prpKey, const IDBKeyPath& keyPath) keyPath 456 Source/bindings/v8/IDBBindingUtilities.cpp RefPtr<IDBKey> expectedKey = createIDBKeyFromScriptValueAndKeyPath(scriptValue, keyPath, isolate, allowExperimentalTypes); keyPath 459 Source/bindings/v8/IDBBindingUtilities.cpp bool injected = injectV8KeyIntoV8Value(keyValue.v8Value(), scriptValue.v8Value(), keyPath, isolate); keyPath 40 Source/bindings/v8/IDBBindingUtilitiesTest.cpp PassRefPtr<IDBKey> checkKeyFromValueAndKeyPathInternal(const ScriptValue& value, const String& keyPath) keyPath 42 Source/bindings/v8/IDBBindingUtilitiesTest.cpp IDBKeyPath idbKeyPath(keyPath); keyPath 48 Source/bindings/v8/IDBBindingUtilitiesTest.cpp void checkKeyPathNullValue(const ScriptValue& value, const String& keyPath) keyPath 50 Source/bindings/v8/IDBBindingUtilitiesTest.cpp RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath); keyPath 54 Source/bindings/v8/IDBBindingUtilitiesTest.cpp bool injectKey(PassRefPtr<IDBKey> key, ScriptValue& value, const String& keyPath) keyPath 56 Source/bindings/v8/IDBBindingUtilitiesTest.cpp IDBKeyPath idbKeyPath(keyPath); keyPath 62 Source/bindings/v8/IDBBindingUtilitiesTest.cpp void checkInjection(PassRefPtr<IDBKey> prpKey, ScriptValue& value, const String& keyPath) keyPath 65 Source/bindings/v8/IDBBindingUtilitiesTest.cpp bool result = injectKey(key, value, keyPath); keyPath 67 Source/bindings/v8/IDBBindingUtilitiesTest.cpp RefPtr<IDBKey> extractedKey = checkKeyFromValueAndKeyPathInternal(value, keyPath); keyPath 71 Source/bindings/v8/IDBBindingUtilitiesTest.cpp void checkInjectionFails(PassRefPtr<IDBKey> key, ScriptValue& value, const String& keyPath) keyPath 73 Source/bindings/v8/IDBBindingUtilitiesTest.cpp EXPECT_FALSE(injectKey(key, value, keyPath)); keyPath 76 Source/bindings/v8/IDBBindingUtilitiesTest.cpp void checkKeyPathStringValue(const ScriptValue& value, const String& keyPath, const String& expected) keyPath 78 Source/bindings/v8/IDBBindingUtilitiesTest.cpp RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath); keyPath 84 Source/bindings/v8/IDBBindingUtilitiesTest.cpp void checkKeyPathNumberValue(const ScriptValue& value, const String& keyPath, int expected) keyPath 86 Source/bindings/v8/IDBBindingUtilitiesTest.cpp RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath); keyPath 186 Source/modules/indexeddb/IDBAny.cpp IDBAny::IDBAny(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDBKeyPath& keyPath) keyPath 189 Source/modules/indexeddb/IDBAny.cpp , m_idbKeyPath(keyPath) keyPath 73 Source/modules/indexeddb/IDBAny.h static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDBKeyPath& keyPath) keyPath 75 Source/modules/indexeddb/IDBAny.h return adoptRef(new IDBAny(value, key, keyPath)); keyPath 110 Source/modules/indexeddb/IDBAny.h const IDBKeyPath& keyPath() const; keyPath 130 Source/modules/indexeddb/IDBCursor.cpp const IDBKeyPath& keyPath = objectStore->metadata().keyPath; keyPath 131 Source/modules/indexeddb/IDBCursor.cpp const bool usesInLineKeys = !keyPath.isNull(); keyPath 133 Source/modules/indexeddb/IDBCursor.cpp RefPtr<IDBKey> keyPathKey = createIDBKeyFromScriptValueAndKeyPath(m_request->requestState(), value, keyPath); keyPath 334 Source/modules/indexeddb/IDBCursor.cpp if (metadata.autoIncrement && !metadata.keyPath.isNull()) { keyPath 335 Source/modules/indexeddb/IDBCursor.cpp value = IDBAny::create(m_value, m_primaryKey, metadata.keyPath); keyPath 337 Source/modules/indexeddb/IDBCursor.cpp assertPrimaryKeyValidOrInjectable(&requestState, m_value, m_primaryKey, metadata.keyPath); keyPath 177 Source/modules/indexeddb/IDBDatabase.cpp IDBKeyPath keyPath; keyPath 183 Source/modules/indexeddb/IDBDatabase.cpp keyPath = IDBKeyPath(keyPathArray); keyPath 185 Source/modules/indexeddb/IDBDatabase.cpp keyPath = IDBKeyPath(keyPathString); keyPath 190 Source/modules/indexeddb/IDBDatabase.cpp return createObjectStore(name, keyPath, autoIncrement, exceptionState); keyPath 193 Source/modules/indexeddb/IDBDatabase.cpp PassRefPtr<IDBObjectStore> IDBDatabase::createObjectStore(const String& name, const IDBKeyPath& keyPath, bool autoIncrement, ExceptionState& exceptionState) keyPath 215 Source/modules/indexeddb/IDBDatabase.cpp if (!keyPath.isNull() && !keyPath.isValid()) { keyPath 220 Source/modules/indexeddb/IDBDatabase.cpp if (autoIncrement && ((keyPath.type() == IDBKeyPath::StringType && keyPath.string().isEmpty()) || keyPath.type() == IDBKeyPath::ArrayType)) { keyPath 226 Source/modules/indexeddb/IDBDatabase.cpp m_backend->createObjectStore(m_versionChangeTransaction->id(), objectStoreId, name, keyPath, autoIncrement); keyPath 228 Source/modules/indexeddb/IDBDatabase.cpp IDBObjectStoreMetadata metadata(name, objectStoreId, keyPath, autoIncrement, WebIDBDatabase::minimumIndexId); keyPath 66 Source/modules/indexeddb/IDBIndex.cpp return idbAnyToScriptValue(&requestState, IDBAny::create(m_metadata.keyPath)); keyPath 56 Source/modules/indexeddb/IDBIndex.h ScriptValue keyPath(ExecutionContext*) const; keyPath 125 Source/modules/indexeddb/IDBKeyPath.cpp bool IDBIsValidKeyPath(const String& keyPath) keyPath 129 Source/modules/indexeddb/IDBKeyPath.cpp IDBParseKeyPath(keyPath, keyPathElements, error); keyPath 133 Source/modules/indexeddb/IDBKeyPath.cpp void IDBParseKeyPath(const String& keyPath, Vector<String>& elements, IDBKeyPathParseError& error) keyPath 143 Source/modules/indexeddb/IDBKeyPath.cpp IDBKeyPathLexer lexer(keyPath); keyPath 40 Source/modules/indexeddb/IDBKeyPathTest.cpp void checkKeyPath(const String& keyPath, const Vector<String>& expected, int parserError) keyPath 42 Source/modules/indexeddb/IDBKeyPathTest.cpp IDBKeyPath idbKeyPath(keyPath); keyPath 48 Source/modules/indexeddb/IDBKeyPathTest.cpp IDBParseKeyPath(keyPath, keyPathElements, error); keyPath 60 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath(""); keyPath 61 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 0); keyPath 67 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo"); keyPath 69 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 0); keyPath 75 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo.bar.baz"); keyPath 79 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 0); keyPath 85 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath(" "); keyPath 86 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 1); keyPath 92 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("+foo.bar.baz"); keyPath 93 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 1); keyPath 99 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo bar baz"); keyPath 101 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 2); keyPath 107 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo .bar .baz"); keyPath 109 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 2); keyPath 115 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo. bar. baz"); keyPath 117 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 3); keyPath 123 Source/modules/indexeddb/IDBKeyPathTest.cpp String keyPath("foo..bar..baz"); keyPath 125 Source/modules/indexeddb/IDBKeyPathTest.cpp checkKeyPath(keyPath, expected, 3); keyPath 41 Source/modules/indexeddb/IDBMetadata.h IDBIndexMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool unique, bool multiEntry) keyPath 44 Source/modules/indexeddb/IDBMetadata.h , keyPath(keyPath) keyPath 49 Source/modules/indexeddb/IDBMetadata.h IDBKeyPath keyPath; keyPath 58 Source/modules/indexeddb/IDBMetadata.h IDBObjectStoreMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool autoIncrement, int64_t maxIndexId) keyPath 61 Source/modules/indexeddb/IDBMetadata.h , keyPath(keyPath) keyPath 68 Source/modules/indexeddb/IDBMetadata.h IDBKeyPath keyPath; keyPath 67 Source/modules/indexeddb/IDBObjectStore.cpp return idbAnyToScriptValue(&requestState, IDBAny::create(m_metadata.keyPath)); keyPath 111 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKey> indexKey = createIDBKeyFromScriptValueAndKeyPath(requestState, objectValue, indexMetadata.keyPath); keyPath 181 Source/modules/indexeddb/IDBObjectStore.cpp const IDBKeyPath& keyPath = m_metadata.keyPath; keyPath 182 Source/modules/indexeddb/IDBObjectStore.cpp const bool usesInLineKeys = !keyPath.isNull(); keyPath 197 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKey> keyPathKey = createIDBKeyFromScriptValueAndKeyPath(&requestState, value, keyPath); keyPath 207 Source/modules/indexeddb/IDBObjectStore.cpp if (!canInjectIDBKeyIntoScriptValue(&requestState, value, keyPath)) { keyPath 365 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ExecutionContext* context, const String& name, const IDBKeyPath& keyPath, const Dictionary& options, ExceptionState& exceptionState) keyPath 373 Source/modules/indexeddb/IDBObjectStore.cpp return createIndex(context, name, keyPath, unique, multiEntry, exceptionState); keyPath 376 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ExecutionContext* context, const String& name, const IDBKeyPath& keyPath, bool unique, bool multiEntry, ExceptionState& exceptionState) keyPath 395 Source/modules/indexeddb/IDBObjectStore.cpp if (!keyPath.isValid()) { keyPath 408 Source/modules/indexeddb/IDBObjectStore.cpp if (keyPath.type() == IDBKeyPath::ArrayType && multiEntry) { keyPath 414 Source/modules/indexeddb/IDBObjectStore.cpp backendDB()->createIndex(m_transaction->id(), id(), indexId, name, keyPath, unique, multiEntry); keyPath 418 Source/modules/indexeddb/IDBObjectStore.cpp IDBIndexMetadata metadata(name, indexId, keyPath, unique, multiEntry); keyPath 63 Source/modules/indexeddb/IDBObjectStore.h ScriptValue keyPath(ExecutionContext*) const; keyPath 76 Source/modules/indexeddb/IDBObjectStore.h PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& name, const String& keyPath, const Dictionary& options, ExceptionState& exceptionState) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptionState); } keyPath 77 Source/modules/indexeddb/IDBObjectStore.h PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& name, const Vector<String>& keyPath, const Dictionary& options, ExceptionState& exceptionState) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptionState); } keyPath 304 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::onSuccess(PassRefPtr<SharedBuffer> prpValueBuffer, PassRefPtr<IDBKey> prpPrimaryKey, const IDBKeyPath& keyPath) keyPath 311 Source/modules/indexeddb/IDBRequest.cpp ASSERT(keyPath == effectiveObjectStore(m_source)->metadata().keyPath); keyPath 318 Source/modules/indexeddb/IDBRequest.cpp assertPrimaryKeyValidOrInjectable(&m_requestState, valueBuffer, primaryKey, keyPath); keyPath 321 Source/modules/indexeddb/IDBRequest.cpp onSuccessInternal(IDBAny::create(valueBuffer, primaryKey, keyPath)); keyPath 231 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<KeyPath> keyPath; keyPath 234 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath = KeyPath::create().setType(KeyPath::Type::Null); keyPath 237 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath = KeyPath::create().setType(KeyPath::Type::String); keyPath 238 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath->setString(idbKeyPath.string()); keyPath 241 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath = KeyPath::create().setType(KeyPath::Type::Array); keyPath 246 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath->setArray(array); keyPath 253 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp return keyPath.release(); keyPath 285 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp .setKeyPath(keyPathFromIDBKeyPath(indexMetadata.keyPath)) keyPath 293 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp .setKeyPath(keyPathFromIDBKeyPath(objectStoreMetadata.keyPath)) keyPath 101 Source/modules/indexeddb/WebIDBCallbacksImpl.cpp void WebIDBCallbacksImpl::onSuccess(const WebData& value, const WebIDBKey& key, const WebIDBKeyPath& keyPath) keyPath 103 Source/modules/indexeddb/WebIDBCallbacksImpl.cpp m_request->onSuccess(value, key, keyPath); keyPath 38 Source/web/WebIDBKeyPath.cpp WebIDBKeyPath WebIDBKeyPath::create(const WebString& keyPath) keyPath 40 Source/web/WebIDBKeyPath.cpp return WebIDBKeyPath(IDBKeyPath(keyPath)); keyPath 43 Source/web/WebIDBKeyPath.cpp WebIDBKeyPath WebIDBKeyPath::create(const WebVector<WebString>& keyPath) keyPath 46 Source/web/WebIDBKeyPath.cpp for (size_t i = 0; i < keyPath.size(); ++i) keyPath 47 Source/web/WebIDBKeyPath.cpp strings.append(keyPath[i]); keyPath 56 Source/web/WebIDBKeyPath.cpp void WebIDBKeyPath::assign(const WebIDBKeyPath& keyPath) keyPath 58 Source/web/WebIDBKeyPath.cpp ASSERT(keyPath.m_private.get()); keyPath 59 Source/web/WebIDBKeyPath.cpp m_private.reset(new IDBKeyPath(keyPath)); keyPath 52 Source/web/WebIDBMetadata.cpp webObjectStore.keyPath = objectStore.keyPath; keyPath 63 Source/web/WebIDBMetadata.cpp webIndex.keyPath = index.keyPath; keyPath 77 Source/web/WebIDBMetadata.cpp IDBObjectStoreMetadata objectStore(webObjectStore.name, webObjectStore.id, webObjectStore.keyPath, webObjectStore.autoIncrement, webObjectStore.maxIndexId); keyPath 81 Source/web/WebIDBMetadata.cpp IDBIndexMetadata index(webIndex.name, webIndex.id, webIndex.keyPath, webIndex.unique, webIndex.multiEntry); keyPath 45 public/platform/WebIDBKeyPath.h WebIDBKeyPath(const WebIDBKeyPath& keyPath) { assign(keyPath); } keyPath 47 public/platform/WebIDBKeyPath.h WebIDBKeyPath& operator=(const WebIDBKeyPath& keyPath) keyPath 49 public/platform/WebIDBKeyPath.h assign(keyPath); keyPath 61 public/platform/WebIDBMetadata.h WebIDBKeyPath keyPath; keyPath 67 public/platform/WebIDBMetadata.h : keyPath(WebIDBKeyPath::createNull()) keyPath 73 public/platform/WebIDBMetadata.h WebIDBKeyPath keyPath; keyPath 78 public/platform/WebIDBMetadata.h : keyPath(WebIDBKeyPath::createNull())