Home
last modified time | relevance | path

Searched refs:jmpval (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c576 int jmpval; in sh_eval() local
594 jmpval = sigsetjmp(buffp->buff,0); in sh_eval()
595 while(jmpval==0) in sh_eval()
638 if(jmpval>SH_JMPEVAL) in sh_eval()
639 siglongjmp(*shp->jmplist,jmpval); in sh_eval()
1311 int jmpval, save_prompt; in sh_exec() local
1336 jmpval = sigsetjmp(buffp->buff,1); in sh_exec()
1337 if(jmpval == 0) in sh_exec()
1427 if(jmpval<=SH_JMPCMD && (!nv_isattr(np,BLT_SPC) || command)) in sh_exec()
1428 jmpval=0; in sh_exec()
[all …]
H A Dfault.c449 int jmpval, savxit = shp->exitval; in sh_trap() local
463 jmpval = sigsetjmp(buff.buff,0); in sh_trap()
464 if(jmpval == 0) in sh_trap()
480 if(jmpval==SH_JMPSCRIPT) in sh_trap()
484 if(jmpval==SH_JMPEXIT) in sh_trap()
486 jmpval=SH_JMPTRAP; in sh_trap()
492 if(!shp->indebug && jmpval!=SH_JMPEXIT && jmpval!=SH_JMPFUN) in sh_trap()
502 …if(jmpval>SH_JMPTRAP && (((struct checkpt*)shp->jmpbuffer)->prev || ((struct checkpt*)shp->jmpbuff… in sh_trap()
503 siglongjmp(*shp->jmplist,jmpval); in sh_trap()
H A Dmain.c374 int states,jmpval; in exfile() local
424 jmpval = sigsetjmp(buff.buff,0); in exfile()
425 if(jmpval) in exfile()
428 sh_iorestore((void*)shp,0,jmpval); in exfile()
433 if(sh_isstate(SH_PROFILE) && (jmpval==SH_JMPFUN || jmpval==SH_JMPEXIT)) in exfile()
438 …if(!sh_isoption(SH_INTERACTIVE) || sh_isstate(SH_FORKED) || (jmpval > SH_JMPERREXIT && job_close(s… in exfile()
602 if(jmpval == SH_JMPSCRIPT) in exfile()
603 siglongjmp(*shp->jmplist,jmpval); in exfile()
604 else if(jmpval == SH_JMPEXIT) in exfile()
H A Dsubshell.c478 int jmpval,nsig=0,duped=0; in sh_subshell() local
593 jmpval = sigsetjmp(buff.buff,0); in sh_subshell()
594 if(jmpval==0) in sh_subshell()
634 if(comsub!=2 && jmpval!=SH_JMPSUB && shp->st.trapcom[0] && shp->subshell) in sh_subshell()
647 if(jmpval==SH_JMPSCRIPT) in sh_subshell()
648 siglongjmp(*shp->jmplist,jmpval); in sh_subshell()
796 sh_iorestore(shp,buff.topfd|IOSUBSHELL,jmpval); in sh_subshell()
833 if(jmpval==SH_JMPSUB && shp->lastsig) in sh_subshell()
835 if(jmpval && shp->toomany) in sh_subshell()
836 siglongjmp(*shp->jmplist,jmpval); in sh_subshell()
H A Dparse.c760 int nargs=0,size=0,jmpval, saveloop=loop_level; in funct() local
855 jmpval = sigsetjmp(buff.buff,0); in funct()
856 if(jmpval == 0) in funct()
918 if(jmpval) in funct()
925 siglongjmp(*shp->jmplist,jmpval); in funct()
H A Dio.c1780 void sh_iorestore(Shell_t *shp, int last, int jmpval) in sh_iorestore() argument
1789 if(jmpval==SH_JMPSCRIPT) in sh_iorestore()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c224 int jmpval=0; in sh_readline() local
337 jmpval = sigsetjmp(buff.buff,0); in sh_readline()
338 if(jmpval) in sh_readline()
531 jmpval = 1; in sh_readline()
755 jmpval = 1; in sh_readline()
795 jmpval = 1; in sh_readline()
813 if(jmpval > 1) in sh_readline()
814 siglongjmp(*shp->jmplist,jmpval); in sh_readline()
815 return(jmpval); in sh_readline()
H A Dmisc.c211 register int jmpval; in b_dot_cmd() local
284 jmpval = sigsetjmp(buff.buff,0); in b_dot_cmd()
285 if(jmpval == 0) in b_dot_cmd()
304 if((np || argv[1]) && jmpval!=SH_JMPSCRIPT) in b_dot_cmd()
317 if(jmpval && jmpval!=SH_JMPFUN) in b_dot_cmd()
318 siglongjmp(*shp->jmplist,jmpval); in b_dot_cmd()
H A Dgetopts.c64 int jmpval; in b_getopts() local
113 jmpval = sigsetjmp(buff.buff,0); in b_getopts()
114 if(jmpval) in b_getopts()
H A Dtypeset.c1161 int nflag=0,all=0,isfun,jmpval; in unall() local
1211 jmpval = sigsetjmp(buff.buff,0); in unall()
1213 if(jmpval==0) in unall()
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c542 int jmpval = 0; in main() local
825 if ((jmpval = setjmp(env)) == 0) { in main()
855 if (ferror(inp) || jmpval == 2) { in main()
865 if (ferror(outp) || jmpval == 3) { in main()