OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IDBKeyPathElement
(Results
1 - 8
of
8
) sorted by null
/external/webkit/Source/WebCore/bindings/v8/
IDBBindingUtilities.h
38
struct
IDBKeyPathElement
;
41
PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<
IDBKeyPathElement
, 0>& keyPath);
42
PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const Vector<
IDBKeyPathElement
, 0>&);
IDBBindingUtilities.cpp
75
bool get(v8::Handle<v8::Value>& object, const
IDBKeyPathElement
& keyPathElement)
78
case
IDBKeyPathElement
::IsIndexed:
80
case
IDBKeyPathElement
::IsNamed:
88
bool set(v8::Handle<v8::Value>& object, const
IDBKeyPathElement
& keyPathElement, const v8::Handle<v8::Value>& v8Value)
91
case
IDBKeyPathElement
::IsIndexed:
93
case
IDBKeyPathElement
::IsNamed:
120
v8::Handle<v8::Value> getNthValueOnKeyPath(v8::Handle<v8::Value>& rootValue, const Vector<
IDBKeyPathElement
>& keyPathElements, size_t index)
135
PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<
IDBKeyPathElement
>& keyPath)
145
PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const Vector<
IDBKeyPathElement
>& keyPath)
/external/webkit/Source/WebKit/chromium/public/
WebIDBKeyPath.h
33
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/src/
WebIDBKeyPath.cpp
42
WTF::Vector<
IDBKeyPathElement
> idbElements;
48
WebIDBKeyPath::WebIDBKeyPath(const WTF::Vector<
IDBKeyPathElement
>& elements, int parseError)
49
: m_private(new WTF::Vector<
IDBKeyPathElement
>(elements))
62
m_private.reset(new WTF::Vector<
IDBKeyPathElement
>(keyPath));
70
WebIDBKeyPath::operator const WTF::Vector<
IDBKeyPathElement
, 0>&() const
/external/webkit/Source/WebCore/storage/
IDBKeyPath.h
38
struct
IDBKeyPathElement
{
58
void IDBParseKeyPath(const String&, Vector<
IDBKeyPathElement
>&, IDBKeyPathParseError&);
IDBKeyPath.cpp
64
const
IDBKeyPathElement
& currentElement() { return m_currentElement; }
67
TokenType lex(
IDBKeyPathElement
&);
68
TokenType lexIdentifier(
IDBKeyPathElement
&);
69
TokenType lexNumber(
IDBKeyPathElement
&);
70
IDBKeyPathElement
m_currentElement;
77
IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(
IDBKeyPathElement
& element)
123
IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(
IDBKeyPathElement
& element)
134
element.type =
IDBKeyPathElement
::IsNamed;
139
IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexNumber(
IDBKeyPathElement
& element)
156
element.type =
IDBKeyPathElement
::IsIndexed
[
all
...]
/external/webkit/Source/WebKit/chromium/tests/
IDBKeyPathTest.cpp
38
IDBKeyPathElement
ExpectedToken(const String& identifier, bool isIndexed, int index)
40
IDBKeyPathElement
expected;
42
expected.type =
IDBKeyPathElement
::IsIndexed;
45
expected.type =
IDBKeyPathElement
::IsNamed;
51
void checkKeyPath(const String& keyPath, const Vector<
IDBKeyPathElement
>& expected, int parserError)
55
Vector<
IDBKeyPathElement
> idbKeyPathElements;
63
if (expected[i].type ==
IDBKeyPathElement
::IsIndexed)
65
else if (expected[i].type ==
IDBKeyPathElement
::IsNamed)
68
ASSERT_TRUE(false) << "Invalid
IDBKeyPathElement
type";
74
Vector<
IDBKeyPathElement
> expected
[
all
...]
IDBBindingUtilitiesTest.cpp
62
Vector<
IDBKeyPathElement
> idbKeyPath;
77
Vector<
IDBKeyPathElement
> idbKeyPath;
Completed in 505 milliseconds