Searched defs:rand (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Drand.c56 rand(void) function
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Drand.c38 rand(void) function
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/
H A Drand.c44 rand() function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drand.c49 * may be calling rand() from different threads and because multiple
89 rand(void) function
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dthreads.c140 unsigned long rand; local
154 (void) random_get_pseudo_bytes((uint8_t *)&rand, sizeof (rand));
158 rand % conn->c_reconnect_jiffies, conn->c_reconnect_jiffies,
162 rand % conn->c_reconnect_jiffies);
/illumos-gate/usr/src/lib/libsasl/include/
H A Dsaslplug.h106 void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); member in struct:sasl_utils
/illumos-gate/usr/src/uts/common/inet/ipd/
H A Dipd.c249 * rand. It's good enough for us!
279 int dwait, corrupt, drop, rand, off, status; local
289 rand = ipd_nextrand(ins);
299 if (drop != 0 && rand % 100 < drop) {
317 if (corrupt != 0 && rand % 100 < corrupt) {
337 off = rand % ((uintptr_t)mbp->b_wptr -
340 off = rand % 8;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c113 struct rand struct
154 struct rand RAND_init;
590 struct rand *rp = (struct rand*)fp;
619 cur = (rand()>>rand_shift)&RANDMASK;
841 static const Namdisc_t RAND_disc = { sizeof(struct rand), put_rand, get_rand, nget_rand };
1096 /* don't use lower bits when rand() generates large numbers */
1097 if(rand() > RANDMASK)
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ire.c2180 uint_t rand; local
2186 rand = (uint_t)ddi_get_lbolt() +
2190 if ((rand/fraction)*fraction == rand) {
H A Dip_ndp.c3652 uint_t rand; local
3659 rand = (uint_t)ddi_get_lbolt() +
3661 if ((rand/fraction)*fraction == rand) {
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslrec.c2091 uchar_t *rand; local
2141 rand = suitesp + cslen + sidlen;
2145 bcopy(rand, &ssl->client_random[SSL3_RANDOM_LENGTH - randlen],
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3746 uint64_t rand; local
3759 rand = ztest_random(2);
3761 rand = 0;
3763 if (rand != 0) {
3768 rand = ztest_random(ZIO_CRYPT_FUNCTIONS);
3769 if (rand < ZIO_CRYPT_AES_128_CCM)
3770 rand = ZIO_CRYPT_ON;
3773 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), rand);
3802 rand = ztest_random(100);
3803 if (err || rand < 8
6336 int rand; local
[all...]

Completed in 257 milliseconds