Lines Matching refs:out
90 static void InitCallbackContext(napi_env env, const ApiCallInfo &in, ApiReplyInfo &out, EventCallbackContext &ctx)
94 out.exception_ = ApiCallErr(ERR_INTERNAL, "Api dose not support callback: " + in.apiId_);
95 LOG_E("%{public}s", out.exception_.message_.c_str());
111 out.exception_ = ApiCallErr(INTERNAL_ERROR, "UIEventObserver is not referenced: " + observerId);
112 LOG_E("%{public}s", out.exception_.message_.c_str());
116 out.exception_ = ApiCallErr(INTERNAL_ERROR, "JsCallbackFunction is not referenced: " + callbackId);
117 LOG_E("%{public}s", out.exception_.message_.c_str());
131 void UiEventObserverNapi::HandleEventCallback(napi_env env, const ApiCallInfo &in, ApiReplyInfo &out)
134 InitCallbackContext(env, in, out, *context);
135 if (out.exception_.code_ != NO_ERROR) {