Lines Matching refs:candidate
2690 int candidate;
2707 candidate = NO_JOB;
2710 candidate = job_last_stopped (js.j_current);
2712 if (candidate != NO_JOB)
2714 js.j_previous = candidate;
2726 candidate = RUNNING (js.j_current) ? job_last_running (js.j_current)
2729 if (candidate != NO_JOB)
2731 js.j_previous = candidate;
2750 int candidate;
2753 candidate = js.j_current;
2756 candidate = NO_JOB;
2760 candidate = js.j_previous;
2763 if (candidate == NO_JOB)
2764 candidate = job_last_stopped (js.j_jobslots);
2767 if (candidate == NO_JOB)
2768 candidate = job_last_running (js.j_jobslots);
2773 if (candidate != NO_JOB)
2774 set_current_job (candidate);