Lines Matching refs:target
199 Global<Object> target;
239 p->target.Reset(isolate, args[0].As<Object>());
243 p->target.SetWeak(p, AsyncWrap::WeakCallback, WeakCallbackType::kParameter);
353 void AsyncWrap::Initialize(Local<Object> target,
361 SetMethod(context, target, "setupHooks", SetupHooks);
362 SetMethod(context, target, "setCallbackTrampoline", SetCallbackTrampoline);
363 SetMethod(context, target, "pushAsyncContext", PushAsyncContext);
364 SetMethod(context, target, "popAsyncContext", PopAsyncContext);
365 SetMethod(context, target, "executionAsyncResource", ExecutionAsyncResource);
366 SetMethod(context, target, "clearAsyncIdStack", ClearAsyncIdStack);
367 SetMethod(context, target, "queueDestroyAsyncId", QueueDestroyAsyncId);
368 SetMethod(context, target, "setPromiseHooks", SetPromiseHooks);
369 SetMethod(context, target, "registerDestroyHook", RegisterDestroyHook);
384 FORCE_SET_TARGET_FIELD(target,
398 FORCE_SET_TARGET_FIELD(target,
402 FORCE_SET_TARGET_FIELD(target,
406 target->Set(context,
429 FORCE_SET_TARGET_FIELD(target, "constants", constants);
437 FORCE_SET_TARGET_FIELD(target, "Providers", async_providers);
447 env->set_async_hooks_binding(target);