Home
last modified time | relevance | path

Searched refs:cmdLinesCnt (Results 1 – 2 of 2) sorted by relevance

/base/startup/init/services/param/trigger/
Dtrigger_processor.c244 int cmdLinesCnt = cJSON_GetArraySize(cmdItems); in ParseTrigger_() local
245 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_()
/base/startup/init/test/unittest/lite/
Dcmd_func_test.cpp733 int cmdLinesCnt = cJSON_GetArraySize(cmdsItem); in CheckJob() local
734 EXPECT_TRUE(cmdLinesCnt <= MAX_CMD_CNT_IN_ONE_JOB); in CheckJob()
736 for (int i = 0; i < cmdLinesCnt; ++i) { in CheckJob()