Lines Matching refs:rcode
544 int rcode = EXIT_SUCCESS; in builtin_eval() local
551 rcode = last_return_code; in builtin_eval()
553 return rcode; in builtin_eval()
1264 int i, rcode; local
1293 rcode = x->function(child);
1295 _exit(rcode);
1340 rcode = run_list_real(child->group);
1343 _exit(rcode);
1433 int i, rcode = 0; local
1437 rcode=WEXITSTATUS(status);
1439 return(rcode);
1575 int rcode; local
1580 rcode = run_list_real(child->group);
1584 int rcode;
1586 rcode = run_list_real(child->group);
1588 return rcode;
1645 int rcode; local
1659 rcode = x->function(child);
1664 return rcode;
1770 int rcode=0, flag_skip=1; local
1873 rcode = run_pipe_real(pi);
1874 debug_printf("run_pipe_real returned %d\n",rcode);
1876 if (rcode!=-1) {
1884 rcode = EXIT_SUCCESS;
1890 rcode = checkjobs(pi);
1895 rcode = checkjobs(pi);
1897 debug_printf("checkjobs returned %d\n",rcode);
1899 last_return_code=rcode;
1901 if (rcode < -1) {
1902 last_return_code = -rcode - 2;
1905 last_return_code=(rcode == 0) ? 0 : 1;
1911 next_if_code=rcode; /* can be overwritten a number of times */
1916 if ( (rcode==EXIT_SUCCESS && pi->followup==PIPE_OR) ||
1917 (rcode!=EXIT_SUCCESS && pi->followup==PIPE_AND) )
1923 return rcode;
2001 int rcode=0; /* if list has no members */ local
2006 rcode = free_pipe(pi, indent);
2012 return rcode;
2018 int rcode=0; local
2022 rcode = run_list_real(pi);
2030 return rcode;
2734 int rcode, endch=0; local
2747 rcode=parse_stream(dest,&sub,input,endch);
2751 return rcode;
3179 int rcode; local
3189 rcode = parse_stream(&temp, &ctx, inp,
3192 if (rcode == 1) flag_repeat = 0;
3194 if (rcode != 1 && ctx.old_flag != 0) {
3200 if (rcode != 1 && ctx.old_flag == 0) {
3236 } while (rcode != -1 && !(flag & FLAG_EXIT_FROM_LOOP) &&
3254 int rcode; local
3264 rcode = parse_stream_outer(&input, flag);
3266 return rcode;
3282 int rcode; local
3289 rcode = parse_stream_outer(&input, FLAG_PARSE_SEMICOLON);
3290 return rcode;
3661 int rcode = 0; local
3690 rcode ++;
3693 return rcode;