Lines Matching refs:keyPath
60 PassRefPtr<IDBKey> checkKeyFromValueAndKeyPathInternal(SerializedScriptValue* value, const String& keyPath)
64 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
69 void checkKeyPathNullValue(SerializedScriptValue* value, const String& keyPath)
71 RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath);
75 PassRefPtr<SerializedScriptValue> injectKey(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath)
79 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
84 void checkInjection(PassRefPtr<IDBKey> prpKey, PassRefPtr<SerializedScriptValue> value, const String& keyPath)
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)
95 EXPECT_FALSE(injectKey(key, value, keyPath));
98 void checkKeyPathStringValue(SerializedScriptValue* value, const String& keyPath, const String& expected)
100 RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath);
106 void checkKeyPathNumberValue(SerializedScriptValue* value, const String& keyPath, int expected)
108 RefPtr<IDBKey> idbKey = checkKeyFromValueAndKeyPathInternal(value, keyPath);