Searched refs:rval (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/freebsd-head/sbin/dhclient/
H A Dalloc.c53 struct string_list *rval; local
55 rval = calloc(1, sizeof(struct string_list) + size);
56 if (rval != NULL)
57 rval->string = ((char *)rval) + sizeof(struct string_list);
58 return (rval);
64 struct hash_table *rval; local
66 rval = calloc(1, sizeof(struct hash_table) -
69 if (rval == NULL)
71 rval
78 struct hash_bucket *rval = calloc(1, sizeof(struct hash_bucket)); local
[all...]
/freebsd-head/usr.bin/mkuzip/
H A Dmkuz_blk.c39 struct mkuz_blk *rval; local
41 rval = mkuz_safe_zmalloc(sizeof(struct mkuz_blk) + blen);
42 rval->alen = blen;
43 rval->br_offset = OFFSET_UNDEF;
44 return (rval);
H A Dmkuzip.h29 #define DEFINE_RAW_METHOD(func, rval, args...) typedef rval (*func##_t)(args)
H A Dmkuz_blockcache.c58 int rval; local
60 rval = -1;
72 rval = (memcmp(cbp->data, vbuf, cbp->info.len) == 0) ? 1 : 0;
78 return (rval);
88 unsigned char rval; local
90 rval = mdigest[0];
92 rval = rval ^ mdigest[i];
94 return (rval);
101 int rval; local
[all...]
/freebsd-head/contrib/opie/libopie/
H A Dchallenge.c56 int rval = -1; local
58 rval = opielookup(mp, name);
60 if (rval) syslog(LOG_DEBUG, "opiechallenge: opielookup(mp, name=%s) returned %d", name, rval);
63 if (!rval) {
64 rval = opielock(name);
66 if (rval) syslog(LOG_DEBUG, "opiechallenge: opielock(name=%s) returned %d", name, rval);
70 if (rval ||
72 if (!rval)
[all...]
H A Dunlock.c47 int fh, rval = -1, pid, t, i; variable
82 rval = 1;
86 rval = 0;
96 return rval;
/freebsd-head/sys/geom/uzip/
H A Dg_uzip.h35 #define DEFINE_RAW_METHOD(func, rval, args...) typedef rval (*func##_t)(args)
/freebsd-head/crypto/openssh/contrib/hpux/
H A Dsshd.rc36 rval=0
46 rval=1 # script FAILed
70 rval=2
78 rval=1
86 rval=1
90 exit $rval
H A Degd.rc38 rval=0
48 rval=1 # script FAILed
75 rval=2
85 rval=1
94 rval=1
98 exit $rval
/freebsd-head/lib/libc/locale/
H A Dmblen.c45 size_t rval; local
53 rval = XLOCALE_CTYPE(locale)->__mbrtowc(NULL, s, n,
55 if (rval == (size_t)-1 || rval == (size_t)-2)
57 return ((int)rval);
H A Dwctomb.c45 size_t rval; local
53 if ((rval = XLOCALE_CTYPE(locale)->__wcrtomb(s, wchar,
56 return ((int)rval);
H A Dmbtowc.c46 size_t rval; local
54 rval = XLOCALE_CTYPE(locale)->__mbrtowc(pwc, s, n,
56 switch (rval) {
63 return ((int)rval);
/freebsd-head/usr.bin/fsync/
H A Dfsync.c48 int rval; local
55 rval = EX_OK;
59 if (rval == EX_OK)
60 rval = EX_NOINPUT;
66 if (rval == EX_OK)
67 rval = EX_OSERR;
71 exit(rval);
/freebsd-head/lib/librpcsvc/
H A Dyp_passwd.c60 int rval, result; local
72 rval = getrpcport(server, YPPASSWDPROG,
75 if (rval == 0 || rval >= IPPORT_RESERVED) {
80 rval = callrpc(server, YPPASSWDPROG, YPPASSWDVERS, YPPASSWDPROC_UPDATE,
85 if (rval || result)
/freebsd-head/usr.sbin/rpc.ypupdated/
H A Dyp_dbupdate.c86 int rval = 0; local
104 rval = yp_del_record(dbp, &key);
105 if (rval == YP_TRUE)
106 rval = 0;
109 rval = yp_put_record(dbp, &key, &data, 0);
110 if (rval == YP_TRUE)
111 rval = 0;
114 rval = yp_put_record(dbp, &key, &data, 1);
115 if (rval == YP_TRUE)
116 rval
[all...]
H A Dyp_dbdelete.c54 int rval; local
56 if ((rval = (dbp->del)(dbp,key,0))) {
57 switch (rval) {
/freebsd-head/usr.bin/number/
H A Dnumber.c125 int flen, len, rval; local
168 rval = len > 0 ? unit(len, line) : 0;
172 if (rval)
180 rval = 1;
184 if (!rval)
193 int off, rval; local
195 rval = 0;
201 rval = 1;
210 rval = 1;
219 rval
227 int val, rval; local
[all...]
/freebsd-head/sys/dev/qlxge/
H A Dqls_ioctl.c87 int rval = 0; local
107 rval = EINVAL;
110 rval = copyout(&ql_mpi_coredump,
114 rval = ENXIO;
116 if (rval) {
119 __func__, rval);
130 return rval;
/freebsd-head/lib/libthr/thread/
H A Dthr_detach.c48 int rval; local
53 if ((rval = _thr_find_thread(curthread, pthread,
55 return (rval);
/freebsd-head/bin/realpath/
H A Drealpath.c50 int ch, qflag, rval; local
66 rval = 0;
71 rval = 1;
75 exit(rval);
/freebsd-head/contrib/ntp/sntp/libopts/compat/
H A Dsnprintf.c32 int rval; local
39 rval = strlen(rp);
43 rval = vsprintf(str, fmt, ap);
47 if (rval > n) {
48 fprintf(stderr, "snprintf buffer overrun %d > %d\n", rval, (int)n);
51 return rval;
/freebsd-head/contrib/pjdfstest/
H A Dpjdfstest.c671 int name, rval; local
754 rval = open(STR(0), (int)flags, (mode_t)NUM(2));
760 rval = open(STR(0), (int)flags);
762 if (rval >= 0)
763 descriptor_add(rval);
773 rval = openat(NUM(0), STR(1), (int)flags,
780 rval = openat(NUM(0), STR(1), (int)flags);
782 if (rval >= 0)
783 descriptor_add(rval);
787 rval
[all...]
/freebsd-head/sys/dev/qlxgb/
H A Dqla_ioctl.c84 int rval = 0; local
109 if ((rval = qla_rdwr_indreg32(ha, rv->reg, &rv->val,
111 rval = ENXIO;
117 if ((rval = qla_rd_flash32(ha, rdf->off, &rdf->data)))
118 rval = ENXIO;
123 if ((rval = qla_wr_flash_buffer(ha, wrf->off, wrf->size,
125 rval = ENXIO;
132 rval = ENXIO;
148 return rval;
/freebsd-head/usr.bin/cksum/
H A Dcksum.c67 int ch, fd, rval; local
112 rval = 0;
118 rval = 1;
124 rval = 1;
129 exit(rval);
/freebsd-head/usr.bin/rev/
H A Drev.c67 int ch, rval; local
83 rval = 0;
88 rval = 1;
104 rval = 1;
108 exit(rval);

Completed in 390 milliseconds

1234567891011>>