Home
last modified time | relevance | path

Searched refs:EXIT (Results 1 – 25 of 145) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dreturn.sh34 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
176 trap 'exit 8' EXIT
H A Dfunctions.sh37 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
1091 trap "> /dev/null;print TRAP A" EXIT
1097 trap "> /dev/null;print TRAP B" EXIT
/illumos-gate/usr/src/cmd/saf/
H A Dutil.c113 error(E_BADFILE, EXIT);
137 error(E_BADFILE, EXIT);
161 error(E_BADFILE, EXIT);
195 error(E_BADFILE, EXIT);
210 error(E_BADFILE, EXIT);
218 error(E_MALLOC, EXIT);
232 error(E_MALLOC, EXIT);
308 error(E_BADSTATE, EXIT); in pstate()
H A Dsac.c163 error(E_CHDIR, EXIT); in initialize()
172 error(E_SYSCONF, EXIT); in initialize()
177 error(E_BADSYSCONF, EXIT); in initialize()
195 error(E_NOPIPE, EXIT); in initialize()
199 error(E_NOPIPE, EXIT); in initialize()
816 error(E_BADSTATE, EXIT); in pollpms()
967 error(E_BADREAD, EXIT); in readpipe()
983 error(E_BADREAD, EXIT); in readpipe()
1100 error(E_CMDPIPE, EXIT); in mk_cmd_pipe()
1103 error(E_PIPE, EXIT); in mk_cmd_pipe()
[all …]
H A Dreadtab.c68 error(E_BADVER, EXIT);
70 error(E_SACOPEN, EXIT);
72 error(E_BADFILE, EXIT);
75 error(E_SACOPEN, EXIT);
126 error(E_MALLOC, EXIT);
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c403 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 Dlsdbf.c94 int exit_flag = EXIT | NOCORE;
105 error(E_BADVER, EXIT | NOCORE);
225 error(E_DBF_IO, EXIT | NOCORE | NO_MSG);
726 error(E_DBF_IO, EXIT | NOCORE | NO_MSG); in check_version()
729 error(E_DBF_ALLOC, EXIT | NOCORE); in check_version()
739 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version()
746 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version()
758 error(E_DBF_CORRUPT, EXIT | NOCORE); in check_version()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh154 trap "print TRAP A >>log" EXIT
161 trap "print TRAP B >>log" EXIT
192 trap "print TRAP A >>log" EXIT
199 trap "print TRAP B >>log" EXIT
/illumos-gate/usr/src/cmd/drd/
H A Dsvc-drd35 EXIT=$SMF_EXIT_ERR_CONFIG
38 $DRD && EXIT=$SMF_EXIT_OK
43 exit $EXIT
/illumos-gate/usr/src/cmd/ldmad/
H A Dldoms-agents74 EXIT=$?
76 if [ "$EXIT" != 0 ]; then
77 exit "$EXIT"
/illumos-gate/usr/src/test/util-tests/tests/awk/
H A Druntests.sh107 echo EXIT CODE: $? >> $WORKDIR/test.temp.out
145 echo EXIT CODE: $? >> $WORKDIR/test.temp.out
148 echo EXIT CODE: $? >> $WORKDIR/test.temp.out
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.g.y43 %token IF ELSE WHILE FOR IN NEXT EXIT BREAK CONTINUE
321 | EXIT st { $$ = stat1(EXIT, 0); }
322 | EXIT expr st { $$ = stat1(EXIT, $2); }
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dregress.sh249 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
/illumos-gate/usr/src/cmd/awk/
H A Dawk.g.y88 %token <i> ARG BLTIN BREAK CLOSE CONTINUE DELETE DO EXIT FOR FUNC
115 %left ARG BLTIN BREAK CALL CLOSE CONTINUE DELETE DO EXIT FOR FUNC
356 | EXIT pattern st { $$ = stat1(EXIT, $2); }
357 | EXIT st { $$ = stat1(EXIT, NIL); }
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dexitval3.ok1 EXIT CODE: 42
/illumos-gate/usr/src/test/libc-tests/tests/err/data/
H A DE.2.7.85 ::EXIT::
H A DE.5.13.145 ::EXIT::
H A DW.2.7.85 ::EXIT::
H A DW.5.13.145 ::EXIT::
H A DE.0.3.45 ::EXIT::
H A DE.1.5.65 ::EXIT::
H A DE.3.9.105 ::EXIT::
H A DE.4.11.125 ::EXIT::
H A DW.0.3.45 ::EXIT::
H A DW.1.5.65 ::EXIT::

123456