Lines Matching refs:args
112 args_t *args; /* arguments for the call */
213 call : CALL result fn_name args eol {
218 call2 : CALL2 result result fn_name args eol {
223 call3 : CALL3 result result result fn_name args eol {
228 call4 : CALL4 result result result result fn_name args eol {
419 args : /* empty */
420 | LHB expr RHB { assign_arg(arg_static, $<string>2); } args
421 | numeric { assign_arg(arg_static, $1); } args
422 | STRING { assign_arg(arg_static, $1); } args
423 | BYTE { assign_arg(arg_byte, $1); } args
424 | PATH { assign_arg(arg_static, $1); } args
425 | FILENAME { assign_arg(arg_static, $1); } args
426 | VARNAME { assign_arg(arg_static, $1); } args
427 | VARIABLE { assign_arg(arg_var, $1); } args
428 | NULL_RET { assign_arg(arg_null, $1); } args
621 temp = realloc(command.args, sizeof(*temp) * (command.nargs + 1));
623 err(1, "Failed to reallocate args");
624 command.args = temp;
625 memcpy(&command.args[command.nargs], &cur, sizeof(args_t));
1033 if (command.args[i].arg_type == arg_var)
1034 write_cmd_pipe_args(command.args[i].arg_type,
1035 &vars[command.args[i].var_index]);
1037 write_cmd_pipe_args(command.args[i].arg_type,
1038 &command.args[i]);
1064 if (command.args[i].arg_type != arg_var)
1065 free(command.args[i].arg_string);
1067 free(command.args);
1083 command.args = NULL;
1374 * If cmd is NULL then feed a -1 down the pipe to say the end of the args.