Searched refs:startCmd (Results 1 – 2 of 2) sorted by relevance
/base/startup/init_lite/services/init/ |
D | init_common_cmds.c | 597 char *startCmd = GetCmdStart(name); in GetCmdByName() local 598 INIT_CHECK_RETURN_VALUE(startCmd != NULL, NULL); in GetCmdByName() 602 if (strncmp(startCmd, commCmds[i].name, strlen(commCmds[i].name)) == 0) { in GetCmdByName() 609 if (strncmp(startCmd, cmds[i].name, strlen(cmds[i].name)) == 0) { in GetCmdByName() 619 char *startCmd = GetCmdStart(cmdStr); in GetMatchCmd() local 620 INIT_CHECK_RETURN_VALUE(startCmd != NULL, NULL); in GetMatchCmd() 625 if (strncmp(startCmd, commCmds[i].name, strlen(commCmds[i].name)) == 0) { in GetMatchCmd() 633 if (strncmp(startCmd, cmds[i].name, strlen(cmds[i].name)) == 0) { in GetMatchCmd() 638 return PluginGetCmdIndex(startCmd, index); in GetMatchCmd()
|
/base/startup/init_lite/test/unittest/param/ |
D | trigger_unittest.cpp | 157 const char *startCmd = "ohos.ctl.start=hdc -t"; in TestParamEvent() local 158 PostTrigger(EVENT_TRIGGER_PARAM, startCmd, strlen(startCmd)); in TestParamEvent()
|