Searched refs:toV8Value (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8BindingTest.cpp35 template <typename T> v8::Local<v8::Value> toV8Value(const T& value) function in class:blink::__anon10906::V8ValueTraitsTest
37 return V8ValueTraits<T>::toV8Value(value, m_scope.scriptState()->context()->Global(), m_scope.isolate());
43 v8::Local<v8::Value> actual = toV8Value(value);
45 ADD_FAILURE_AT(path, lineNumber) << "toV8Value returns an empty value.";
50 ADD_FAILURE_AT(path, lineNumber) << "toV8Value returns an incorrect value.\n Actual: " << actualString.utf8().data() << "\nExpected: " << expected;
305 v8StringArray->Set(toV8Value(0), toV8Value("Hello, World!"));
306 v8StringArray->Set(toV8Value(1), toV8Value("Hi, Mom!"));
316 v8UnsignedArray->Set(toV8Value(
[all...]
H A DScriptPromiseResolver.h48 // Anything that can be passed to toV8Value can be passed to this function.
55 // Anything that can be passed to toV8Value can be passed to this function.
107 v8::Handle<v8::Value> toV8Value(const T& value) function in class:blink::ScriptPromiseResolver
109 return V8ValueTraits<T>::toV8Value(value, m_scriptState->context()->Global(), m_scriptState->isolate());
124 m_value.set(m_scriptState->isolate(), toV8Value(value));
H A DScriptPromiseProperty.h122 v8::Handle<v8::Value> value = V8ValueTraits<HolderType>::toV8Value(m_holder, creationContext, isolate);
130 return V8ValueTraits<ResolvedType>::toV8Value(m_resolved, creationContext, isolate);
137 return V8ValueTraits<RejectedType>::toV8Value(m_rejected, creationContext, isolate);
H A DV8Binding.h216 // - Use V8ValueTraits<T>::toV8Value if you cannot include V8X.h.
219 // Note: toV8NoInline is a non-inline toV8 and V8ValueTraits::toV8Value offers
226 static v8::Handle<v8::Value> toV8Value(const T& value, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
236 static inline v8::Handle<v8::Value> toV8Value(const String& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
244 static inline v8::Handle<v8::Value> toV8Value(const AtomicString& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
252 static inline v8::Handle<v8::Value> toV8Value(char const (&value)[n], v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
260 static inline v8::Handle<v8::Value> toV8Value(char const (&value)[n], v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
268 static inline v8::Handle<v8::Value> toV8Value(const char* const& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
281 static inline v8::Handle<v8::Value> toV8Value(char* const& value, v8::Handle<v8::Object> object, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
283 return V8ValueTraits<const char*>::toV8Value(valu
289 static inline v8::Handle<v8::Value> toV8Value(const int& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
297 static inline v8::Handle<v8::Value> toV8Value(const long& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
305 static inline v8::Handle<v8::Value> toV8Value(const unsigned& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
313 static inline v8::Handle<v8::Value> toV8Value(const unsigned long& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
321 static inline v8::Handle<v8::Value> toV8Value(const float& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
329 static inline v8::Handle<v8::Value> toV8Value(const double& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
337 static inline v8::Handle<v8::Value> toV8Value(const bool& value, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
349 static inline v8::Handle<v8::Value> toV8Value(const V8NullType&, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
357 static inline v8::Handle<v8::Value> toV8Value(const V8UndefinedType&, v8::Handle<v8::Object>, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
365 static inline v8::Handle<v8::Value> toV8Value(const ScriptValue& value, v8::Handle<v8::Object>, v8::Isolate*) function in struct:blink::V8ValueTraits
373 static inline v8::Handle<v8::Value> toV8Value(const v8::Handle<v8::Value>& value, v8::Handle<v8::Object>, v8::Isolate*) function in struct:blink::V8ValueTraits
381 static inline v8::Handle<v8::Value> toV8Value(const v8::Local<v8::Value>& value, v8::Handle<v8::Object>, v8::Isolate*) function in struct:blink::V8ValueTraits
401 static v8::Handle<v8::Value> toV8Value(const Vector<T, inlineCapacity, Allocator>& value, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
421 static v8::Handle<v8::Value> toV8Value(const HeapVector<T, inlineCapacity>& value, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in struct:blink::V8ValueTraits
[all...]
H A DScriptPromise.cpp165 return reject(scriptState, V8ValueTraits<PassRefPtrWillBeRawPtr<DOMException> >::toV8Value(exception, scriptState->context()->Global(), scriptState->isolate()));
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebArrayBufferConverter.cpp40 v8::Handle<v8::Value> WebArrayBufferConverter::toV8Value(WebArrayBuffer* buffer, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in class:blink::WebArrayBufferConverter
H A DWebDOMError.cpp70 v8::Handle<v8::Value> WebDOMError::toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in class:blink::WebDOMError
H A DWebBlob.cpp84 v8::Handle<v8::Value> WebBlob::toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in class:blink::WebBlob
H A DWebDOMFileSystem.cpp119 v8::Handle<v8::Value> WebDOMFileSystem::toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) function in class:blink::WebDOMFileSystem
/external/chromium_org/third_party/WebKit/public/web/
H A DWebArrayBufferConverter.h47 BLINK_EXPORT static v8::Handle<v8::Value> toV8Value(WebArrayBuffer*, v8::Handle<v8::Object>, v8::Isolate*);
H A DWebDOMError.h69 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate*);
H A DWebBlob.h77 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate*);
H A DWebDOMFileSystem.h96 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creationContext, v8::Isolate*);
H A DWebBindings.h189 BLINK_EXPORT static v8::Handle<v8::Value> toV8Value(const NPVariant*);
/external/chromium_org/chrome/renderer/extensions/
H A Dfile_manager_private_custom_bindings.cc44 .toV8Value(args.Holder(), args.GetIsolate()));
H A Dsync_file_system_custom_bindings.cc59 .toV8Value(args.Holder(), args.GetIsolate()));
H A Dmedia_galleries_custom_bindings.cc43 .toV8Value(args.Holder(), args.GetIsolate()));
H A Dpage_capture_custom_bindings.cc35 args.GetReturnValue().Set(blob.toV8Value(args.Holder(), args.GetIsolate()));
/external/chromium_org/extensions/renderer/
H A Dblob_native_handler.cc37 args.GetReturnValue().Set(blob.toV8Value(args.Holder(), args.GetIsolate()));
H A Dapp_runtime_custom_bindings.cc53 web_blob.toV8Value(args.Holder(), args.GetIsolate()));
H A Dfile_system_natives.cc68 .toV8Value(args.Holder(), args.GetIsolate()));
153 dom_error.toV8Value(args.Holder(), args.GetIsolate()));
H A Dset_icon_natives.cc99 *image_data_bitmap = blink::WebArrayBufferConverter::toV8Value(
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIPortMap.h53 entry.append(ScriptValue(scriptState, V8ValueTraits<T*>::toV8Value(i->value, scriptState->context()->Global(), scriptState->isolate())));
/external/chromium_org/content/renderer/pepper/
H A Dresource_converter.cc145 web_dom_file_system.toV8Value(context->Global(), context->GetIsolate());
155 // *dom_video_track = track.toV8Value();
/external/chromium_org/content/renderer/
H A Dskia_benchmarking_extension.cc204 blink::WebArrayBufferConverter::toV8Value(

Completed in 547 milliseconds

12