Searched refs:random (Results 1 - 25 of 150) sorted by relevance

123456

/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A D.random-test2 # True if random is applied.
3 [ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_random.h ] && echo random
/asus-wl-520gu-7.0.1.45/src/router/samba/testsuite/smbd/
H A Dsec_ctx_torture.c42 switch (random() % 2) {
44 /* Push a random context */
52 printf("FAIL: push random ctx\n");
58 set_sec_ctx(random() % 32767,
59 random() % 32767,
79 /* Pop a random context */
84 printf("FAIL: pop random ctx\n");
H A Dsec_ctx_utils.c28 /* Generate random list of groups */
34 *ngroups = random() % groups_max();
38 printf("FAIL: malloc random grouplist\n");
43 (*groups)[i] = random() % 32767;
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dmagic.c38 * Attempts to compute a random number seed which will not repeat.
71 return (double)random() / (double)0x7fffffffL; /* 2**31-1 */
77 return random();
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Dmagic.c62 * Attempts to compute a random number seed which will not repeat.
87 * random_bytes - Fill a buffer with random bytes.
107 return (double)random() / (double)0x7fffffffL; /* 2**31-1 */
113 return random();
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/
H A Dmagic.c62 * Attempts to compute a random number seed which will not repeat.
87 * random_bytes - Fill a buffer with random bytes.
107 return (double)random() / (double)0x7fffffffL; /* 2**31-1 */
113 return random();
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/tests/progs/
H A Drandom_exercise.c3 * filesystem. It creates a lot of random files in the current
53 fd = ((int) random()) % MAXFDS;
79 isdir = random() & 1;
87 size = random() & (DATA_SIZE-1);
105 size = random() & (DATA_SIZE-1);
158 (random() & 2))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/
H A Dirq-arch.c21 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/LDAP/
H A Dldapsync.pl87 $random = join '', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64, rand 64, rand 64, rand 64, rand 64, rand 64, rand 64];
89 $modsalt = $bsalt.$random.$esalt;
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/
H A Dmangle_test.c119 len = 1 + random() % NAME_LENGTH;
122 p[i] = chars[random() % max_idx];
132 if (random() % 2 == 0) {
137 if (random() % 10 == 0) {
147 if (random() % 2 == 0) {
H A Dlocktest2.c360 we then do random locking ops in tamdem on the 4 fnums from each
379 recorded[n].conn = random() % NCONNECTIONS;
380 recorded[n].fstype = random() % NUMFSTYPES;
381 recorded[n].f = random() % NFILES;
382 recorded[n].start = LOCKBASE + ((unsigned)random() % (LOCKRANGE-1));
384 random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
387 recorded[n].r1 = random() % 100;
388 recorded[n].r2 = random() % 100;
H A Dlocktest.c414 we then do random locking ops in tamdem on the 4 fnums from each
434 recorded[n].conn = random() % NCONNECTIONS;
435 recorded[n].f = random() % NFILES;
436 recorded[n].start = lock_base + ((unsigned)random() % (lock_range-1));
438 random() % (lock_range-(recorded[n].start-lock_base));
441 r1 = random() % 100;
442 r2 = random() % 100;
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/
H A Dtdbtorture.c75 if (random() % CULL_PROB == 0) {
105 if (random() % REOPEN_PROB == 0) {
112 if (random() % DELETE_PROB == 0) {
119 if (random() % STORE_PROB == 0) {
128 if (random() % APPEND_PROB == 0) {
137 if (random() % LOCKSTORE_PROB == 0) {
150 if (random() % TRAVERSE_PROB == 0) {
/asus-wl-520gu-7.0.1.45/src/router/busybox/bootfloppy/
H A Dmkdevs.sh22 mknod random c 1 8
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev96100/
H A Dirq.c43 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mips-boards/malta/
H A Dmalta_int.c30 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/
H A Dirq_smp.c14 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Datarimouse.c24 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/
H A Dirq_smp.c10 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/raid/
H A Dmd.h35 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/raid/
H A Dmd.h35 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/radius/radiusclient/include/
H A Dincludes.h137 * prefer srandom/random over srand/rand as there generator has a
144 # define random rand macro
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/radius/radiusclient/include/
H A Dincludes.h137 * prefer srandom/random over srand/rand as there generator has a
144 # define random rand macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/gt64120/momenco_ocelot/
H A Dirq.c43 #include <linux/random.h>
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_c/
H A Dirq.c42 #include <linux/random.h>

Completed in 123 milliseconds

123456