/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | arc4random.c | 28 uint32_t ret; local 32 ret = arc4random_uniform(100); 33 assert(ret < 100); 34 ret = arc4random_uniform(200); 35 assert(ret < 200);
|
H A D | getentropy.c | 28 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 D | getrandom.c | 28 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 D | shim_lockmap.c | 62 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 D | cp_key_cnt.c | 45 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 D | mbstowcs.c | 50 int ret; local 96 ret = (*p)(pwcs, s, n); 97 return (ret);
|
H A D | wcstombs.c | 50 int ret; local 96 ret = (*p)(s, pwcs, n); 97 return (ret);
|
H A D | mbtowc.c | 51 int ret; local 109 ret = (*p)(pwc, s, n); 110 return (ret);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | truncate.c | 39 int fd, ret = 0; local
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | truncate.c | 38 int fd, ret = 0; local
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | strtows.c | 38 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 D | fprintf.c | 49 int ret; local 54 ret = sm_io_vfprintf(fp, timeout, fmt, ap); 56 return ret;
|
H A D | fscanf.c | 49 int ret; local 54 ret = sm_vfscanf(fp, timeout, fmt, ap); 56 return ret;
|
H A D | vasprintf.c | 63 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 D | gwd.c | 90 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 D | dirs.c | 51 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 D | copyrightchk.py | 41 ret = 0 variable 50 ret |= copyright(fin, output=sys.stdout) 53 sys.exit(ret)
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | inet_ntoa.c | 52 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 D | dyn_put.c | 58 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 D | endwin.c | 163 int ret; local 171 ret = doupdate(); 173 return (ret);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_cto.c | 48 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.c | 132 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 D | lseek.c | 38 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 D | putc.c | 51 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 D | fcoeisvc.c | 36 int ret; local 43 ret = 1; 57 ret = 0; 63 return (ret);
|