Searched refs:cmdLineStr (Results 1 – 2 of 2) sorted by relevance
/base/startup/init_lite/services/param/trigger/ |
D | trigger_processor.c | 284 char *cmdLineStr = cJSON_GetStringValue(cJSON_GetArrayItem(cmdItems, i)); in ParseTrigger_() local 285 PARAM_CHECK(cmdLineStr != NULL, continue, "Command is null"); in ParseTrigger_() 288 ret = GetCommandInfo(cmdLineStr, &cmdKeyIndex, &content); in ParseTrigger_() 289 PARAM_CHECK(ret == 0, continue, "Command not support %s", cmdLineStr); in ParseTrigger_() 291 PARAM_CHECK(ret == 0, continue, "Failed to add command %s", cmdLineStr); in ParseTrigger_()
|
/base/startup/init_lite/test/unittest/common/ |
D | cmd_func_test.cpp | 755 char *cmdLineStr = cJSON_GetStringValue(cJSON_GetArrayItem(cmdsItem, i)); in CheckJob() local 756 EXPECT_TRUE(cmdLineStr != nullptr); in CheckJob() 757 EXPECT_TRUE(strlen(cmdLineStr) > 0); in CheckJob() 761 ParseCmdLine(cmdLineStr, &resCmd); in CheckJob()
|