Home
last modified time | relevance | path

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

1234

/titanic_52/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
[all...]
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
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 Dselect.sh32 trap "cd /; rm -rf $tmp" EXIT
H A Dbuiltins.sh32 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 Dexit.sh32 trap "cd /; rm -rf $tmp" EXIT
/titanic_52/usr/src/cmd/saf/
H A Dutil.c116 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 Dsac.c165 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 Dreadtab.c70 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 Dmsgs.h30 # define EXIT 1 /* exit after logging message */ macro
/titanic_52/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.c96 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 Dlserror.h50 #define EXIT 0x80 /* error routines will exit */ macro
/titanic_52/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh27 # 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 Dsvc-drd35 EXIT=$SMF_EXIT_ERR_CONFIG
38 $DRD && EXIT=$SMF_EXIT_OK
43 exit $EXIT
/titanic_52/usr/src/uts/common/fs/sockfs/
H A Dnl7ctokgen33 EXIT=0
50 EXIT=1
82 exit $EXIT
/titanic_52/usr/src/cmd/ldmad/
H A Dldoms-agents74 EXIT=$?
76 if [ "$EXIT" != 0 ]; then
77 exit "$EXIT"
/titanic_52/usr/src/cmd/sgs/lddstub/i386/
H A Dlddstub.s32 .set EXIT,1 define
38 movl $EXIT,%eax
/titanic_52/usr/src/cmd/sgs/lddstub/amd64/
H A Dlddstub.s34 .set EXIT,1 define
41 movl $EXIT, %eax
/titanic_52/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); }
/titanic_52/usr/src/contrib/ast/src/cmd/INIT/
H A Dregress.sh103 [+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 Dawk.g.y66 %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 Dnewvers.sh35 trap "rm -f $tempfile" EXIT INT TERM
/titanic_52/usr/src/lib/libc/sparc/crt/
H A D_rtboot.s80 .local f.CLOSE, f.EXIT, f.MUNMAP
177 ba f.EXIT ! leave
218 f.EXIT:
/titanic_52/usr/src/cmd/tail/tests/
H A Dsun_solaris_tail.sh328 trap "rm -f tailtestfifo tailout" EXIT
359 trap "rm -f tailtestfifo tailout" EXIT
/titanic_52/usr/src/cmd/bart/
H A Dcreate.c230 int ret_status = EXIT; in create_manifest_rule()
283 int ret_status = EXIT; in create_manifest_filelist()
423 err_code = EXIT; in eval_file()

1234