/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_write.cpp | 100 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeByte() 107 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeByte() 138 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeShort() 145 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeShort() 176 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeInt() 183 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeInt() 214 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeLong() 221 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeLong() 252 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeFloat() 259 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeFloat() [all …]
|
H A D | napi_message_sequence_read.cpp | 107 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_rewindRead() 114 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_rewindRead() 357 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readParcelable() 384 return napiErr.ThrowError(env, errorDesc::CALL_JS_METHOD_ERROR); in JS_readParcelable() 836 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readParcelableArray() 989 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawData() 995 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawData() 1047 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawDataBuffer() 1054 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawDataBuffer() 1115 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readArrayBuffer() [all …]
|
H A D | napi_ashmem.cpp | 145 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 156 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 162 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 168 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 175 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 328 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapTypedAshmem() 357 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapReadWriteAshmem() 386 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapReadonlyAshmem() 564 return napiErr.ThrowError(env, OHOS::errorDesc::OS_IOCTL_ERROR); in SetProtectionType() 736 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in CheckWriteToAshmemParams() [all …]
|
H A D | napi_remote_object.cpp | 963 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 969 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 976 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 983 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 1272 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1278 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1283 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1288 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1293 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1317 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_sendMessageRequest() [all …]
|
/ohos5.0/base/hiviewdfx/blackbox_lite/ |
H A D | blackbox_core.c | 74 const char errorDesc[ERROR_DESC_MAX_LEN]) in FormatErrorInfo() 76 if (info == NULL || event == NULL || module == NULL || errorDesc == NULL) { in FormatErrorInfo() 78 info, event, module, errorDesc); in FormatErrorInfo() 91 if (strncpy_s(info->errorDesc, sizeof(info->errorDesc), errorDesc, in FormatErrorInfo() 92 Min(strlen(errorDesc), sizeof(info->errorDesc) - 1)) != EOK) { in FormatErrorInfo() 129 info->event, info->module, info->errorDesc) != -1) { in SaveBasicErrorInfo() 254 const char errorDesc[ERROR_DESC_MAX_LEN], in BBoxNotifyError() 285 FormatErrorInfo(info, event, module, errorDesc); in BBoxNotifyError()
|
H A D | README_zh.md | 57 char errorDesc[ERROR_DESC_MAX_LEN]; 68 | errorDesc | char[] | 是 | 故障信息描述 | 74 const char errorDesc[ERROR_DESC_MAX_LEN], int needSysReset); 84 | errorDesc | const char[] | 是 | 故障信息描述 |
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi/src/ |
H A D | napi_remote_proxy.cpp | 248 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 253 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 258 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 263 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 269 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 274 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 279 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 296 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_sendMessageRequest() 404 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkRegisterDeathRecipientArgs() 410 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkRegisterDeathRecipientArgs() [all …]
|
H A D | napi_ipc_skeleton.cpp | 167 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_flushCmdBuffer() 174 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_flushCmdBuffer() 433 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 439 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 446 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 453 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_utils.h | 51 const auto errorDesc = NnrtErrorDescription((code)); \ 53 errorDesc.c_str(), __LINE__, (callDesc)); \ 61 …const auto errorDesc = NnrtErrorDescription((code)); … 63 … "NN API returned error %s at line %d while %s for tensor '%s'.\n", errorDesc.c_str(), \
|
H A D | nnrt_delegate_kernel.cpp | 47 …const auto errorDesc = NnrtErrorDescription((code)); … 48 …OG_PROD(TFLITE_LOG_ERROR, "NN API returned error %s at line %d while %s.\n", errorDesc.c_str(), \
|
/ohos5.0/base/hiviewdfx/blackbox_lite/interfaces/native/innerkits/ |
H A D | blackbox.h | 53 char errorDesc[ERROR_DESC_MAX_LEN]; member 67 const char errorDesc[ERROR_DESC_MAX_LEN],
|
/ohos5.0/base/hiviewdfx/blackbox_lite/interfaces/native/kits/ |
H A D | blackbox.h | 53 char errorDesc[ERROR_DESC_MAX_LEN]; member 67 const char errorDesc[ERROR_DESC_MAX_LEN],
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_rpc_common.h | 29 …return napiErr.ThrowError(env, errorDesc::WRITE_DATA_TO_MESSAGE_SEQUENCE_ERROR); … 38 … return napiErr.ThrowError(env, errorDesc::READ_DATA_FROM_MESSAGE_SEQUENCE_ERROR); \
|
H A D | napi_rpc_error.h | 25 enum errorDesc { enum
|