HomeSort by relevance Sort by last modified time
    Searched refs:v8Value (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dictionary.cpp 136 v8::Local<v8::Value> v8Value;
137 if (!getKey(key, v8Value))
140 v8::Local<v8::Boolean> v8Bool = v8Value->ToBoolean();
156 v8::Local<v8::Value> v8Value;
157 if (!getKey(key, v8Value))
160 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32();
169 v8::Local<v8::Value> v8Value;
170 if (!getKey(key, v8Value)) {
176 TONATIVE_DEFAULT(v8::Local<v8::Number>, v8Number, v8Value->ToNumber(), false);
204 v8::Local<v8::Value> v8Value;
    [all...]
ScriptValue.cpp 44 v8::Handle<v8::Value> ScriptValue::v8Value() const
67 v8::Handle<v8::Value> string = v8Value();
78 return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth);
ScriptPromiseResolver.cpp 64 v8::Local<v8::Promise::Resolver> v8Resolver = m_resolver.v8Value().As<v8::Promise::Resolver>();
80 m_resolver.v8Value().As<v8::Promise::Resolver>()->Resolve(value);
89 m_resolver.v8Value().As<v8::Promise::Resolver>()->Reject(value);
ScriptString.cpp 58 v8::Handle<v8::String> ScriptString::v8Value()
72 return ScriptString(nonNullIsolate, v8::String::Concat(v8Value(), targetString));
80 return v8StringToWebCoreString<String>(v8Value(), Externalize);
ScriptValue.h 111 v8::Handle<v8::Value> value = v8Value();
119 v8::Handle<v8::Value> value = v8Value();
127 v8::Handle<v8::Value> value = v8Value();
135 v8::Handle<v8::Value> value = v8Value();
149 v8::Handle<v8::Value> v8Value() const;
ScriptPromiseTest.cpp 60 *m_value = toCoreString(value.v8Value()->ToString());
186 ScriptPromise newPromise = ScriptPromise::cast(scriptState(), promise.v8Value());
189 EXPECT_EQ(promise.v8Value(), newPromise.v8Value());
204 EXPECT_NE(promise1.v8Value(), promise2.v8Value());
206 ASSERT_TRUE(promise1.v8Value()->IsPromise());
207 ASSERT_TRUE(promise2.v8Value()->IsPromise());
231 ASSERT_TRUE(promise.v8Value()->IsPromise());
ScriptString.h 55 v8::Handle<v8::String> v8Value();
IDBBindingUtilities.cpp 221 static bool getValueFrom(T indexOrName, v8::Handle<v8::Value>& v8Value)
223 v8::Local<v8::Object> object = v8Value->ToObject();
226 v8Value = object->Get(indexOrName);
231 static bool setValue(v8::Handle<v8::Value>& v8Object, T indexOrName, const v8::Handle<v8::Value>& v8Value)
234 return object->Set(indexOrName, v8Value);
252 static bool set(v8::Isolate* isolate, v8::Handle<v8::Value>& object, const String& keyPathElement, const v8::Handle<v8::Value>& v8Value)
254 return canSet(object, keyPathElement) && setValue(object, v8String(isolate, keyPathElement), v8Value);
316 v8::Handle<v8::Value> v8Value(value.v8Value());
317 v8::Handle<v8::Value> v8Key(getNthValueOnKeyPath(isolate, v8Value, keyPathElements, keyPathElements.size()))
    [all...]
ScriptPromise.h 76 v8::Handle<v8::Value> v8Value() const
78 return m_promise.v8Value();
Dictionary.h 295 v8::Local<v8::Value> v8Value;
296 if (!getKey(key, v8Value))
299 value = IntegralTypeTraits<T>::toIntegral(v8Value, NormalConversion, context.exceptionState());
310 v8::Local<v8::Value> v8Value;
311 if (!getKey(key, v8Value))
314 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) {
319 T converted = IntegralTypeTraits<T>::toIntegral(v8Value, NormalConversion, context.exceptionState());
338 v8::Local<v8::Value> v8Value;
339 getKey(key, v8Value);
340 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
    [all...]
ScriptPromise.cpp 73 v8::Local<v8::Object> promise = m_promise.v8Value().As<v8::Object>();
98 return ScriptPromise::cast(scriptState, value.v8Value());
116 return ScriptPromise::reject(scriptState, value.v8Value());
ScriptFunction.cpp 21 v8SetReturnValue(args, result.v8Value());
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
attributes.cpp 30 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName);
31 if (!v8Value.IsEmpty()) {
32 v8SetReturnValue(info, v8Value);
123 if (v8Value.isNull()) {
125 v8Value = "{{reflect_missing}}";
129 } else if (v8Value.isEmpty()) {
130 v8Value = "{{reflect_empty}}";
132 if (v8Value.isEmpty()) {
135 v8Value = "{{reflect_missing}}";
141 } else if (equalIgnoringCase(v8Value, "{{value}}"))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestInterface.cpp 70 static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
74 if (!V8TestInterface::hasInstance(v8Value, info.GetIsolate())) {
80 TONATIVE_VOID(TestInterfaceImplementation*, cppValue, V8TestInterface::toNativeWithTypeCheck(info.GetIsolate(), v8Value));
84 static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
87 TestInterfaceImplementationV8Internal::testInterfaceAttributeAttributeSetter(v8Value, info);
105 static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
110 TONATIVE_VOID(double, cppValue, static_cast<double>(v8Value->NumberValue()));
119 static void doubleAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
122 TestInterfaceImplementationV8Internal::doubleAttributeAttributeSetter(v8Value, info);
140 static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info
    [all...]
V8TestObject.cpp 154 static void dateAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
158 TONATIVE_VOID(double, cppValue, toCoreDate(v8Value));
162 static void dateAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
165 TestObjectV8Internal::dateAttributeAttributeSetter(v8Value, info);
183 static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
187 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
191 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
194 TestObjectV8Internal::stringAttributeAttributeSetter(v8Value, info);
212 static void byteStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
217 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState)
    [all...]
V8TestNode.cpp 60 static void hrefAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
64 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
68 static void hrefAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
71 TestNodeV8Internal::hrefAttributeSetter(v8Value, info);
89 static void hrefThrowsAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
94 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
99 static void hrefThrowsAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
102 TestNodeV8Internal::hrefThrowsAttributeSetter(v8Value, info);
120 static void hrefCallWithAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
124 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
    [all...]
V8TestInterfaceNode.cpp 64 static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
68 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
72 static void stringAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
75 TestInterfaceNodeV8Internal::stringAttributeAttributeSetter(v8Value, info);
97 EventListener* v8Value = impl->eventHandlerAttribute();
98 v8SetReturnValue(info, v8Value ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(v8Value)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
108 static void eventHandlerAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
112 impl->setEventHandlerAttribute(V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), v8Value, true, ListenerFindOrCreate));
115 static void eventHandlerAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info
    [all...]
V8SVGTestInterface.cpp 61 static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
65 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
70 static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
74 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
106 bool V8SVGTestInterface::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
108 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
111 v8::Handle<v8::Object> V8SVGTestInterface::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
113 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
V8TestInterface3.cpp 53 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
56 V8TestInterface3::indexedPropertySetterCustom(index, v8Value, info);
74 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
77 V8TestInterface3::namedPropertySetterCustom(name, v8Value, info);
128 bool V8TestInterface3::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
130 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
133 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
135 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
V8TestSpecialOperations.cpp 114 static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
118 TONATIVE_VOID(Node*, propertyValue, V8Node::toNativeWithTypeCheck(info.GetIsolate(), v8Value));
122 v8SetReturnValue(info, v8Value);
125 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
128 TestSpecialOperationsV8Internal::namedPropertySetter(name, v8Value, info);
204 bool V8TestSpecialOperations::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
206 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
209 v8::Handle<v8::Object> V8TestSpecialOperations::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
211 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
V8TestInterfaceCustomConstructor.cpp 88 bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
90 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
93 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
95 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
V8TestInterfaceEmpty.cpp 69 bool V8TestInterfaceEmpty::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
71 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
74 v8::Handle<v8::Object> V8TestInterfaceEmpty::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
76 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
V8TestInterfaceGarbageCollected.cpp 61 static void attr1AttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
65 TONATIVE_VOID(TestInterfaceGarbageCollected*, cppValue, V8TestInterfaceGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), v8Value));
69 static void attr1AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
72 TestInterfaceGarbageCollectedV8Internal::attr1AttributeSetter(v8Value, info);
167 bool V8TestInterfaceGarbageCollected::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
169 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
172 v8::Handle<v8::Object> V8TestInterfaceGarbageCollected::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
174 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
  /external/chromium_org/third_party/WebKit/Source/core/css/
MediaQueryListListener.cpp 42 invokeCallback(m_scriptState.get(), v8::Handle<v8::Function>::Cast(m_function.v8Value()), WTF_ARRAY_LENGTH(args), args);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
ScriptArguments.cpp 71 v8::Handle<v8::String> string = value.v8Value()->ToString();

Completed in 326 milliseconds

1 2 3