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