Lines Matching refs:PARAM_CHECK
64 PARAM_CHECK(ret == 0, return ret, "Invalid param name %s", name);
67 PARAM_CHECK(ret == 0, return ret, "Failed to write param %s %s", name, value);
74 PARAM_CHECK(data != NULL, return -1, "Read sn from %s file failed!", file);
91 PARAM_CHECK(ret == 0, return ret, "Failed to write param %s", name);
100 PARAM_CHECK(ret == 0, return ret, "Invalid name %s", name);
104 PARAM_CHECK(ret == 0, return ret, "Failed to write param %s %s", name, value);
126 PARAM_CHECK(ret > 0, return ret, "snprinf_s failed");
128 PARAM_CHECK(ret == 0, return ret, "Invalid name %s", name);
131 PARAM_CHECK(ret == 0, return ret, "Failed to write param %s %s", fullName, value);
248 PARAM_CHECK(ctx.cmdline != NULL, return -1, "Failed to read file %s", BOOT_CMD_LINE);
270 PARAM_CHECK(paramSpace != NULL, return -1, "Invalid paramSpace");
272 PARAM_CHECK(fileName != NULL, return -1, "Invalid filename for load");
332 PARAM_CHECK(target != NULL, return -1, "Failed to alloc memory");
370 PARAM_CHECK(buffer != NULL, (void)fclose(fp);
399 PARAM_CHECK(buffer != NULL, (void)fclose(fp);
410 PARAM_CHECK(ret == 0, continue, "Failed to set param '%s' error:%d ", buffer, ret);
439 PARAM_CHECK(fileName != NULL, return -1, "Invalid filename for load");
495 PARAM_CHECK(paramSpace != NULL && paramSpace->workSpace != NULL,
498 PARAM_CHECK(spaceSize != NULL, return PARAM_CODE_ERROR, "Failed to get workspace size");
501 PARAM_CHECK(ret > 0, return PARAM_CODE_ERROR, "Failed to snprintf workspace name");