Lines Matching refs:status
23 auto status = napi_delete_reference(env, callbackRef);
24 LOG_DEBUG("status:%{public}d", status);
27 auto status = napi_delete_reference(env, selfRef);
28 LOG_DEBUG("status:%{public}d", status);
39 status = napi_get_cb_info(env, info, &argc, argv, &self, nullptr);
46 status = napi_unwrap(env, self, &native);
55 status = napi_create_reference(env, argv[index], 1, &callbackRef);
95 LOG_DEBUG("AsyncWork napi_async_execute_callback ctxt->status=%{public}d", actx->ctx->status);
96 if (actx->execute && actx->ctx->status == napi_ok) {
100 [](napi_env env, napi_status status, void* data) {
103 LOG_DEBUG("AsyncWork napi_async_complete_callback status = %{public}d, ctxt->status = %{public}d",
104 status, actx->ctx->status);
105 if ((status != napi_ok) && (actx->ctx->status == napi_ok)) {
106 actx->ctx->status = status;
109 if ((actx->complete) && (status == napi_ok) && (actx->ctx->status == napi_ok)) {
116 auto status = napi_queue_async_work(env, aCtx->work);
117 if (status != napi_ok) {
127 if (ctx.ctx->status == napi_ok) {
140 if (ctx.ctx->status == napi_ok) {