Lines Matching refs:argc

17 static char *expand_string_with_args(const char *in, int argc, char *argv[]);
109 char *(*func)(int argc, char *argv[]);
112 static char *do_error_if(int argc, char *argv[]) in do_error_if() argument
120 static char *do_filename(int argc, char *argv[]) in do_filename() argument
125 static char *do_info(int argc, char *argv[]) in do_info() argument
132 static char *do_lineno(int argc, char *argv[]) in do_lineno() argument
141 static char *do_shell(int argc, char *argv[]) in do_shell() argument
181 static char *do_warning_if(int argc, char *argv[]) in do_warning_if() argument
202 static char *function_expand(const char *name, int argc, char *argv[]) in function_expand() argument
212 if (argc < f->min_args) in function_expand()
216 if (argc > f->max_args) in function_expand()
220 return f->func(argc, argv); in function_expand()
251 static char *variable_expand(const char *name, int argc, char *argv[]) in variable_expand() argument
260 if (argc == 0 && v->exp_count) in variable_expand()
270 res = expand_string_with_args(v->value, argc, argv); in variable_expand()
346 static char *eval_clause(const char *str, size_t len, int argc, char *argv[]) in eval_clause() argument
363 if (!*endptr && n > 0 && n <= argc) { in eval_clause()
410 name = expand_string_with_args(new_argv[0], argc, argv); in eval_clause()
414 argc, argv); in eval_clause()
456 static char *expand_dollar_with_args(const char **str, int argc, char *argv[]) in expand_dollar_with_args() argument
490 return eval_clause(p, q - p, argc, argv); in expand_dollar_with_args()
499 int argc, char *argv[]) in __expand_string() argument
515 expansion = expand_dollar_with_args(&p, argc, argv); in __expand_string()
552 static char *expand_string_with_args(const char *in, int argc, char *argv[]) in expand_string_with_args() argument
554 return __expand_string(&in, is_end_of_str, argc, argv); in expand_string_with_args()