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

/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/ucblib/libucb/port/gen/
H A Drand.c56 rand(void) 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.c139 unsigned long rand; local
153 (void) random_get_pseudo_bytes((uint8_t *)&rand, sizeof (rand));
157 rand % conn->c_reconnect_jiffies, conn->c_reconnect_jiffies,
161 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.c3412 uint_t rand; local
3419 rand = (uint_t)ddi_get_lbolt() +
3421 if ((rand/fraction)*fraction == rand) {
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslrec.c2083 uchar_t *rand; local
2133 rand = suitesp + cslen + sidlen;
2137 bcopy(rand, &ssl->client_random[SSL3_RANDOM_LENGTH - randlen],
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c5487 int rand; local
5511 rand = ztest_random(ZTEST_FUNCS);
5512 zi = &ztest_info[rand];
5513 zc = ZTEST_GET_SHARED_CALLSTATE(rand);
5519 ztest_execute(rand, zi, id);

Completed in 174 milliseconds