Searched refs:num_cmds (Results 1 – 1 of 1) sorted by relevance
703 int num_cmds; /* total number of commands in pipe */ member724 ((pi)->num_cmds == 0 IF_HAS_KEYWORDS( && (pi)->res_word == RES_NONE))3577 for (i = 0; i < pi->num_cmds; i++) { in free_pipe()3709 pi->num_cmds, in debug_print_tree()3715 while (prn < pi->num_cmds) { in debug_print_tree()3783 debug_printf_parse("done_command: skipping null cmd, num_cmds=%d\n", pi->num_cmds); in done_command()3786 pi->num_cmds++; in done_command()3787 debug_printf_parse("done_command: ++num_cmds=%d\n", pi->num_cmds); in done_command()3790 debug_printf_parse("done_command: initializing, num_cmds=%d\n", pi->num_cmds); in done_command()3795 pi->cmds = xrealloc(pi->cmds, sizeof(*pi->cmds) * (pi->num_cmds+1)); in done_command()[all …]