Lines Matching defs:env
1 #include "env-inl.h"
18 Debug(wasi->env(), DebugCategory::WASI, std::forward<Args>(args)...);
95 Environment* env = Environment::GetCurrent(context);
96 CHECK_NOT_NULL(env);
109 env->errno_string(),
111 e->Set(context, env->code_string(), js_code).IsNothing() ||
112 e->Set(context, env->syscall_string(), js_syscall).IsNothing()) {
120 WASI::WASI(Environment* env,
122 uvwasi_options_t* options) : BaseObject(env, object) {
129 if (!WASIException(env->context(), err, "uvwasi_init").ToLocal(&exception))
132 env->isolate()->ThrowException(exception);
167 Environment* env = Environment::GetCurrent(args);
168 Local<Context> context = env->context();
192 node::Utf8Value str(env->isolate(), arg);
203 node::Utf8Value str(env->isolate(), pair);
219 node::Utf8Value mapped_path(env->isolate(), mapped);
220 node::Utf8Value real_path(env->isolate(), real);
228 new WASI(env, args.This(), &options);
1677 wasi->env(),
1681 wasi->memory_.Reset(wasi->env()->isolate(), args[0].As<WasmMemoryObject>());
1699 Environment* env = Environment::GetCurrent(context);
1700 Isolate* isolate = env->isolate();
1704 tmpl->Inherit(BaseObject::GetConstructorTemplate(env));