Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 25 of 45) sorted by relevance

12

/titanic_50/usr/src/cmd/lp/model/
H A Dlp.set.c48 int exit_code; in main() local
69 exit_code = 0; in main()
79 exit_code = 1; in main()
93 exit_code = 1; in main()
107 exit_code = 1; in main()
121 exit_code = 1; in main()
135 exit_code = 1; in main()
143 return (exit_code); in main()
H A Dnetstandard55 exit_code=0
482 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
484 "banner page exit code : ${exit_code}"
513 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
515 "filter exit_code : ${exit_code}"
517 if [ -n "${exit_code}" ]
519 if [ "${exit_code}" -eq 0 ]
548 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
550 "netpr exit_code : ${exit_code}"
557 if [ -n "${exit_code}" ]
[all …]
H A Dtsol_netstandard56 exit_code=0
160 if [ -f "${LPTMPDIR}/banner.exit_code.$$" ]
162 /bin/rm ${LPTMPDIR}/banner.exit_code.$$
512 BANNER_EXIT_CODE=${LPTMPDIR}/banner.exit_code.$$
573 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
575 "banner page exit code : ${exit_code}"
615 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
618 "filter exit_code : ${exit_code}"
620 if [ -n "${exit_code}" ]
622 if [ "${exit_code}" -eq 0 ]
[all …]
H A Dtsol_netstandard_foomatic57 exit_code=0
161 if [ -f "${LPTMPDIR}/banner.exit_code.$$" ]
163 /bin/rm ${LPTMPDIR}/banner.exit_code.$$
537 BANNER_EXIT_CODE=${LPTMPDIR}/banner.exit_code.$$
600 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
603 "banner page exit code : ${exit_code}"
644 exit_code=`cat ${LPTMPDIR}/pr_eexit_code.$$`
647 "filter exit_code : ${exit_code}"
649 if [ -n "${exit_code}" ]
651 if [ "${exit_code}" -eq 0 ]
[all …]
/titanic_50/usr/src/cmd/print/bsd-sysv-commands/
H A Dcancel.c70 int i, exit_code; in cancel_jobs_for_user() local
96 exit_code = berkeley_cancel_request(svc, stdout, printer, 1, in cancel_jobs_for_user()
100 if (exit_code != 0) in cancel_jobs_for_user()
104 return (exit_code); in cancel_jobs_for_user()
110 int exit_code = 0; in main() local
180 exit_code = 1; in main()
187 exit_code = 1; in main()
192 exit_code = 1; in main()
209 exit_code = 1; in main()
221 exit_code = 1; in main()
[all …]
H A Dlpmove.c73 int exit_code = 0; in main() local
115 exit_code = 1; in main()
157 exit_code = 1; in main()
164 exit_code = 1; in main()
171 exit_code = 1; in main()
185 exit_code = 1; in main()
193 exit_code = 1; in main()
209 return (exit_code); in main()
H A Dlpstat.c1243 int exit_code = 0; in main() local
1337 exit_code += printer_query(optarg, report_accepting, in main()
1341 exit_code += printer_query(optarg, report_class, in main()
1345 exit_code += printer_query(optarg, report_printer, in main()
1349 exit_code += lpstat_default_printer(encryption); in main()
1352 exit_code += lpstat_service_status(encryption); in main()
1357 exit_code += job_query(NULL, report_job, in main()
1365 exit_code += printer_query(optarg, report_device, in main()
1370 exit_code += job_query(optarg, report_job, in main()
1374 exit_code += service_query(optarg, report_form, in main()
[all …]
/titanic_50/usr/src/cmd/print/scripts/
H A Dlpadmin44 exit_code=0
151 exit_code=$?
153 if [[ ${exit_code} -eq 0 ]] ; then
155 exit_code=$?
157 exit_code=0
161 exit_code=$?
163 if [[ $exit_code -eq 0 ]] ; then
165 exit_code=$?
174 exit ${exit_code}
339 exit_code=$?
[all …]
/titanic_50/usr/src/cmd/luxadm/
H A Dadm.c450 int exit_code = 0; /* exit code for program */ in main() local
640 exit_code = fchba_display_config(&argv[path_index], in main()
643 exit_code = adm_display_config(&argv[path_index]); in main()
678 exit_code = fchba_inquiry(&argv[path_index]); in main()
680 exit_code = adm_inquiry(&argv[path_index]); in main()
710 exit_code = fchba_non_encl_probe(); in main()
750 exit_code = fcal_update(Options & PVERBOSE, file_name); in main()
754 exit_code = setboot(Options & OPTION_Y, in main()
819 exit_code = adm_reserve(argv[path_index]); in main()
847 exit_code = adm_release(argv[path_index]); in main()
[all …]
/titanic_50/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4u.c62 int exit_code = 0; /* init to all OK */ in display() local
72 exit_code = error_check(tree, kstats); in display()
78 if (!logging || exit_code) { in display()
120 display_diaginfo((syserrlog || (logging && exit_code)), in display()
124 return (exit_code); in display()
H A Ddisplay_sun4v.c124 int exit_code = 0; in sun4v_display() local
188 exit_code = sun4v_disp_env_status(); in sun4v_display()
190 return (exit_code); in sun4v_display()
1049 int exit_code = 0; in sun4v_disp_env_status() local
1062 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
1067 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
1072 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
1077 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
1082 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
1087 exit_code |= (!all_status_ok); in sun4v_disp_env_status()
[all …]
/titanic_50/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c105 ld_atexit(int exit_code) in ld_atexit() argument
112 if (!depend_file || exit_code) in ld_atexit()
143 ld_atexit64(int exit_code) in ld_atexit64() argument
145 ld_atexit(exit_code); in ld_atexit64()
/titanic_50/usr/src/cmd/make/lib/makestate/
H A Dld_file.c158 ld_atexit(int exit_code) in ld_atexit() argument
160 if (exit_code) in ld_atexit()
181 ld_atexit64(int exit_code) in ld_atexit64() argument
183 if (exit_code) in ld_atexit64()
/titanic_50/usr/src/cmd/print/lpget/
H A Dlpget.c122 int exit_code = 0; in main() local
163 exit_code += display_value(*printers, in main()
168 exit_code = display_value(ns_printer_get_name(name, ns), in main()
173 return (exit_code); in main()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c428 int exit_code = 0; /* init to all OK */ in error_check() local
437 exit_code = 1; in error_check()
441 return (exit_code); in error_check()
455 int exit_code; in disp_fail_parts() local
460 exit_code = 0; in disp_fail_parts()
468 exit_code = 1; in disp_fail_parts()
470 return (exit_code); in disp_fail_parts()
1253 int exit_code = 0; in disp_err_log() local
1269 return (exit_code); in disp_err_log()
1333 exit_code = 1; in disp_err_log()
[all …]
/titanic_50/usr/src/tools/scripts/
H A Donu.sh.in70 exit_code=$?
71 [ $exit_code -eq 0 ] && return
73 [ $1 = "pkg" -a $exit_code -eq 4 ] && return
74 exit_error "$*" failed: exit code $exit_code
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c113 int exit_code = 0; /* init to all OK */ in error_check() local
125 exit_code = 1; in error_check()
129 return (exit_code); in error_check()
153 int exit_code; in disp_fail_parts() local
158 exit_code = 0; in disp_fail_parts()
166 exit_code = 1; in disp_fail_parts()
168 return (exit_code); in disp_fail_parts()
/titanic_50/usr/src/cmd/lp/filter/
H A Dslow.filter106 exit_code=$?
107 while [ 127 -lt "${exit_code}" ]
109 exit_code=`expr "${exit_code}" - 128`
111 exit ${exit_code}
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c95 int exit_code = 0; /* init to all OK */ in error_check() local
106 exit_code = 1; in error_check()
110 return (exit_code); in error_check()
236 int exit_code; in disp_fail_parts() local
244 exit_code = 0; in disp_fail_parts()
252 exit_code = 1; in disp_fail_parts()
254 return (exit_code); in disp_fail_parts()
1001 int exit_code = 0; in disp_envc_status() local
1030 exit_code = 1; in disp_envc_status()
1033 exit_code = 1; in disp_envc_status()
[all …]
/titanic_50/usr/src/cmd/svc/startd/
H A Dmethod.c656 method_run(restarter_inst_t **instp, int type, int *exit_code) in method_run() argument
686 *exit_code = 0; in method_run()
1020 *exit_code = WEXITSTATUS(ret_status); in method_run()
1021 if (*exit_code != 0) { in method_run()
1028 "%d.", mname, *exit_code); in method_run()
1030 if (*exit_code != 0) in method_run()
1078 if ((transient || *exit_code != 0 || result != 0) && in method_run()
1114 int r, exit_code; in method_thread() local
1170 r = method_run(&inst, info->sf_method_type, &exit_code); in method_thread()
1172 if (r == 0 && exit_code == 0) { in method_thread()
[all …]
/titanic_50/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c685 int fd, c, timeout = 0, exit_code = 0; in main() local
795 exit_code = errno; in main()
799 exit_code = errno; in main()
803 exit_code = errno; in main()
806 exit_code = EINVAL; in main()
811 if ((exit_code == 0) && (sendfd(1, fd) < 0)) { in main()
814 exit_code = errno; in main()
821 syslog(LOG_DEBUG, "exit code: %d", exit_code); in main()
822 return (exit_code); in main()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c98 int exit_code = 0; /* init to all OK */ in error_check() local
109 exit_code = 1; in error_check()
113 return (exit_code); in error_check()
239 int exit_code; in disp_fail_parts() local
247 exit_code = 0; in disp_fail_parts()
255 exit_code = 1; in disp_fail_parts()
257 return (exit_code); in disp_fail_parts()
953 int exit_code = 0; in disp_envctrl_status() local
1006 exit_code = 1; in disp_envctrl_status()
1017 exit_code = 1; in disp_envctrl_status()
[all …]
/titanic_50/usr/src/cmd/logadm/
H A Dlogadm-upgrade45 exit_code=$1
49 exit ${exit_code}
/titanic_50/usr/src/cmd/hal/addons/network-devices/
H A Dsvc-network-discovery115 exit_code=$?
117 exit $exit_code
/titanic_50/usr/src/cmd/allocate/
H A Ddminfo.c80 dmapi_err(int exit_code, char *err_msg) in dmapi_err() argument
85 if (exit_code == EINVOKE) { in dmapi_err()
104 exit(exit_code); in dmapi_err()

12