Searched refs:rc (Results 151 - 175 of 611) sorted by relevance

1234567891011>>

/openbsd-current/sys/dev/wscons/
H A Dwsemul_vt100.c328 int rc; local
332 rc = wsemul_vt100_scrollup(edp, 1);
338 rc = 0;
341 return rc;
355 int rc = 0; local
359 rc = wsemul_vt100_nextline(edp);
360 if (rc != 0)
361 return rc;
387 WSEMULOP(rc, edp, &edp->abortstate, copycols,
389 if (rc !
426 int rc = 0; local
509 int rc = 0; local
974 int rc = 0; local
1056 int rc = 0; local
1111 int rc = 0; local
[all...]
/openbsd-current/sys/lib/libsa/
H A Dcd9660.c133 int rc; local
141 rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno),
143 if (rc)
146 rc = EIO;
149 rc = EINVAL;
170 rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno),
172 if (rc)
175 rc = EIO;
184 rc = ENOENT;
219 rc
287 int rc = 0; local
[all...]
/openbsd-current/regress/usr.sbin/syslogd/
H A Dsyslogd.pl56 my($s, $c, $r, $rc, @m);
88 $rc = RSyslogd->new(
95 connectport => $rc && $rc->{listenport},
101 ($rc, $c) = ($c, $rc) if $rc; # chain client -> rsyslogd -> syslogd
126 $rc->run->up if $args{rsyslogd}{connect};
128 $rc->down if $args{rsyslogd}{connect};
/openbsd-current/lib/libcurses/tinfo/
H A Dlib_data.c368 int rc = 0; local
370 rc = pthread_mutex_lock(obj);
371 return rc;
377 int rc = 0; local
379 rc = pthread_mutex_trylock(obj);
380 return rc;
386 int rc = 0; local
388 rc = pthread_mutex_unlock(obj);
389 return rc;
H A Dlib_cur_term.c135 int rc = ERR; local
184 rc = OK;
187 returnCode(rc);
194 int rc; local
197 rc = NCURSES_SP_NAME(del_curterm) (CURRENT_SCREEN, termp);
200 return (rc);
/openbsd-current/usr.sbin/acme-client/
H A Dutil.c186 int er, rc = -1; local
206 rc = 0;
212 rc = 1;
214 return rc;
257 * Returns non-zero on success and zero on failure and sets the "rc"
261 checkexit_ext(int *rc, pid_t pid, enum comp comp) argument
266 *rc = EXIT_FAILURE;
284 if ((*rc = WEXITSTATUS(c)) != EXIT_SUCCESS && *rc != 2) {
285 dodbg("bad exit: %s(%u): %d", comps[comp], pid, *rc);
[all...]
H A Dnetproc.c361 int rc = 0; local
385 rc = 1;
387 if (rc == 0 || verbose > 1)
390 return rc;
401 int rc = 0; local
414 rc = donewacc(c, p, contact);
416 rc = 1;
419 rc = 0;
421 if (rc == 0 || verbose > 1)
424 return rc;
435 int rc = 0; local
469 int rc = 0; local
498 int rc = 0; local
527 int rc = 0; local
551 int rc = 0; local
579 int rc = 0; local
603 int rc = 0; local
634 int rc = 0; local
664 int rc = 0; local
[all...]
/openbsd-current/lib/libelf/
H A Delf_update.c110 _libelf_compute_section_extents(Elf *e, Elf_Scn *s, off_t rc) argument
316 sh_offset = roundup((uint64_t) rc, sh_align);
448 _libelf_resync_sections(Elf *e, off_t rc, struct _Elf_Extent_List *extents) argument
469 if (_libelf_compute_section_extents(e, s, rc) == 0)
479 if ((size_t) rc < s->s_offset + s->s_size)
480 rc = (off_t) (s->s_offset + s->s_size);
483 return (rc);
515 off_t rc, phoff, shoff; local
520 rc = 0;
601 rc
720 off_t rc; local
1034 off_t nrc, rc; local
1200 off_t rc; local
[all...]
/openbsd-current/usr.bin/cdio/
H A Dcdio.c328 int l, r, rc; local
376 rc = ioctl(fd, CDIOCSTOP);
380 return (rc);
386 rc = ioctl(fd, CDIOCRESET);
387 if (rc == -1)
388 return rc;
432 rc = ioctl(fd, CDIOCEJECT);
433 if (rc == -1)
434 return (rc);
447 rc
692 int rc; local
1031 int trk, min, sec, frm, rc; local
1055 int trk, min, sec, frm, rc; local
1074 int trk, min, sec, frm, rc; local
1128 int rc, trk, m, s, f; local
1187 int rc, n; local
1213 int rc, i, n; local
1254 int rc, i, n; local
[all...]
/openbsd-current/usr.sbin/ldapd/
H A Dmodify.c40 int rc = LDAP_OTHER; local
82 rc = LDAP_NO_SUCH_OBJECT;
91 rc = LDAP_NOT_ALLOWED_ON_NONLEAF;
96 rc = LDAP_NO_SUCH_OBJECT;
108 rc = LDAP_INSUFFICIENT_ACCESS;
114 rc = LDAP_SUCCESS;
120 return ldap_respond(req, rc);
133 int rc; local
216 if ((rc = validate_entry(dn, attrs, ns->relax)) != LDAP_SUCCESS ||
219 if (rc
238 int rc = LDAP_OTHER; local
[all...]
/openbsd-current/sys/arch/landisk/stand/xxboot/
H A Dufs12.c124 int rc; local
131 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
133 if (rc)
136 rc = EIO;
165 return (rc);
179 int rc;
186 rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ,
188 if (rc)
191 rc = EIO;
208 rc
227 int level, idx, rc; local
332 int rc; local
394 int namlen, length, rc; local
445 int rc, c, nlinks = 0; local
686 int rc = 0; local
[all...]
/openbsd-current/gnu/usr.bin/cvs/emx/
H A Dsystem.c44 int rc = stat (name, buffer); local
49 return rc;
/openbsd-current/gnu/usr.bin/cvs/os2/
H A Ddirent.c39 auto USHORT rc; /* for 16 bit OS/2 */ local
43 auto APIRET rc; /* for 32 bit OS/2 */ local
81 rc = DosFindFirst(dirp->dirname, &hdir,
86 while (NO_ERROR == rc)
98 rc = ERROR_NOT_ENOUGH_MEMORY;
108 rc = ERROR_NOT_ENOUGH_MEMORY;
120 rc = DosFindNext(hdir, &ff, sizeof(ff), &cnt);
124 if (ERROR_NO_MORE_FILES == rc)
/openbsd-current/usr.sbin/mopd/otherOS/linux2/
H A Dmopd.init11 . /etc/rc.d/init.d/functions
/openbsd-current/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/
H A D102_put.t67 my ($rc) = $give_res =~ m{\S+\s+(\d+)}g;
68 is( $response->{status}, $rc, "$label response code $rc" )
71 if ( substr($rc,0,1) eq '2' ) {
H A D103_delete.t64 my ($rc) = $give_res =~ m{\S+\s+(\d+)}g;
65 is( $response->{status}, $rc, "$label response code $rc" )
68 if ( substr($rc,0,1) eq '2' ) {
H A D101_head.t64 my ($rc) = $give_res =~ m{\S+\s+(\d+)}g;
65 is( $response->{status}, $rc, "$label response code $rc" )
68 if ( substr($rc,0,1) eq '2' ) {
H A D104_post.t64 my ($rc) = $give_res =~ m{\S+\s+(\d+)}g;
65 is( $response->{status}, $rc, "$label response code $rc" )
68 if ( substr($rc,0,1) eq '2' ) {
/openbsd-current/lib/libcurses/base/
H A Dlib_getch.c156 int rc; local
160 rc = TCBOf(sp)->drv->td_testmouse(TCBOf(sp), delay EVENTLIST_2nd(evl));
164 rc = _nc_console_testmouse(sp,
172 rc = _nc_mingw_testmouse(sp, fd, delay EVENTLIST_2nd(evl));
175 rc = TCB->drv->td_testmouse(TCB, delay EVENTLIST_2nd(evl));
180 rc = TW_MOUSE;
185 rc = _nc_console_testmouse(sp,
190 rc = _nc_timed_wait(sp,
199 && (rc == 0)
201 rc |
417 int rc; local
452 int rc = 0; local
783 int rc; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dsc/
H A Drc_calc.c30 * @rc: DC internal DSC parameters
40 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps) argument
59 _do_calc_rc_params(rc, mode, bpc, drm_bpp, is_navite_422_or_420,
/openbsd-current/sys/dev/ic/
H A Dbt463.c242 bt463_init(rc)
243 struct ramdac_cookie *rc;
245 struct bt463data *data = (struct bt463data *)rc;
354 bt463_set_cmap(rc, cmapp)
355 struct ramdac_cookie *rc;
358 struct bt463data *data = (struct bt463data *)rc;
392 bt463_get_cmap(rc, cmapp)
393 struct ramdac_cookie *rc;
396 struct bt463data *data = (struct bt463data *)rc;
417 bt463_check_curcmap(rc, cursor
[all...]
/openbsd-current/sys/arch/alpha/stand/netboot/
H A Ddevopen.c58 int rc; local
149 rc = (dp->dv_open)(f, ctlr, unit, part);
150 if (rc)
151 return (rc);
/openbsd-current/gnu/usr.bin/perl/os2/OS2/OS2-REXX/
H A DREXX.xs74 LONG rc;
85 rc = pRexxRegisterFunctionExe(handlerNames[n], handlers[n]);
86 if (rc == RXFUNC_DEFINED)
111 rc = pRexxStart(0, args, /* No arguments */
143 if (rc || SvTRUE(GvSV(PL_errgv))) {
148 Perl_croak(aTHX_ "REXX compartment returned non-zero status %li", rc);
161 int i, rc;
184 rc = perl_call_pv(name, G_SCALAR | G_EVAL);
186 rc = perl_call_sv(cv, G_SCALAR | G_EVAL);
188 rc
[all...]
/openbsd-current/usr.bin/rsync/
H A Dserver.c56 fdout = STDOUT_FILENO, rc = 1; local
94 rc = 2;
156 rc = 0;
158 return rc;
/openbsd-current/usr.bin/compress/
H A Dgzexe177 rc=0
195 rc=1;
197 rc=$?
202 rc=1;
204 rc=$?
209 exit $rc

Completed in 303 milliseconds

1234567891011>>