Searched defs:ret (Results 26 - 50 of 2302) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Darc4random.c28 uint32_t ret; local
32 ret = arc4random_uniform(100);
33 assert(ret < 100);
34 ret = arc4random_uniform(200);
35 assert(ret < 200);
H A Dgetentropy.c28 int ret; local
33 ret = getentropy(buf, sizeof (buf));
34 assert(ret == 0);
37 ret = getentropy(errbuf, sizeof (errbuf));
38 assert(ret == -1);
41 ret = getentropy(errbuf, 257);
42 assert(ret == -1);
45 ret = getentropy(errbuf, 256);
46 assert(ret == 0);
48 ret
[all...]
H A Dgetrandom.c28 int ret; local
34 ret = getrandom(buf, sizeof (buf), 42);
35 assert(ret == -1);
38 ret = getrandom(buf, sizeof (buf), 0);
39 assert(ret >= 0);
41 ret = getrandom(buf, sizeof (buf), GRND_NONBLOCK);
42 assert(ret >= 0);
44 ret = getrandom(buf, sizeof (buf), GRND_RANDOM);
45 assert(ret >= 0);
47 ret
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_lockmap.c62 int ret; local
64 ret = lock_core(map->hash_val);
66 return (ret);
82 int ret; local
84 ret = unlock_core(map->hash_val);
85 return (ret);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcp_key_cnt.c45 krb5_error_code ret = EINVAL; local
52 ret = krb5_copy_keyblock_data(context, from, to);
55 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmbstowcs.c50 int ret; local
96 ret = (*p)(pwcs, s, n);
97 return (ret);
H A Dwcstombs.c50 int ret; local
96 ret = (*p)(s, pwcs, n);
97 return (ret);
H A Dmbtowc.c51 int ret; local
109 ret = (*p)(pwc, s, n);
110 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dtruncate.c39 int fd, ret = 0; local
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dtruncate.c38 int fd, ret = 0; local
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dstrtows.c38 size_t ret; local
40 ret = mbstowcs(s1, s2, TMP_MAX);
41 if (ret == (size_t)-1) {
51 size_t ret; local
53 ret = wcstombs(s1, s2, TMP_MAX);
54 if (ret == (size_t)-1) {
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfprintf.c49 int ret; local
54 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
56 return ret;
H A Dfscanf.c49 int ret; local
54 ret = sm_vfscanf(fp, timeout, fmt, ap);
56 return ret;
H A Dvasprintf.c63 int ret; local
84 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
85 if (ret == -1)
90 base = (unsigned char *) sm_realloc(fake.f_bf.smb_base, ret + 1);
94 return ret;
/illumos-gate/usr/src/cmd/bnu/
H A Dgwd.c90 int ret; local
93 ret = stat(file, buf);
95 return(ret);
97 int ret;
103 wait(&ret);
104 return(ret);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Ddirs.c51 int ret; local
55 ret = Mkdir(path, mode);
56 if (ret != -1)
57 ret = chown_lppath(path);
62 return (ret);
/illumos-gate/usr/src/tools/scripts/
H A Dcopyrightchk.py41 ret = 0 variable
50 ret |= copyright(fin, output=sys.stdout)
53 sys.exit(ret)
/illumos-gate/usr/src/boot/lib/libstand/
H A Dinet_ntoa.c52 static char ret[sizeof "255.255.255.255"]; local
55 sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
56 return (ret);
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_put.c58 int ret; local
60 ret = DynPut(obj, el, obj->num_el);
61 if (ret != DYN_OK)
62 return ret;
65 return ret;
82 int ret; local
88 if ((ret = _DynResize(obj, idx)) != DYN_OK)
89 return ret;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dendwin.c163 int ret; local
171 ret = doupdate();
173 return (ret);
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_cto.c48 int ret; local
63 ret = (*fptr) (domain, type, protocol);
65 if (ret >= 0 && timeout > 0) {
66 if (setsockopt(ret, IPPROTO_TCP, TCP_CONN_ABORT_THRESHOLD,
73 return (ret);
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_errlst.c132 int *ret; local
136 ret = thr_get_storage(&t_errno_key, sizeof (int), free);
138 return (ret ? ret : &t_errno);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c38 int off, ret; local
47 if ((ret = _syscall(SYS_lseek, fd, off, whence)) != -1)
48 ret = getmodsize(ret, sizeof (struct utmpx),
50 return (ret);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dputc.c51 int ret; local
58 ret = __flsbuf((unsigned char) ch, iop);
61 ret = (unsigned char)ch;
64 return (ret);
/illumos-gate/usr/src/cmd/fcoesvc/
H A Dfcoeisvc.c36 int ret; local
43 ret = 1;
57 ret = 0;
63 return (ret);

Completed in 176 milliseconds

1234567891011>>