Lines Matching refs:n_commands
3034 int n_commands; /* # of command. */ in execute() local
3058 for (n_commands = 1, i = 0; argbuf.iterate (i, &arg); i++) in execute()
3060 n_commands++; in execute()
3063 commands = (struct command *) alloca (n_commands * sizeof (struct command)); in execute()
3081 for (n_commands = 1, i = 0; argbuf.iterate (i, &arg); i++) in execute()
3088 commands[n_commands].prog = argbuf[i + 1]; in execute()
3089 commands[n_commands].argv in execute()
3091 string = find_a_file (&exec_prefixes, commands[n_commands].prog, in execute()
3094 commands[n_commands].argv[0] = string; in execute()
3095 n_commands++; in execute()
3107 for (i = 0; i < n_commands; i++) in execute()
3147 if (i + 1 != n_commands) in execute()
3179 for (i = 0; i < n_commands; i++) in execute()
3209 for (i = 0; i < n_commands; i++) in execute()
3216 ((i + 1 == n_commands ? PEX_LAST : 0) in execute()
3242 statuses = (int *) alloca (n_commands * sizeof (int)); in execute()
3243 if (!pex_get_status (pex, n_commands, statuses)) in execute()
3248 times = (struct pex_time *) alloca (n_commands * sizeof (struct pex_time)); in execute()
3249 if (!pex_get_times (pex, n_commands, times)) in execute()
3255 for (i = 0; i < n_commands; ++i) in execute()