Lines Matching refs:PARAM_CHECK

27     PARAM_CHECK(calculator != NULL, return -1, "Invalid param");

28 PARAM_CHECK(dataUnit <= (int)sizeof(LogicData), return -1, "Invalid param");
29 PARAM_CHECK(dataNumber <= MAX_CALC_PARAM, return -1, "Invalid param");
35 PARAM_CHECK(calculator->data != NULL, return -1, "Failed to malloc for calculator");
56 PARAM_CHECK(calculator != NULL, return, "Invalid param");
65 PARAM_CHECK(calculator != NULL, return, "Invalid param");
71 PARAM_CHECK(calculator != NULL, return -1, "Invalid param");
72 PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator support");
73 PARAM_CHECK(sizeof(char) == calculator->dataUnit, return -1, "More data for calculator support");
80 PARAM_CHECK(calculator != NULL, return -1, "Invalid param");
81 PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator support");
91 PARAM_CHECK(calculator != NULL, return -1, "Invalid param");
92 PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator support");
95 PARAM_CHECK(ret == EOK, return -1, "Failed to copy logic data");
102 PARAM_CHECK(calculator != NULL && data != NULL, return -1, "Invalid param");
103 PARAM_CHECK(calculator->endIndex < calculator->dataNumber, return -1, "More data for calculator support");
109 PARAM_CHECK(ret == EOK, return -1, "Failed to copy logic data");
116 PARAM_CHECK(calculator != NULL, return 0, "Invalid param");
144 PARAM_CHECK(ret == 0, return -1, "Invalid prefix");
183 PARAM_CHECK(ret == 0, return -1, "Failed parse content name");
186 PARAM_CHECK(ret == 0, return -1, "Failed parse content value");
221 PARAM_CHECK(calculator != NULL && condition != NULL, return -1, "Invalid calculator");
234 PARAM_CHECK((ret == 0 && ret1 == 0), return -1, "Failed to pop data");
245 PARAM_CHECK(ret == 0, return -1, "Failed to push data");
256 PARAM_CHECK(ret == 0, return -1, "Failed to push data");
267 PARAM_CHECK(ret == 0, return -1, "Invalid calculator");
274 PARAM_CHECK(condition != NULL && prefix != NULL, return -1, "Invalid condition");
281 PARAM_CHECK(CalculatorInit(&calculator, MAX_CALC_PARAM, 1, 0) == 0, return -1, "Failed to init calculator");
288 PARAM_CHECK(ret == 0,
293 PARAM_CHECK(condition[curr + 1] == '|',
296 PARAM_CHECK(ret == 0,
300 PARAM_CHECK(condition[curr + 1] == '&',
311 PARAM_CHECK(prefixIndex < prefixLen,
318 PARAM_CHECK(ret == 0,
329 PARAM_CHECK(condition != NULL, return 0, "Invalid condition");
330 PARAM_CHECK(input != NULL, return 0, "Invalid input");