Lines Matching refs:argc
35 static int HandleCmd(BShellHandle shell, const char *cmdName, int argc, char **argv)
38 BSH_LOGI("initCmd %s argc %d", cmdName, argc);
40 if (argc == 0) {
46 for (int i = 0; i < argc; i++) {
55 static int SetInitLogLevelFromParam(BShellHandle shell, int argc, char **argv)
57 if (argc != 2) { // 2 is set log level parameter number
70 int ret = HandleCmd(shell, "setloglevel", argc - 1, &argv[1]);
82 static int32_t GetInitLogLevelFromParam(BShellHandle shell, int argc, char **argv)
92 static int32_t GetUidByName(BShellHandle shell, int argc, char **argv)
94 if (argc != 2) { // 2 is dac get uid parameter number
129 static int32_t GetGidByName(BShellHandle shell, int argc, char **argv)
131 if (argc != 2) { // 2 is dac get gid parameter number