• Home
  • Raw
  • Download

Lines Matching refs:AsyncHooks

73 inline AsyncHooks::AsyncHooks()  in AsyncHooks()  function
90 async_id_fields_[AsyncHooks::kDefaultTriggerAsyncId] = -1; in AsyncHooks()
94 async_id_fields_[AsyncHooks::kAsyncIdCounter] = 1; in AsyncHooks()
96 inline AliasedUint32Array& AsyncHooks::fields() { in fields()
100 inline AliasedFloat64Array& AsyncHooks::async_id_fields() { in async_id_fields()
104 inline AliasedFloat64Array& AsyncHooks::async_ids_stack() { in async_ids_stack()
108 v8::Local<v8::Array> AsyncHooks::js_execution_async_resources() { in js_execution_async_resources()
116 v8::Local<v8::Object> AsyncHooks::native_execution_async_resource(size_t i) { in native_execution_async_resource()
121 inline void AsyncHooks::SetJSPromiseHooks(v8::Local<v8::Function> init, in SetJSPromiseHooks()
140 inline v8::Local<v8::String> AsyncHooks::provider_string(int idx) { in provider_string()
144 inline void AsyncHooks::no_force_checks() { in no_force_checks()
148 inline Environment* AsyncHooks::env() { in env()
153 inline void AsyncHooks::push_async_context(double async_id, in push_async_context()
188 inline bool AsyncHooks::pop_async_context(double async_id) { in pop_async_context()
245 void AsyncHooks::clear_async_id_stack() { in clear_async_id_stack()
262 inline void AsyncHooks::AddContext(v8::Local<v8::Context> ctx) { in AddContext()
283 inline void AsyncHooks::RemoveContext(v8::Local<v8::Context> ctx) { in RemoveContext()
305 inline AsyncHooks::DefaultTriggerAsyncIdScope ::DefaultTriggerAsyncIdScope( in DefaultTriggerAsyncIdScope()
308 if (env->async_hooks()->fields()[AsyncHooks::kCheck] > 0) { in DefaultTriggerAsyncIdScope()
313 async_hooks_->async_id_fields()[AsyncHooks::kDefaultTriggerAsyncId]; in DefaultTriggerAsyncIdScope()
314 async_hooks_->async_id_fields()[AsyncHooks::kDefaultTriggerAsyncId] = in DefaultTriggerAsyncIdScope()
318 inline AsyncHooks::DefaultTriggerAsyncIdScope ::~DefaultTriggerAsyncIdScope() { in ~DefaultTriggerAsyncIdScope()
319 async_hooks_->async_id_fields()[AsyncHooks::kDefaultTriggerAsyncId] = in ~DefaultTriggerAsyncIdScope()
323 Environment* Environment::ForAsyncHooks(AsyncHooks* hooks) { in ForAsyncHooks()
566 inline AsyncHooks* Environment::async_hooks() { in async_hooks()
670 async_hooks()->async_id_fields()[AsyncHooks::kAsyncIdCounter] += 1; in new_async_id()
671 return async_hooks()->async_id_fields()[AsyncHooks::kAsyncIdCounter]; in new_async_id()
675 return async_hooks()->async_id_fields()[AsyncHooks::kExecutionAsyncId]; in execution_async_id()
679 return async_hooks()->async_id_fields()[AsyncHooks::kTriggerAsyncId]; in trigger_async_id()
684 async_hooks()->async_id_fields()[AsyncHooks::kDefaultTriggerAsyncId]; in get_default_trigger_async_id()