Home
last modified time | relevance | path

Searched refs:ARG_ERROR (Results 1 – 13 of 13) sorted by relevance

/base/theme/screenlock_mgr/frameworks/js/napi/src/
Dscreenlock_callback.cpp32 enum class ARG_INFO { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
71 napi_get_null(callBackPtr->env, &result[static_cast<int32_t>(ARG_INFO::ARG_ERROR)]); in UvWorkOnCallBack()
74 &result[static_cast<int32_t>(ARG_INFO::ARG_ERROR)]); in UvWorkOnCallBack()
82 result[static_cast<int32_t>(ARG_INFO::ARG_ERROR)]); in UvWorkOnCallBack()
Dasync_call.cpp127 napi_get_null(env, &result[static_cast<uint32_t>(ARG_INFO::ARG_ERROR)]); in OnComplete()
137 …eBusinessError(env, context->ctx->errorInfo_, &result[static_cast<uint32_t>(ARG_INFO::ARG_ERROR)]); in OnComplete()
146 … napi_reject_deferred(env, context->defer, result[static_cast<uint32_t>(ARG_INFO::ARG_ERROR)]); in OnComplete()
/base/request/request/frameworks/js/napi/src/
Dasync_call.cpp110 napi_get_null(env, &result[ARG_ERROR]); in OnComplete()
112 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
118 result[ARG_ERROR] = context->Creator(); in OnComplete()
125 napi_reject_deferred(env, context->defer_, result[ARG_ERROR]); in OnComplete()
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dcall.cpp126 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
145 napi_create_error(env, nullptr, message, &result[ARG_ERROR]); in OnComplete()
146 napi_set_named_property(env, result[ARG_ERROR], "code", errCode); in OnComplete()
156 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
Dcall.h100 enum Arg : int32_t { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Dasync_call.cpp117 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
126 result[ARG_ERROR] = JsUtils::ToError(env, context->ctx->errorCode_); in OnComplete()
133 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
Dasync_call.h101 enum Arg : int { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
/base/request/request/frameworks/js/napi/src/upload/
Dasync_call.cpp112 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
119 result[ARG_ERROR] = JSUtil::CreateBusinessError(env, E_SERVICE_ERROR, "upload fail"); in OnComplete()
127 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/print/print_fwk/interfaces/kits/napi/src/
Dprint_async_call.cpp121 napi_get_undefined(env, &result[ARG_ERROR]); in OnComplete()
139 result[ARG_ERROR] = message; in OnComplete()
146 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/request/request/frameworks/js/napi/include/
Dasync_call.h91 ARG_ERROR, enumerator
/base/request/request/frameworks/js/napi/include/upload/
Dasync_call.h88 ARG_ERROR, enumerator
/base/print/print_fwk/interfaces/kits/napi/include/
Dprint_async_call.h100 enum { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
/base/theme/screenlock_mgr/frameworks/js/napi/include/
Dasync_call.h102 enum class ARG_INFO { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator