Lines Matching full:module
73 const char module[MODULE_MAX_LEN], in FormatErrorInfo()
76 if (info == NULL || event == NULL || module == NULL || errorDesc == NULL) { in FormatErrorInfo()
77 BBOX_PRINT_ERR("info: %p, event: %p, module: %p, errorDesc: %p\n", in FormatErrorInfo()
78 info, event, module, errorDesc); in FormatErrorInfo()
87 if (strncpy_s(info->module, sizeof(info->module), module, in FormatErrorInfo()
88 Min(strlen(module), sizeof(info->module) - 1)) != EOK) { in FormatErrorInfo()
89 BBOX_PRINT_ERR("strncpy_s failed or the info->module is not enough!\n"); in FormatErrorInfo()
129 info->event, info->module, info->errorDesc) != -1) { in SaveBasicErrorInfo()
137 info->module, info->event); in SaveBasicErrorInfo()
140 info->module, info->event); in SaveBasicErrorInfo()
171 ops->ops.module); in SaveErrorLog()
174 BBOX_PRINT_INFO("[%s] starts saving log!\n", ops->ops.module); in SaveErrorLog()
176 BBOX_PRINT_ERR("[%s] failed to save log!\n", ops->ops.module); in SaveErrorLog()
178 BBOX_PRINT_INFO("[%s] ends saving log!\n", ops->ops.module); in SaveErrorLog()
179 BBOX_PRINT_INFO("[%s] starts uploading event [%s]\n", info->module, info->event); in SaveErrorLog()
181 BBOX_PRINT_INFO("[%s] ends uploading event [%s]\n", info->module, info->event); in SaveErrorLog()
198 BBOX_PRINT_INFO("module: %s, Dump: %p, Reset: %p, " in PrintModuleOps()
200 temp->ops.module, temp->ops.Dump, temp->ops.Reset, in PrintModuleOps()
233 if (strcmp(temp->ops.module, ops->module) == 0) { in BBoxRegisterModuleOps()
234 BBOX_PRINT_ERR("[%s] has been registered!\n", ops->module); in BBoxRegisterModuleOps()
242 BBOX_PRINT_INFO("[%s] is registered successfully!\n", ops->module); in BBoxRegisterModuleOps()
253 const char module[MODULE_MAX_LEN], in BBoxNotifyError()
282 if (strcmp(ops->ops.module, module) != 0) { in BBoxNotifyError()
285 FormatErrorInfo(info, event, module, errorDesc); in BBoxNotifyError()
291 BBOX_PRINT_INFO("[%s] starts dumping data!\n", ops->ops.module); in BBoxNotifyError()
293 BBOX_PRINT_INFO("[%s] ends dumping data!\n", ops->ops.module); in BBoxNotifyError()
296 BBOX_PRINT_INFO("[%s] starts resetting!\n", ops->ops.module); in BBoxNotifyError()
298 BBOX_PRINT_INFO("[%s] ends resetting!\n", ops->ops.module); in BBoxNotifyError()