Lines Matching refs:argc_val
903 int *argc_val) in cmd_keywords_opt_check() argument
912 argc_val_max = *argc_val; in cmd_keywords_opt_check()
927 while (keyw_opt_matched + *argc_val < in cmd_keywords_opt_check()
930 *(cmd_keyw_p + *argc_val) == *cmd_keyw_opt_p) { in cmd_keywords_opt_check()
942 if (keyw_opt_matched + *argc_val <= in cmd_keywords_opt_check()
945 *argc_val + keyw_opt_matched > argc_val_max) in cmd_keywords_opt_check()
946 argc_val_max = *argc_val + keyw_opt_matched; in cmd_keywords_opt_check()
949 *argc_val = argc_val_max; in cmd_keywords_opt_check()
957 int *argc_val) in cmd_keywords_check() argument
977 while (keyw_matched + *argc_val < parsed_cmd->cmd_keywords_nr && in cmd_keywords_check()
979 *(cmd_keyw_p + *argc_val) == *cmd_keyw_def_p) { in cmd_keywords_check()
990 if (keyw_matched && keyw_matched + *argc_val == in cmd_keywords_check()
993 *argc_val += keyw_matched; in cmd_keywords_check()
1007 int argc_val; in keywords_find() local
1023 argc_val = 1; in keywords_find()
1026 cmd_keywords_opt_check(parsed_cmd, &argc_val); in keywords_find()
1028 if (argc_val == parsed_cmd->cmd_keywords_nr) in keywords_find()
1035 cmd_keywords_check(parsed_cmd, &argc_val); in keywords_find()
1038 if (argc_val == parsed_cmd->cmd_keywords_nr) { in keywords_find()