/third_party/node/src/api/ |
D | callback.cc | 22 async_context async_context) in CallbackScope() argument 23 : CallbackScope(Environment::GetCurrent(isolate), object, async_context) {} in CallbackScope() 27 async_context asyncContext) in CallbackScope() 50 const async_context& asyncContext, in InternalCallbackScope() 162 async_context asyncContext) { in InternalMakeCallback() 223 async_context asyncContext) { in MakeCallback() 234 async_context asyncContext) { in MakeCallback() 257 async_context asyncContext) { in MakeCallback()
|
D | hooks.cc | 188 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit() 199 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit() 211 async_context context = { in EmitAsyncInit() 223 void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) { in EmitAsyncDestroy() 227 void EmitAsyncDestroy(Environment* env, async_context asyncContext) { in EmitAsyncDestroy()
|
/third_party/node/src/ |
D | node_api.cc | 521 inline node::async_context async_context() { in async_context() function in v8impl::__anon274e92400311::AsyncContext 533 AsyncContext* async_context = data.GetParameter(); in WeakCallback() local 534 async_context->resource_.Reset(); in WeakCallback() 535 async_context->lost_reference_ = true; in WeakCallback() 541 explicit CallbackScope(AsyncContext* async_context) in CallbackScope() argument 542 : node::CallbackScope(async_context->node_env(), in CallbackScope() 543 async_context->resource_.Get( in CallbackScope() 544 async_context->node_env()->isolate()), in CallbackScope() 545 async_context->async_context()) {} in CallbackScope() 822 v8impl::AsyncContext* async_context = in napi_async_init() local [all …]
|
D | node.h | 906 struct async_context { struct 953 NODE_EXTERN async_context EmitAsyncInit(v8::Isolate* isolate, 958 NODE_EXTERN async_context EmitAsyncInit(v8::Isolate* isolate, 970 async_context asyncContext); 972 async_context asyncContext); 995 async_context asyncContext); 998 async_context asyncContext); 1027 async_context asyncContext); 1034 async_context asyncContext); 1041 async_context asyncContext); [all …]
|
D | node_internals.h | 196 async_context asyncContext); 212 const async_context& asyncContext, 224 async_context async_context_;
|
D | node_api.h | 126 napi_async_context async_context); 129 napi_async_context async_context,
|
D | node_perf.cc | 121 node::async_context{0, 0}); in Notify()
|
D | async_wrap.cc | 685 async_context context { get_async_id(), get_trigger_async_id() }; in MakeCallback()
|
/third_party/node/test/node-api/test_async_context/ |
D | binding.c | 99 napi_async_context async_context; in DestroyAsyncResource() local 101 napi_remove_wrap(env, async_context_wrap, (void**)&async_context)); in DestroyAsyncResource() 102 NAPI_CALL(env, napi_async_destroy(env, async_context)); in DestroyAsyncResource()
|
/third_party/node/test/addons/make-callback/ |
D | binding.cc | 23 node::async_context{0, 0}).ToLocalChecked(); in MakeCallback() 28 node::async_context{0, 0}).ToLocalChecked(); in MakeCallback()
|
/third_party/node/test/addons/callback-scope/ |
D | binding.cc | 20 node::async_context asyncContext = { in RunInCallbackScope() 39 node::async_context{0, 0}); in Callback()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | node_api.h | 126 napi_async_context async_context); 129 napi_async_context async_context,
|
/third_party/node/test/addons/make-callback-recurse/ |
D | binding.cc | 23 node::async_context{0, 0}); in MakeCallback()
|
/third_party/node/test/addons/make-callback-domain-warning/ |
D | binding.cc | 23 node::async_context{0, 0}); in MakeCallback()
|
/third_party/node/test/addons/repl-domain-abort/ |
D | binding.cc | 42 node::async_context{0, 0}).ToLocalChecked(); in Method()
|
/third_party/node/test/addons/async-hello-world/ |
D | binding.cc | 18 node::async_context context;
|
/third_party/mindspore/patches/ |
D | 0008-add-js-api.patch | 653 + static napi_value CreateMSLiteModelWrapper(napi_env env, MSLiteModelAsyncContext *async_context); 660 + MSLiteModelAsyncContext *async_context); 1464 …e MSLiteModelNapi::CreateMSLiteModelWrapper(napi_env env, MSLiteModelAsyncContext *async_context) { 1476 + model_info_ = &(async_context->model_info); 1477 + context_ = &(async_context->context); 1488 + auto async_context = static_cast<MSLiteModelAsyncContext *>(data); 1490 + if (async_context != nullptr) { 1491 + if (!async_context->status) { 1492 + valueParam = CreateMSLiteModelWrapper(env, async_context); 1494 + CommonCallbackRoutine(env, async_context, valueParam); [all …]
|
D | 0032-js-enable-enum.patch | 99 MSLiteModelAsyncContext *async_context);
|
/third_party/rust/crates/tracing/tracing-attributes/src/ |
D | expand.rs | 106 async_context: bool, in gen_block() 260 if async_context { in gen_block()
|
/third_party/node/doc/api/ |
D | n-api.md | 5261 napi_async_context async_context); 5265 * `[in] async_context`: The async context to be destroyed. 5278 description: Added `async_context` parameter. 5283 napi_async_context async_context, 5292 * `[in] async_context`: Context for the async operation that is 5296 for `async_context` does not result in an error. However, this results
|
D | deprecations.md | 1841 should start using the `async_context` variant of `MakeCallback` or 1879 deprecated. Please use the versions of the API that accept an `async_context`
|