Home
last modified time | relevance | path

Searched refs:errorDesc (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/extended/blackbox/
Dlos_blackbox_core.c75 const char errorDesc[ERROR_DESC_MAX_LEN]) in FormatErrorInfo()
77 if (info == NULL || event == NULL || module == NULL || errorDesc == NULL) { in FormatErrorInfo()
78 …BOX_PRINT_ERR("info: %p, event: %p, module: %p, errorDesc: %p!\n", info, event, module, errorDesc); in FormatErrorInfo()
89 if (strncpy_s(info->errorDesc, sizeof(info->errorDesc), errorDesc, in FormatErrorInfo()
90 Min(strlen(errorDesc), sizeof(info->errorDesc) - 1)) != EOK) { in FormatErrorInfo()
289 const char errorDesc[ERROR_DESC_MAX_LEN]) in SaveTempErrorInfo()
291 if (event == NULL || module == NULL || errorDesc == NULL) { in SaveTempErrorInfo()
292 BBOX_PRINT_ERR("event: %p, module: %p, errorDesc: %p!\n", event, module, errorDesc); in SaveTempErrorInfo()
299 FormatErrorInfo(g_tempErrInfo, event, module, errorDesc); in SaveTempErrorInfo()
399 const char errorDesc[ERROR_DESC_MAX_LEN], in BBoxNotifyError()
[all …]
Dlos_blackbox.h64 char errorDesc[ERROR_DESC_MAX_LEN]; member
78 const char errorDesc[ERROR_DESC_MAX_LEN],
Dlos_blackbox_common.c118 ERROR_INFO_HEADER_FORMAT, info->event, info->module, info->errorDesc) != -1) { in SaveBasicErrorInfo()