Searched refs:random (Results 151 - 175 of 345) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/apr-util/dbd/
H A Dapr_dbd_freetds.c74 int random; member in struct:apr_dbd_results_t
167 res->random = seek;
303 int sequential = ((rownum >= 0) && res->random) ? 0 : 1;
678 if (res->random) {
H A Dapr_dbd_pgsql.c50 int random; member in struct:apr_dbd_results_t
156 (*results)->random = seek;
212 (*results)->random = seek;
233 int sequential = ((rownum >= 0) && res->random) ? 0 : 1;
265 if (res->random) {
848 (*results)->random = seek;
915 (*results)->random = seek;
1274 if (res->random) {
/freebsd-10.0-release/contrib/ldns/ldns/
H A Dconfig.h172 /* Define to 1 if you have the `random' function. */
499 #define random(x) rand(x) macro
/freebsd-10.0-release/contrib/libpcap/lbl/
H A Dos-sunos4.h131 long random(void);
/freebsd-10.0-release/contrib/tcpdump/lbl/
H A Dos-sunos4.h131 long random(void);
/freebsd-10.0-release/include/
H A Dstdlib.h219 long random(void);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_context.h55 #include <sys/random.h>
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_classq.h157 n = random() % qlen(q) + 1;
/freebsd-10.0-release/sys/dev/syscons/fire/
H A Dfire_saver.c76 buf[x + (y * bpsl)] = random() % 160 + 96;
/freebsd-10.0-release/sys/dev/syscons/rain/
H A Drain_saver.c110 vid[p] = 1 + (random() % MAX);
/freebsd-10.0-release/sys/dev/syscons/warp/
H A Dwarp_saver.c148 star[i] = random() % (scrw * scrh);
/freebsd-10.0-release/sys/netinet/cc/
H A Dcc_hd.c83 /* Largest possible number returned by random(). */
123 return (random() < p);
/freebsd-10.0-release/sys/netpfil/ipfw/test/
H A Dtest_dn_heap.c148 heap_insert(&h, n3 ? n-i: random(), (void *)(100+i));
/freebsd-10.0-release/tools/regression/ethernet/ethermulti/
H A Dethermulti.c130 mac4 = random();
/freebsd-10.0-release/tools/regression/lib/libc/stdio/
H A Dtest-getdelim.c45 * random number of bytes up to the requested length.
53 r = random() % CHUNK_MAX + 1;
/freebsd-10.0-release/tools/test/testfloat/sparc64/
H A DMakefile34 SRCS1= fail.c random.c softfloat.c testCases.c testLoops.c writeHex.c
/freebsd-10.0-release/usr.bin/svn/lib/libapr/
H A DMakefile28 ${APR}/poll/unix ${APR}/random/unix ${APR}/shmem/unix \
/freebsd-10.0-release/contrib/ldns/
H A Dutil.c315 * Init the random source
318 * or /dev/random
349 /* no readable /dev/urandom, try /dev/random */
350 if ((rand_f = fopen("/dev/random", "r")) == NULL) {
351 /* no readable /dev/random either, and no entropy
395 * Get random number.
404 rid = (uint16_t) random();
407 rid = (uint16_t) random();
/freebsd-10.0-release/sys/ia64/conf/
H A DGENERIC191 device random # Entropy device
/freebsd-10.0-release/sys/kern/
H A Dsubr_fattime.c272 ts.tv_sec = random();
274 ts.tv_nsec = random() % 1000000000;
/freebsd-10.0-release/sys/powerpc/conf/
H A DGENERIC139 device random # Entropy device
H A DGENERIC64144 device random # Entropy device
/freebsd-10.0-release/sys/sparc64/conf/
H A DGENERIC208 device random # Entropy device
/freebsd-10.0-release/sys/netinet/
H A Dsctp_auth.c329 * generate a new random key of length 'keylen'
820 if (authinfo->random != NULL)
821 sctp_free_key(authinfo->random);
1452 /* save the random and length for the key */
1506 /* concatenate the full random key */
1530 if (stcb->asoc.authinfo.random != NULL)
1531 sctp_free_key(stcb->asoc.authinfo.random);
1532 stcb->asoc.authinfo.random = new_key;
1582 sctp_compute_hashkey(stcb->asoc.authinfo.random,
1725 sctp_compute_hashkey(stcb->asoc.authinfo.random,
[all...]
/freebsd-10.0-release/tools/regression/fsx/
H A Dfsx.c785 unsigned long rv = random();
815 dotruncate(random() % maxfilelen);
818 size = random() % (maxoplen+1);
822 offset = random();
884 -O: use oplen (see -o flag) for every op (default random)\n\
886 -S seed: for random # generator (default 1) 0 gets timestamp\n\
1120 original_buf[i] = random() % 256;

Completed in 171 milliseconds

1234567891011>>