Home
last modified time | relevance | path

Searched refs:ToJS (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_node/interop/
DCore.h241 PromiseBase::Resolve(ToJS(state->deferred.Env(), std::forward<T>(value))); in Resolve()
287 static inline Napi::Value ToJS(Napi::Env, Napi::Object value) { in ToJS() function
302 static inline Napi::Value ToJS(Napi::Env, ArrayBuffer value) { in ToJS() function
317 static inline Napi::Value ToJS(Napi::Env, ArrayBuffer value) { in ToJS() function
353 static inline Napi::Value ToJS(Napi::Env, ArrayBuffer value) { in ToJS() function
362 static Napi::Value ToJS(Napi::Env, std::string);
369 static Napi::Value ToJS(Napi::Env, bool);
376 static Napi::Value ToJS(Napi::Env, int8_t);
383 static Napi::Value ToJS(Napi::Env, uint8_t);
390 static Napi::Value ToJS(Napi::Env, int16_t);
[all …]
DCore.cpp32 Napi::Value Converter<bool>::ToJS(Napi::Env env, bool value) { in ToJS() function in wgpu::interop::Converter
43 Napi::Value Converter<std::string>::ToJS(Napi::Env env, std::string value) { in ToJS() function in wgpu::interop::Converter::string
54 Napi::Value Converter<int8_t>::ToJS(Napi::Env env, int8_t value) { in ToJS() function in wgpu::interop::Converter
65 Napi::Value Converter<uint8_t>::ToJS(Napi::Env env, uint8_t value) { in ToJS() function in wgpu::interop::Converter
76 Napi::Value Converter<int16_t>::ToJS(Napi::Env env, int16_t value) { in ToJS() function in wgpu::interop::Converter
87 Napi::Value Converter<uint16_t>::ToJS(Napi::Env env, uint16_t value) { in ToJS() function in wgpu::interop::Converter
98 Napi::Value Converter<int32_t>::ToJS(Napi::Env env, int32_t value) { in ToJS() function in wgpu::interop::Converter
109 Napi::Value Converter<uint32_t>::ToJS(Napi::Env env, uint32_t value) { in ToJS() function in wgpu::interop::Converter
120 Napi::Value Converter<int64_t>::ToJS(Napi::Env env, int64_t value) { in ToJS() function in wgpu::interop::Converter
134 Napi::Value Converter<uint64_t>::ToJS(Napi::Env env, uint64_t value) { in ToJS() function in wgpu::interop::Converter
[all …]
DWebGPU.cpp.tmpl157 StaticValue("{{$c.Name}}", ToJS(env, {{$.Name}}::{{$c.Name}}), napi_default_jsproperty),
169 return ToJS(info.Env(), impl->has(info.Env(), std::get<0>(args)));
175 return ToJS(info.Env(), impl->keys(info.Env()));
210 {{- else }}return ToJS(info.Env(), result);
223 return ToJS(info.Env(), impl->get{{Title $a.Name}}(info.Env()));
256 Napi::Value Converter<{{$.Name}}>::ToJS(Napi::Env env, {{$.Name}} value) {
277 -- dictionary ast.Member fields from JavaScript to C++. Each call to ToJS() is
299 -- dictionary ast.Member fields to JavaScript from C++. Each call to ToJS() is
306 object.Set(Napi::String::New(env, "{{$m.Name}}"), interop::ToJS(env, value.{{$m.Name}}));
376 Napi::Value Converter<{{$.Name}}>::ToJS(Napi::Env env, {{$.Name}} value) {
DWebGPU.h.tmpl80 static Napi::Value ToJS(Napi::Env, {{$.Name}});
170 static Napi::Value ToJS(Napi::Env, {{$.Name}});
/third_party/node/src/
Dnode_sockaddr-inl.h160 v8::MaybeLocal<v8::Object> SocketAddress::ToJS( in ToJS() function
Dnode_sockaddr.h134 inline v8::MaybeLocal<v8::Object> ToJS(
Dnode_sockaddr.cc854 if (!base->address_->ToJS(env).ToLocal(&address)) return; in LegacyDetail()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc6382 args[pos++] = ToJS(param, sig->GetParam(i), context); in AddArgumentNodes()
6387 Node* ToJS(Node* node, wasm::ValueType type, Node* context) { in ToJS() function in v8::internal::compiler::__anonb87ff8711511::WasmWrapperGraphBuilder
6846 : ToJS(rets[0], sig_->GetReturn(), js_context); in BuildCallAndReturn()
6856 Node* value = ToJS(rets[i], sig_->GetReturn(i), js_context); in BuildCallAndReturn()
7510 args[pos++] = ToJS(FromJS(param, context, sig_->GetParam(i)), in BuildJSToJSWrapper()
7526 jsval = ToJS(FromJS(call, context, sig_->GetReturn()), sig_->GetReturn(), in BuildJSToJSWrapper()
7538 Node* cast = ToJS(FromJS(elem, context, type), type, context); in BuildJSToJSWrapper()