Lines Matching refs:env_
90 CallIntoModule(call, [](napi_env env_, v8::Local<v8::Value> local_err) { in CallbackIntoModule() argument
91 node_napi_env__* env = static_cast<node_napi_env__*>(env_); in CallbackIntoModule()
134 finalizer->env_->CallFinalizer(finalizer->finalize_callback_, in FinalizeBufferCallback()
149 env_->Ref(); in BufferFinalizer()
152 ~BufferFinalizer() { env_->Unref(); } in ~BufferFinalizer()
207 node_napi_env env_, in ThreadSafeFunction() argument
211 : AsyncResource(env_->isolate, in ThreadSafeFunction()
213 *v8::String::Utf8Value(env_->isolate, name)), in ThreadSafeFunction()
219 env(env_), in ThreadSafeFunction()
541 : env_(env) { in AsyncContext()
583 env_->open_callback_scopes++; in OpenCallbackScope()
596 inline node::Environment* node_env() { return env_->node_env(); } in node_env()
627 node_napi_env env_; member in v8impl::__anon2b7257620411::AsyncContext
789 : env_(env), user_hook_(user_hook), user_data_(user_data) { in napi_async_cleanup_hook_handle__()
800 static_cast<node_napi_env>(env_)->node_env()->SetImmediate( in ~napi_async_cleanup_hook_handle__()
801 [env = env_](node::Environment*) { env->Unref(); }); in ~napi_async_cleanup_hook_handle__()
813 napi_env env_ = nullptr; member