/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
D | screenlock_callback.cpp | 32 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()
|
D | async_call.cpp | 127 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/ |
D | async_call.cpp | 110 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/ |
D | call.cpp | 126 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()
|
D | call.h | 100 enum Arg : int32_t { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | async_call.cpp | 117 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()
|
D | async_call.h | 101 enum Arg : int { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | async_call.cpp | 112 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/ |
D | print_async_call.cpp | 121 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/ |
D | async_call.h | 91 ARG_ERROR, enumerator
|
/base/request/request/frameworks/js/napi/include/upload/ |
D | async_call.h | 88 ARG_ERROR, enumerator
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | print_async_call.h | 100 enum { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
|
/base/theme/screenlock_mgr/frameworks/js/napi/include/ |
D | async_call.h | 102 enum class ARG_INFO { ARG_ERROR, ARG_DATA, ARG_BUTT }; enumerator
|