Searched defs:v8Value (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptValue.cpp40 v8::Handle<v8::Value> ScriptValue::v8Value() const function in class:blink::ScriptValue
70 v8::Handle<v8::Value> string = v8Value();
81 return v8ToJSONValue(scriptState->isolate(), v8Value(), JSONValue::maxDepth);
H A DDictionaryHelperForBindings.h40 v8::Local<v8::Value> v8Value; local
41 if (!dictionary.get(key, v8Value))
44 value = DictionaryHelperTraits<T>::type::toImplWithTypeCheck(dictionary.isolate(), v8Value);
59 v8::Local<v8::Value> v8Value;
60 dictionary.get(key, v8Value);
61 if (context.isNullable() && blink::isUndefinedOrNull(v8Value))
H A DScriptString.cpp58 v8::Handle<v8::String> ScriptString::v8Value() function in class:blink::ScriptString
72 return ScriptString(nonNullIsolate, v8::String::Concat(v8Value(), targetString));
80 return v8StringToWebCoreString<String>(v8Value(), Externalize);
H A DScriptPromise.h80 v8::Handle<v8::Value> v8Value() const function in class:blink::FINAL
82 return m_promise.v8Value();
H A DDictionaryHelperForCore.cpp65 v8::Local<v8::Value> v8Value; local
66 if (!dictionary.get(key, v8Value))
69 v8::Local<v8::Boolean> v8Bool = v8Value->ToBoolean();
87 v8::Local<v8::Value> v8Value; local
88 if (!dictionary.get(key, v8Value))
91 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32();
101 v8::Local<v8::Value> v8Value; local
102 if (!dictionary.get(key, v8Value)) {
108 TONATIVE_DEFAULT(v8::Local<v8::Number>, v8Number, v8Value->ToNumber(), false);
138 v8::Local<v8::Value> v8Value; local
164 v8::Local<v8::Value> v8Value; local
176 v8::Local<v8::Value> v8Value; local
196 v8::Local<v8::Value> v8Value; local
228 v8::Local<v8::Value> v8Value; local
242 v8::Local<v8::Value> v8Value; local
257 v8::Local<v8::Value> v8Value; local
270 v8::Local<v8::Value> v8Value; local
295 v8::Local<v8::Value> v8Value; local
313 v8::Local<v8::Value> v8Value; local
334 v8::Local<v8::Value> v8Value; local
360 v8::Local<v8::Value> v8Value; local
382 v8::Local<v8::Value> v8Value; local
400 v8::Local<v8::Value> v8Value; local
418 v8::Local<v8::Value> v8Value; local
577 v8::Local<v8::Value> v8Value; local
604 v8::Local<v8::Value> v8Value; local
646 v8::Local<v8::Value> v8Value; local
[all...]
H A DScriptState.cpp70 v8::Local<v8::Value> v8Value = context()->Global()->Get(v8AtomicString(isolate(), name)); local
71 return ScriptValue(this, v8Value);
H A DDictionary.cpp143 v8::Local<v8::Value> v8Value; local
144 if (!getKey(key, v8Value) || blink::isUndefinedOrNull(v8Value))
147 TOSTRING_DEFAULT(V8StringResource<>, stringValue, v8Value, false);
154 v8::Local<v8::Value> v8Value; local
155 if (!getKey(key, v8Value) || blink::isUndefinedOrNull(v8Value))
158 value = V8Element::toImplWithTypeCheck(m_isolate, v8Value);
164 v8::Local<v8::Value> v8Value; local
165 if (!getKey(key, v8Value) || blin
174 v8::Local<v8::Value> v8Value; local
216 v8::Local<v8::Value> v8Value; local
[all...]
H A DDictionary.h75 v8::Handle<v8::Value> v8Value() const { return m_options; } function in class:blink::Dictionary
162 v8::Local<v8::Value> v8Value; local
163 if (!dictionary.getKey(key, v8Value) || isUndefinedOrNull(v8Value))
/external/chromium_org/third_party/WebKit/Source/bindings/templates/
H A Ddictionary_v8.cpp16 {{cpp_class}}* {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, ExceptionState& exceptionState) argument
18 ASSERT(isUndefinedOrNull(v8Value) || v8Value->IsObject());
23 Dictionary dictionary(v8Value, isolate);
H A Dinterface.cpp24 static void {{cpp_class}}ForceSetAttributeOnThis(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
36 v8::Handle<v8::Object>::Cast(info.This())->ForceSet(name, v8Value);
39 static void {{cpp_class}}ForceSetAttributeOnThisCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
41 {{cpp_class}}V8Internal::{{cpp_class}}ForceSetAttributeOnThis(name, v8Value, info);
117 static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
127 if (!isUndefinedOrNull(v8Value) && !V8{{setter.idl_type}}::hasInstance(v8Value, info.GetIsolate())) {
143 v8SetReturnValue(info, v8Value);
154 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
158 {{v8_class}}::indexedPropertySetterCustom(index, v8Value, inf
[all...]
H A Dattributes.cpp25 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIsolate(), holder, propertyName); variable
26 if (!v8Value.IsEmpty()) {
27 v8SetReturnValue(info, v8Value);
200 v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info variable
202 v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info variable
220 if ({% if attribute.is_nullable %}!isUndefinedOrNull(v8Value) && {% endif %}!V8{{attribute.idl_type}}::hasInstance(v8Value, info.GetIsolate())) {
243 moveEventListenerToNewWrapper(holder, {{attribute.event_handler_getter_expression}}, v8Value, {{v8_class}}::eventListenerCacheIndex, info.GetIsolate());
295 v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info variable
299 v8::Local<v8::Value> v8Value variable
353 v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, scriptStateInUserScript, "{{cpp_class}}", "{{attribute.name}}", holder); local
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestDictionary.cpp20 TestDictionary* V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, ExceptionState& exceptionState) argument
22 ASSERT(isUndefinedOrNull(v8Value) || v8Value->IsObject());
27 Dictionary dictionary(v8Value, isolate);
192 v8Object->Set(v8String(isolate, "objectMember"), impl->objectMember().v8Value());
196 v8Object->Set(v8String(isolate, "objectOrNullMember"), impl->objectOrNullMember().v8Value());
H A DV8TestInterfaceConstructor3.cpp93 bool V8TestInterfaceConstructor3::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
95 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
98 v8::Handle<v8::Object> V8TestInterfaceConstructor3::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
100 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceCustomConstructor.cpp77 bool V8TestInterfaceCustomConstructor::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
79 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
82 v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
84 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceDocument.cpp61 bool V8TestInterfaceDocument::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
63 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
66 v8::Handle<v8::Object> V8TestInterfaceDocument::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
68 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceEmpty.cpp58 bool V8TestInterfaceEmpty::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
60 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
63 v8::Handle<v8::Object> V8TestInterfaceEmpty::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
65 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8SVGTestInterface.cpp50 static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
54 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
59 static void typeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
63 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
95 bool V8SVGTestInterface::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
97 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
100 v8::Handle<v8::Object> V8SVGTestInterface::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
102 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestException.cpp112 bool V8TestException::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
114 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
117 v8::Handle<v8::Object> V8TestException::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
119 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterface3.cpp42 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) argument
45 V8TestInterface3::indexedPropertySetterCustom(index, v8Value, info);
63 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) argument
66 V8TestInterface3::namedPropertySetterCustom(name, v8Value, info);
117 bool V8TestInterface3::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
119 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
122 v8::Handle<v8::Object> V8TestInterface3::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
124 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceConstructor2.cpp216 bool V8TestInterfaceConstructor2::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
218 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
221 v8::Handle<v8::Object> V8TestInterfaceConstructor2::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
223 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceConstructor4.cpp126 bool V8TestInterfaceConstructor4::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
128 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
131 v8::Handle<v8::Object> V8TestInterfaceConstructor4::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
133 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceEventTarget.cpp97 bool V8TestInterfaceEventTarget::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
99 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
102 v8::Handle<v8::Object> V8TestInterfaceEventTarget::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
104 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceNamedConstructor2.cpp104 bool V8TestInterfaceNamedConstructor2::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
106 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
109 v8::Handle<v8::Object> V8TestInterfaceNamedConstructor2::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
111 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestInterfaceNotScriptWrappable.cpp44 static void attr1AttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
48 TestInterfaceNotScriptWrappable* cppValue = V8TestInterfaceNotScriptWrappable::toImplWithTypeCheck(info.GetIsolate(), v8Value);
52 static void attr1AttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) argument
55 TestInterfaceNotScriptWrappableV8Internal::attr1AttributeSetter(v8Value, info);
112 bool V8TestInterfaceNotScriptWrappable::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
114 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
117 v8::Handle<v8::Object> V8TestInterfaceNotScriptWrappable::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
119 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
H A DV8TestSpecialOperationsNotEnumerable.cpp98 bool V8TestSpecialOperationsNotEnumerable::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
100 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
103 v8::Handle<v8::Object> V8TestSpecialOperationsNotEnumerable::findInstanceInPrototypeChain(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate) argument
105 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);

Completed in 3912 milliseconds

12