/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | return.sh | 34 trap "cd /; rm -rf $tmp" EXIT 43 trap "foo=EXIT;rm -f $file" EXIT 56 trap 'bar=EXIT' EXIT 66 [[ $foo == EXIT ]] || err_exit "foo "$@" : exit trap not set" 98 [[ $bar == EXIT ]] || err_exit "foo 2 0: bar exit trap not set" 105 [[ $bar == EXIT ]] || err_exit "foo 2 3: bar exit trap not set" 112 foo=EXIT 168 trap 'exit 0' EXIT [all...] |
H A D | functions.sh | 37 trap "cd /; rm -rf $tmp" EXIT 50 4) trap 'foo=36' EXIT 84 then err_exit EXIT trap in wrong scope 154 trap 'exit 0' EXIT 167 $SHELL -c "trap 'rm $tmp/script' EXIT" 1091 trap "> /dev/null;print TRAP A" EXIT 1097 trap "> /dev/null;print TRAP B" EXIT
|
H A D | select.sh | 32 trap "cd /; rm -rf $tmp" EXIT
|
H A D | builtins.sh | 32 trap "cd /; rm -rf $tmp" EXIT 190 exp=$'trap -- \'print TERM\' TERM\ntrap -- \'cd /; rm -rf '$tmp$'\' EXIT' 216 if [[ $( trap 'print done' EXIT) != done ]] 217 then err_exit 'trap on EXIT not working' 219 if [[ $( trap 'print done' EXIT; trap - EXIT) == done ]] 220 then err_exit 'trap on EXIT not being cleared'
|
H A D | exit.sh | 32 trap "cd /; rm -rf $tmp" EXIT
|
/titanic_52/usr/src/cmd/saf/ |
H A D | util.c | 116 error(E_BADFILE, EXIT); 140 error(E_BADFILE, EXIT); 164 error(E_BADFILE, EXIT); 198 error(E_BADFILE, EXIT); 213 error(E_BADFILE, EXIT); 221 error(E_MALLOC, EXIT); 235 error(E_MALLOC, EXIT); 311 error(E_BADSTATE, EXIT); in pstate()
|
H A D | sac.c | 165 error(E_CHDIR, EXIT); in initialize() 174 error(E_SYSCONF, EXIT); in initialize() 179 error(E_BADSYSCONF, EXIT); in initialize() 197 error(E_NOPIPE, EXIT); in initialize() 201 error(E_NOPIPE, EXIT); in initialize() 818 error(E_BADSTATE, EXIT); in pollpms() 969 error(E_BADREAD, EXIT); in readpipe() 986 error(E_BADREAD, EXIT); in readpipe() 1105 error(E_CMDPIPE, EXIT); in mk_cmd_pipe() 1108 error(E_PIPE, EXIT); in mk_cmd_pipe() [all...] |
H A D | readtab.c | 70 error(E_BADVER, EXIT); 72 error(E_SACOPEN, EXIT); 74 error(E_BADFILE, EXIT); 77 error(E_SACOPEN, EXIT); 128 error(E_MALLOC, EXIT);
|
H A D | msgs.h | 30 # define EXIT 1 /* exit after logging message */ macro
|
/titanic_52/usr/src/cmd/listen/ |
H A D | listen.c | 403 error(E_CREAT, EXIT | NOCORE | NO_MSG); in pid_open() 419 sys_error(E_PIDWRITE, EXIT); in pid_open() 421 error(E_PIDWRITE, EXIT); in pid_open() 439 sys_error(E_SYS_ERROR, EXIT | NOCORE); in init_files() 445 error(E_CREAT, EXIT | NOCORE | NO_MSG); in init_files() 451 error(E_CREAT, EXIT | NOCORE | NO_MSG); in init_files() 457 sys_error(E_SYS_ERROR, EXIT | NOCORE); in init_files() 491 error(E_MALLOC,NOCORE | EXIT); in net_open() 596 error(E_CANT_HAPPEN, EXIT); 664 tli_error(E_FD1OPEN, EXIT); [all...] |
H A D | lsdbf.c | 96 int exit_flag = EXIT | NOCORE; 107 error(E_BADVER, EXIT | NOCORE); 227 error(E_DBF_IO, EXIT | NOCORE | NO_MSG); 728 error(E_DBF_IO, EXIT | NOCORE | NO_MSG); in check_version() 731 error(E_DBF_ALLOC, EXIT | NOCORE); in check_version() 741 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version() 748 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version() 760 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version()
|
H A D | lserror.h | 50 #define EXIT 0x80 /* error routines will exit */ macro
|
/titanic_52/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh | 27 # This test checks whether the EXIT trap is called correctly in subshells 29 # This was reported as CR #6907460 ("EXIT trap handlers are sometimes executed twice"): 31 # During SST testing of snv_128(RE) we found out that ksh93 executes EXIT 41 # trap "print TRAP A >>log" EXIT 48 # trap "print TRAP B >>log" EXIT 60 # + trap 'print TRAP B >>log' EXIT 62 # + trap 'print TRAP A >>log' EXIT 154 trap "print TRAP A >>log" EXIT 161 trap "print TRAP B >>log" EXIT 192 trap "print TRAP A >>log" EXIT [all...] |
/titanic_52/usr/src/cmd/drd/ |
H A D | svc-drd | 35 EXIT=$SMF_EXIT_ERR_CONFIG 38 $DRD && EXIT=$SMF_EXIT_OK 43 exit $EXIT
|
/titanic_52/usr/src/uts/common/fs/sockfs/ |
H A D | nl7ctokgen | 33 EXIT=0 50 EXIT=1 82 exit $EXIT
|
/titanic_52/usr/src/cmd/ldmad/ |
H A D | ldoms-agents | 74 EXIT=$? 76 if [ "$EXIT" != 0 ]; then 77 exit "$EXIT"
|
/titanic_52/usr/src/cmd/sgs/lddstub/i386/ |
H A D | lddstub.s | 32 .set EXIT,1 define 38 movl $EXIT,%eax
|
/titanic_52/usr/src/cmd/sgs/lddstub/amd64/ |
H A D | lddstub.s | 34 .set EXIT,1 define 41 movl $EXIT, %eax
|
/titanic_52/usr/src/cmd/oawk/ |
H A D | awk.g.y | 43 %token IF ELSE WHILE FOR IN NEXT EXIT BREAK CONTINUE 321 | EXIT st { $$ = stat1(EXIT, 0); } 322 | EXIT expr st { $$ = stat1(EXIT, $2); }
|
/titanic_52/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | regress.sh | 103 [+EXIT \b\astatus\a?The command exit status is expected to match 249 EXIT=0 979 EXIT='*' 982 EXIT=0 985 EXIT='*' 995 function EXIT # status function 997 EXIT=$1 1127 if [[ ! $failed && $STATUS != $EXIT ]] 1128 then failed="exit code $EXIT expected -- got $STATUS" 1422 trap 'code=$?; CLEANUP $code' EXIT [all...] |
/titanic_52/usr/src/cmd/awk/ |
H A D | awk.g.y | 66 %token <i> ARG BLTIN BREAK CLOSE CONTINUE DELETE DO EXIT FOR FUNC 92 %left ARG BLTIN BREAK CALL CLOSE CONTINUE DELETE DO EXIT FOR FIELD FUNC 320 | EXIT pattern st { $$ = stat1(EXIT, $2); } 321 | EXIT st { $$ = stat1(EXIT, NIL); }
|
/titanic_52/usr/src/boot/sys/boot/common/ |
H A D | newvers.sh | 35 trap "rm -f $tempfile" EXIT INT TERM
|
/titanic_52/usr/src/lib/libc/sparc/crt/ |
H A D | _rtboot.s | 80 .local f.CLOSE, f.EXIT, f.MUNMAP 177 ba f.EXIT ! leave 218 f.EXIT:
|
/titanic_52/usr/src/cmd/tail/tests/ |
H A D | sun_solaris_tail.sh | 328 trap "rm -f tailtestfifo tailout" EXIT 359 trap "rm -f tailtestfifo tailout" EXIT
|
/titanic_52/usr/src/cmd/bart/ |
H A D | create.c | 230 int ret_status = EXIT; in create_manifest_rule() 283 int ret_status = EXIT; in create_manifest_filelist() 423 err_code = EXIT; in eval_file()
|