Home
last modified time | relevance | path

Searched refs:IDBKeyPathElement (Results 1 – 10 of 10) sorted by relevance

/external/webkit/Source/WebKit/chromium/tests/
DIDBKeyPathTest.cpp38 IDBKeyPathElement ExpectedToken(const String& identifier, bool isIndexed, int index) in ExpectedToken()
40 IDBKeyPathElement expected; in ExpectedToken()
42 expected.type = IDBKeyPathElement::IsIndexed; in ExpectedToken()
45 expected.type = IDBKeyPathElement::IsNamed; in ExpectedToken()
51 void checkKeyPath(const String& keyPath, const Vector<IDBKeyPathElement>& expected, int parserError) in checkKeyPath()
55 Vector<IDBKeyPathElement> idbKeyPathElements; in checkKeyPath()
63 if (expected[i].type == IDBKeyPathElement::IsIndexed) in checkKeyPath()
65 else if (expected[i].type == IDBKeyPathElement::IsNamed) in checkKeyPath()
74 Vector<IDBKeyPathElement> expected; in TEST()
84 Vector<IDBKeyPathElement> expected; in TEST()
[all …]
DIDBBindingUtilitiesTest.cpp62 Vector<IDBKeyPathElement> idbKeyPath; in checkKeyFromValueAndKeyPathInternal()
77 Vector<IDBKeyPathElement> idbKeyPath; in injectKey()
/external/webkit/Source/WebCore/storage/
DIDBKeyPath.cpp64 const IDBKeyPathElement& currentElement() { return m_currentElement; } in currentElement()
67 TokenType lex(IDBKeyPathElement&);
68 TokenType lexIdentifier(IDBKeyPathElement&);
69 TokenType lexNumber(IDBKeyPathElement&);
70 IDBKeyPathElement m_currentElement;
77 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(IDBKeyPathElement& element) in lex()
123 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(IDBKeyPathElement& element) in lexIdentifier()
134 element.type = IDBKeyPathElement::IsNamed; in lexIdentifier()
139 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexNumber(IDBKeyPathElement& element) in lexNumber()
156 element.type = IDBKeyPathElement::IsIndexed; in lexNumber()
[all …]
DIDBKeyPath.h38 struct IDBKeyPathElement { struct
58 void IDBParseKeyPath(const String&, Vector<IDBKeyPathElement>&, IDBKeyPathParseError&); argument
/external/webkit/Source/WebCore/bindings/v8/
DIDBBindingUtilities.cpp75 bool get(v8::Handle<v8::Value>& object, const IDBKeyPathElement& keyPathElement) in get()
78 case IDBKeyPathElement::IsIndexed: in get()
80 case IDBKeyPathElement::IsNamed: in get()
88 bool set(v8::Handle<v8::Value>& object, const IDBKeyPathElement& keyPathElement, const v8::Handle<v… in set()
91 case IDBKeyPathElement::IsIndexed: in set()
93 case IDBKeyPathElement::IsNamed: in set()
120 …getNthValueOnKeyPath(v8::Handle<v8::Value>& rootValue, const Vector<IDBKeyPathElement>& keyPathEle… in getNthValueOnKeyPath()
135 …dValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) in createIDBKeyFromSerializedValueAndKeyPath()
145 …Ptr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement>& keyPath) in injectIDBKeyIntoSerializedValue()
DIDBBindingUtilities.h38 struct IDBKeyPathElement;
41 …ueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement, 0>& keyPath…
42 …dValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const Vector<IDBKeyPathElement, 0>&);
/external/webkit/Source/WebKit/chromium/src/
DWebIDBKeyPath.cpp42 WTF::Vector<IDBKeyPathElement> idbElements; in create()
48 WebIDBKeyPath::WebIDBKeyPath(const WTF::Vector<IDBKeyPathElement>& elements, int parseError) in WebIDBKeyPath()
49 : m_private(new WTF::Vector<IDBKeyPathElement>(elements)) in WebIDBKeyPath()
62 m_private.reset(new WTF::Vector<IDBKeyPathElement>(keyPath)); in assign()
70 WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&() const in operator const WTF::Vector<IDBKeyPathElement,0>&()
/external/webkit/Source/WebKit/chromium/public/
DWebIDBKeyPath.h33 namespace WebCore { struct IDBKeyPathElement; }
52 operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>& () const;
59 WebIDBKeyPath(const WTF::Vector<WebCore::IDBKeyPathElement, 0>&, int parseError);
62 WebPrivateOwnPtr<WTF::Vector<WebCore::IDBKeyPathElement, 0> > m_private;
/external/webkit/Source/WebKit/chromium/
DChangeLog2359 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
2565 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
2670 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
DChangeLog-2011-02-1611450 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):