Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 25 of 59) sorted by relevance

123

/openbsd-src/gnu/usr.bin/perl/os2/
H A Ddl_os2.c10 static ULONG retcode; variable
97 retcode = rc; in dlopen()
103 retcode = rc; in dlopen()
109 retcode = ERROR_MOD_NOT_FOUND; in dlopen()
116 retcode = rc; in dlopen()
159 retcode = rc; in dlsym()
170 if (retcode == 0) in dlerror()
172 if (retcode == ERROR_WRONG_PROCTYPE) in dlerror()
175 err = os2error(retcode); in dlerror()
182 retcode = 0; in dlerror()
[all …]
/openbsd-src/sys/dev/pci/drm/apple/
H A Ddptxep.c26 __le32 retcode; member
33 __le32 retcode; member
40 __le32 retcode; member
47 __le32 retcode; member
54 __le32 retcode; member
61 __le32 retcode; member
168 reply->retcode = cpu_to_le32(0); in dptxport_call_get_max_drive_settings()
192 if (reply->retcode != 4) in dptxport_call_get_drive_settings()
195 reply->retcode); in dptxport_call_get_drive_settings()
197 reply->retcode = 4; /* Should already be 4? */ in dptxport_call_get_drive_settings()
[all …]
H A Dafk.h31 u32 retcode; member
106 __le32 retcode; member
188 size_t output_len, u32 *retcode);
H A Dafk.c364 service->cmds[idx].retcode = le32_to_cpu(cmd->retcode); in afk_recv_handle_reply()
840 size_t output_len, u32 *retcode) in afk_send_command() argument
865 cmd.retcode = cpu_to_le32(0); in afk_send_command()
922 if (retcode) in afk_send_command()
923 *retcode = service->cmds[idx].retcode; in afk_send_command()
947 u32 retcode; in afk_service_call() local
965 bfr, bfr_len, &retcode); in afk_service_call()
968 if (retcode) { in afk_service_call()
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_agpsupport.c77 int retcode; in drm_legacy_agp_acquire() local
82 retcode = agp_acquire(dev->agp->agpdev); in drm_legacy_agp_acquire()
83 if (retcode) in drm_legacy_agp_acquire()
84 return (retcode); in drm_legacy_agp_acquire()
105 int retcode = 0; in drm_legacy_agp_enable() local
111 if ((retcode = agp_enable(dev->agp->agpdev, mode.mode)) == 0) in drm_legacy_agp_enable()
113 return (retcode); in drm_legacy_agp_enable()
H A Ddrm_ioctl.c400 int if_version, retcode = 0; local
406 retcode = -EINVAL;
417 retcode = drm_set_busid(dev, file_priv);
418 if (retcode)
427 retcode = -EINVAL;
439 return retcode;
848 int retcode; local
856 retcode = drm_ioctl_permit(flags, file_priv);
857 if (unlikely(retcode))
858 return retcode;
898 int retcode = -EINVAL; global() local
1025 int retcode = -EINVAL; global() local
[all...]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Df-typeprint.c162 int retcode; in f_type_print_varspec_suffix() local
183 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f_type_print_varspec_suffix()
187 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
206 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_varspec_suffix()
208 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
289 int retcode; in f_type_print_base() local
385 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_base()
387 if (retcode == BOUND_FETCH_ERROR) in f_type_print_base()
H A Df-valprint.c198 int retcode; in f77_get_dynamic_length_of_aggregate() local
214 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f77_get_dynamic_length_of_aggregate()
215 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
218 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f77_get_dynamic_length_of_aggregate()
219 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
237 int upper, lower, retcode; in f77_create_arrayprint_offset_tbl() local
246 retcode = f77_get_dynamic_upperbound (tmp_type, &upper); in f77_create_arrayprint_offset_tbl()
247 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
250 retcode = f77_get_dynamic_lowerbound (tmp_type, &lower); in f77_create_arrayprint_offset_tbl()
251 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
H A Dremote-fileio.c487 remote_fileio_reply (int retcode, int error) in remote_fileio_reply() argument
493 if (retcode < 0) in remote_fileio_reply()
496 retcode = -retcode; in remote_fileio_reply()
498 sprintf (buf + strlen (buf), "%x", retcode); in remote_fileio_reply()
529 remote_fileio_return_errno (int retcode) in remote_fileio_return_errno() argument
531 remote_fileio_reply (retcode, in remote_fileio_return_errno()
532 retcode < 0 ? remote_fileio_errno_to_target (errno) : 0); in remote_fileio_return_errno()
536 remote_fileio_return_success (int retcode) in remote_fileio_return_success() argument
538 remote_fileio_reply (retcode, 0); in remote_fileio_return_success()
H A Dmipsnbsd-tdep.c199 const char *retcode = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG in mipsnbsd_sigtramp_offset() local
210 if (memcmp (w, retcode + (i * 4), 4) == 0) in mipsnbsd_sigtramp_offset()
222 if (memcmp (ret, retcode, RETCODE_SIZE) == 0) in mipsnbsd_sigtramp_offset()
/openbsd-src/usr.bin/tmux/
H A Dcmd-run-shell.c232 int retcode, status; in cmd_run_shell_callback() local
255 if ((retcode = WEXITSTATUS(status)) != 0) in cmd_run_shell_callback()
256 xasprintf(&msg, "'%s' returned %d", cmd, retcode); in cmd_run_shell_callback()
258 retcode = WTERMSIG(status); in cmd_run_shell_callback()
259 xasprintf(&msg, "'%s' terminated by signal %d", cmd, retcode); in cmd_run_shell_callback()
260 retcode += 128; in cmd_run_shell_callback()
262 retcode = 0; in cmd_run_shell_callback()
270 cmdq_get_client(item)->retval = retcode; in cmd_run_shell_callback()
H A Dcmd-confirm-before.c126 int retcode = 1; in cmd_confirm_before_callback() local
135 retcode = 0; in cmd_confirm_before_callback()
150 cmdq_get_client(item)->retval = retcode; in cmd_confirm_before_callback()
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dcommit.c868 int retcode; local
878 retcode = vers->ts_conflict[0] != '=';
881 retcode = strcmp (vers->ts_conflict, filestamp);
886 retcode = strcmp (vers->ts_conflict, filestamp);
889 if (retcode == 0)
1626 int retcode; local
1639 retcode = 0;
1648 if ((retcode = RCS_deltag (finfo->rcs, tag)) != 0)
1651 error (0, retcode == -1 ? errno : 0,
1718 retcode = RCS_checkout (finfo->rcs, finfo->file, rev ? corev : NULL,
[all …]
H A Dtag.c638 int retcode = 0; local
694 retcode = RCS_settag(rcsfile, symtag, numtag);
695 if (retcode == 0)
745 retcode = RCS_settag(rcsfile, symtag, rev);
746 if (retcode == 0)
750 if (retcode != 0)
752 error (1, retcode == -1 ? errno : 0,
782 int retcode; local
799 if ((retcode = RCS_deltag(rcsfile, symtag)) != 0)
802 error (0, retcode == -1 ? errno : 0,
[all …]
H A Dno_diff.c27 int retcode = 0; local
52 retcode = RCS_cmp_file (vers->srcfile, vers->vn_user, options,
54 if (retcode == 0)
H A Dupdate.c696 int retcode; local
706 retcode = vers->ts_conflict[0] != '=';
710 retcode = strcmp (vers->ts_conflict, filestamp);
715 retcode = strcmp (vers->ts_conflict, filestamp);
719 if (retcode)
723 retcode = !file_has_markers (finfo);
726 if (!retcode)
1618 int retcode = 0; local
1709 retcode = RCS_checkout (vers_ts->srcfile, (char *) NULL,
1717 if (retcode != 0 || ! data.final_nl)
[all …]
H A Ddiff.c664 int retcode; local
667 retcode = RCS_checkout (vers->srcfile, (char *) NULL,
674 if (retcode != 0)
685 int retcode; local
688 retcode = RCS_checkout (vers->srcfile, (char *) NULL,
693 if (retcode != 0)
828 int retcode; local
989 retcode = RCS_cmp_file (vers->srcfile, use_rev1,
993 return retcode == 0 ? DIFF_SAME : DIFF_DIFFERENT;
H A Dmkmodules.c567 int retcode = 0; local
581 retcode = RCS_checkout (rcsnode, NULL, NULL, NULL, NULL, temp,
583 if (retcode != 0)
592 return (retcode);
913 int retcode; local
930 retcode = add_rcs_file ("initial checkin", info_v,
937 if (retcode != 0)
H A Dlogmsg.c184 int retcode = 0; local
287 if ((retcode = run_exec (RUN_TTY, RUN_TTY, RUN_TTY,
289 error (editinfo_editor ? 1 : 0, retcode == -1 ? errno : 0,
398 int retcode = 0; local
445 if ((retcode = run_exec (RUN_TTY, RUN_TTY, RUN_TTY,
453 error (1, retcode == -1 ? errno : 0,
/openbsd-src/sbin/fsck/
H A Dpreen.c81 int ret, retcode, passno, sumstatus, status, maxp; in checkfstab() local
162 retcode = WEXITSTATUS(status); in checkfstab()
164 retcode = 0; in checkfstab()
178 retcode = 8; in checkfstab()
183 if (retcode != 0) { in checkfstab()
185 sumstatus |= retcode; in checkfstab()
/openbsd-src/gnu/llvm/clang/www/demo/
H A Dindex.cgi264 my $retcode = 0;
269 $retcode = system($commandline);
279 if ( WIFEXITED($retcode) && WEXITSTATUS($retcode) != 0 ) {
286 if ( WIFSIGNALED($retcode) != 0 ) {
287 my $sig = WTERMSIG($retcode);
/openbsd-src/gnu/usr.bin/binutils/gdb/nlm/
H A Dppc.c198 int retcode; in clear_step_traps() local
202 retcode = 1; in clear_step_traps()
204 retcode = 0; in clear_step_traps()
218 return retcode; in clear_step_traps()
/openbsd-src/gnu/llvm/lldb/examples/customization/pwd-cd-and-system/
H A Dutils.py50 retcode = process.poll()
58 print("retcode:", retcode)
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Ddllwrap.c356 int pid, wait_status, retcode; in run() local
416 retcode = 0; in run()
421 retcode = 1; in run()
426 retcode = 1; in run()
433 retcode = 1; in run()
437 retcode = 1; in run()
439 return retcode; in run()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Ddllwrap.c348 int pid, wait_status, retcode; in run() local
408 retcode = 0; in run()
413 retcode = 1; in run()
418 retcode = 1; in run()
425 retcode = 1; in run()
429 retcode = 1; in run()
431 return retcode; in run()

123