• Home
  • Raw
  • Download

Lines Matching refs:async_id

114     for (auto async_id : destroy_async_id_list) {  in DestroyAsyncIdsCallback()  local
118 Local<Value> async_id_value = Number::New(env->isolate(), async_id); in DestroyAsyncIdsCallback()
128 void Emit(Environment* env, double async_id, AsyncHooks::Fields type, in Emit() argument
136 Local<Value> async_id_value = Number::New(env->isolate(), async_id); in Emit()
142 void AsyncWrap::EmitPromiseResolve(Environment* env, double async_id) { in EmitPromiseResolve() argument
143 Emit(env, async_id, AsyncHooks::kPromiseResolve, in EmitPromiseResolve()
164 void AsyncWrap::EmitBefore(Environment* env, double async_id) { in EmitBefore() argument
165 Emit(env, async_id, AsyncHooks::kBefore, in EmitBefore()
170 void AsyncWrap::EmitTraceEventAfter(ProviderType type, double async_id) { in EmitTraceEventAfter() argument
176 #PROVIDER "_CALLBACK", static_cast<int64_t>(async_id)); \ in EmitTraceEventAfter()
186 void AsyncWrap::EmitAfter(Environment* env, double async_id) { in EmitAfter() argument
189 Emit(env, async_id, AsyncHooks::kAfter, in EmitAfter()
298 double async_id = args[0]->NumberValue(env->context()).FromJust(); in PushAsyncContext() local
300 env->async_hooks()->push_async_context(async_id, trigger_async_id, {}); in PushAsyncContext()
306 double async_id = args[0]->NumberValue(env->context()).FromJust(); in PopAsyncContext() local
307 args.GetReturnValue().Set(env->async_hooks()->pop_async_context(async_id)); in PopAsyncContext()
567 void AsyncWrap::EmitDestroy(Environment* env, double async_id) { in EmitDestroy() argument
589 env->destroy_async_id_list()->push_back(async_id); in EmitDestroy()
653 double async_id, in EmitAsyncInit() argument
668 Number::New(env->isolate(), async_id), in EmitAsyncInit()
691 EmitTraceEventAfter(provider, context.async_id); in MakeCallback()