Home
last modified time | relevance | path

Searched refs:NewFromUtf8 (Results 1 – 25 of 69) sorted by relevance

123

/third_party/node/src/api/
Dexceptions.cc45 path_string = String::NewFromUtf8(isolate, path).ToLocalChecked(); in ErrnoException()
81 String::NewFromUtf8(isolate, path + 8).ToLocalChecked()); in StringFromPath()
83 return String::NewFromUtf8(isolate, path + 4).ToLocalChecked(); in StringFromPath()
87 return String::NewFromUtf8(isolate, path).ToLocalChecked(); in StringFromPath()
207 String::NewFromUtf8(isolate, path).ToLocalChecked()); in WinapiErrnoException()
223 String::NewFromUtf8(isolate, path).ToLocalChecked()) in WinapiErrnoException()
/third_party/node/src/
Dnode_url.cc89 String::NewFromUtf8(env->isolate(), host.c_str()).ToLocalChecked()); in DomainToASCII()
100 String::NewFromUtf8(env->isolate(), "").ToLocalChecked()); in DomainToUnicode()
110 String::NewFromUtf8(env->isolate(), "").ToLocalChecked()); in DomainToUnicode()
114 args.GetReturnValue().Set(String::NewFromUtf8(env->isolate(), in DomainToUnicode()
185 args.GetReturnValue().Set(String::NewFromUtf8(env->isolate(), in Format()
310 String::NewFromUtf8(env->isolate(), out.c_str()).ToLocalChecked()); in ToASCII()
321 String::NewFromUtf8(env->isolate(), out.c_str()).ToLocalChecked()); in ToUnicode()
Dnode_report_module.cc50 String::NewFromUtf8(isolate, filename.c_str()).ToLocalChecked()); in WriteReport()
71 String::NewFromUtf8(isolate, out.str().c_str()).ToLocalChecked()); in GetReport()
91 auto result = String::NewFromUtf8(env->isolate(), directory.c_str()); in GetDirectory()
107 auto result = String::NewFromUtf8(env->isolate(), filename.c_str()); in GetFilename()
122 auto result = String::NewFromUtf8(env->isolate(), signal.c_str()); in GetSignal()
Dnode_os.cc74 String::NewFromUtf8(env->isolate(), buf).ToLocalChecked()); in GetHostname()
90 String::NewFromUtf8(env->isolate(), info.sysname).ToLocalChecked(), in GetOSInformation()
91 String::NewFromUtf8(env->isolate(), info.version).ToLocalChecked(), in GetOSInformation()
92 String::NewFromUtf8(env->isolate(), info.release).ToLocalChecked(), in GetOSInformation()
93 String::NewFromUtf8(env->isolate(), info.machine).ToLocalChecked()}; in GetOSInformation()
206 name = String::NewFromUtf8(isolate, raw_name).ToLocalChecked(); in GetInterfaceAddresses()
264 Local<String> home = String::NewFromUtf8(env->isolate(), in GetHomeDirectory()
Dutil.cc356 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetMethod()
374 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetMethod()
395 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetFastMethod()
416 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetFastMethodNoSideEffect()
436 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetMethodNoSideEffect()
455 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetProtoMethod()
474 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetProtoMethodNoSideEffect()
493 v8::String::NewFromUtf8(isolate, name, type).ToLocalChecked(); in SetInstanceMethod()
Dnode_env_var.cc131 return String::NewFromUtf8( in Get()
203 MaybeLocal<String> str = String::NewFromUtf8(isolate, items[i].name); in Enumerate()
242 return String::NewFromUtf8( in Get()
278 String::NewFromUtf8(isolate, pair.first.data(), in Enumerate()
Dnode_process_object.cc38 String::NewFromUtf8(info.GetIsolate(), title.data(), in ProcessTitleGetter()
229 String::NewFromUtf8(isolate, in PatchProcessObject()
Dheap_utils.cc136 if (!String::NewFromUtf8(isolate_, name_str.c_str()).ToLocal(&value) || in CreateObject()
185 if (!String::NewFromUtf8(isolate_, edge_name) in CreateObject()
434 if (String::NewFromUtf8(isolate, *name).ToLocal(&filename_v)) { in TriggerHeapSnapshot()
/third_party/node/benchmark/napi/function_args/
Dbinding.cc59 MaybeLocal<String> map_key = String::NewFromUtf8(isolate, in CallWithObject()
68 MaybeLocal<String> operand_key = String::NewFromUtf8(isolate, in CallWithObject()
77 MaybeLocal<String> data_key = String::NewFromUtf8(isolate, in CallWithObject()
86 MaybeLocal<String> reduce_key = String::NewFromUtf8(isolate, in CallWithObject()
/third_party/node/test/addons/hello-world/
Dbinding.cc6 args.GetReturnValue().Set(v8::String::NewFromUtf8( in Method()
23 auto exception = v8::Exception::Error(v8::String::NewFromUtf8(isolate, in FakeInit()
/third_party/node/deps/v8/src/extensions/
Dstatistics-extension.cc35 v8::String::NewFromUtf8(isolate, name).ToLocalChecked(), in AddCounter()
45 v8::String::NewFromUtf8(isolate, name).ToLocalChecked(), in AddNumber()
57 v8::String::NewFromUtf8(isolate, name).ToLocalChecked(), in AddNumber64()
Dgc-extension.cc33 auto k = v8::String::NewFromUtf8(isolate, key).ToLocalChecked(); in IsProperty()
39 v8::String::NewFromUtf8(isolate, value).ToLocalChecked())); in IsProperty()
/third_party/node/test/addons/openssl-binding/
Dbinding.cc42 auto key = v8::String::NewFromUtf8( in Initialize()
52 key = v8::String::NewFromUtf8(isolate, "hash").ToLocalChecked(); in Initialize()
/third_party/node/test/cctest/
Dtest_report.cc83 ->Set(context, String::NewFromUtf8(isolate_, "foo").ToLocalChecked(), fn) in TEST_F()
119 ->Set(context, String::NewFromUtf8(isolate_, "foo").ToLocalChecked(), fn) in TEST_F()
Dtest_node_crypto_env.cc23 Local<String> key = String::NewFromUtf8(isolate_, "abcdef").ToLocalChecked(); in TEST_F()
/third_party/node/test/addons/async-resource/
Dbinding.cc58 String::NewFromUtf8(isolate, "methöd").ToLocalChecked(); in CallViaFunction()
75 String::NewFromUtf8(isolate, "methöd").ToLocalChecked(); in CallViaString()
/third_party/node/test/addons/symlinked-module/
Dbinding.cc6 args.GetReturnValue().Set(v8::String::NewFromUtf8( in Method()
/third_party/node/test/addons/load-long-path/
Dbinding.cc6 args.GetReturnValue().Set(v8::String::NewFromUtf8( in Method()
/third_party/node/test/addons/hello-world-function-export/
Dbinding.cc6 args.GetReturnValue().Set(v8::String::NewFromUtf8( in Method()
/third_party/node/test/addons/new-target/
Dbinding.cc15 binding->Set(context, v8::String::NewFromUtf8( in Initialize()
/third_party/node/test/addons/worker-buffer-callback/
Dbinding.cc27 v8::String::NewFromUtf8( in Initialize()
/third_party/node/test/addons/heap-profiler/
Dbinding.cc22 binding->Set(context, v8::String::NewFromUtf8( in Initialize()
/third_party/node/test/addons/parse-encoding/
Dbinding.cc27 v8::String::NewFromUtf8(args.GetIsolate(), encoding_name) in ParseEncoding()
/third_party/node/test/addons/dlopen-ping-pong/
Dbinding.cc39 args.GetReturnValue().Set(String::NewFromUtf8( in Ping()
/third_party/node/test/addons/openssl-providers/
Dbinding.cc35 String::NewFromUtf8(isolate, OSSL_PROVIDER_get0_name(provider)) in GetProviders()

123