Home
last modified time | relevance | path

Searched refs:async_context (Results 1 – 21 of 21) sorted by relevance

/third_party/node/src/api/
Dcallback.cc22 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()
Dhooks.cc188 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/
Dnode_api.cc521 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 …]
Dnode.h906 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 …]
Dnode_internals.h196 async_context asyncContext);
212 const async_context& asyncContext,
224 async_context async_context_;
Dnode_api.h126 napi_async_context async_context);
129 napi_async_context async_context,
Dnode_perf.cc121 node::async_context{0, 0}); in Notify()
Dasync_wrap.cc685 async_context context { get_async_id(), get_trigger_async_id() }; in MakeCallback()
/third_party/node/test/node-api/test_async_context/
Dbinding.c99 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/
Dbinding.cc23 node::async_context{0, 0}).ToLocalChecked(); in MakeCallback()
28 node::async_context{0, 0}).ToLocalChecked(); in MakeCallback()
/third_party/node/test/addons/callback-scope/
Dbinding.cc20 node::async_context asyncContext = { in RunInCallbackScope()
39 node::async_context{0, 0}); in Callback()
/third_party/ejdb/src/bindings/ejdb2_node/
Dnode_api.h126 napi_async_context async_context);
129 napi_async_context async_context,
/third_party/node/test/addons/make-callback-recurse/
Dbinding.cc23 node::async_context{0, 0}); in MakeCallback()
/third_party/node/test/addons/make-callback-domain-warning/
Dbinding.cc23 node::async_context{0, 0}); in MakeCallback()
/third_party/node/test/addons/repl-domain-abort/
Dbinding.cc42 node::async_context{0, 0}).ToLocalChecked(); in Method()
/third_party/node/test/addons/async-hello-world/
Dbinding.cc18 node::async_context context;
/third_party/mindspore/patches/
D0008-add-js-api.patch653 + 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 …]
D0032-js-enable-enum.patch99 MSLiteModelAsyncContext *async_context);
/third_party/rust/crates/tracing/tracing-attributes/src/
Dexpand.rs106 async_context: bool, in gen_block()
260 if async_context { in gen_block()
/third_party/node/doc/api/
Dn-api.md5261 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
Ddeprecations.md1841 should start using the `async_context` variant of `MakeCallback` or
1879 deprecated. Please use the versions of the API that accept an `async_context`