Searched refs:cmdLinesCnt (Results 1 – 2 of 2) sorted by relevance
244 int cmdLinesCnt = cJSON_GetArraySize(cmdItems); in ParseTrigger_() local245 PARAM_CHECK(cmdLinesCnt > 0, return -1, "Command array size must positive %s", name); in ParseTrigger_()249 for (int i = 0; (i < cmdLinesCnt) && (i < TRIGGER_MAX_CMD); ++i) { in ParseTrigger_()
733 int cmdLinesCnt = cJSON_GetArraySize(cmdsItem); in CheckJob() local734 EXPECT_TRUE(cmdLinesCnt <= MAX_CMD_CNT_IN_ONE_JOB); in CheckJob()736 for (int i = 0; i < cmdLinesCnt; ++i) { in CheckJob()