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

1234567

/illumos-gate/usr/src/cmd/mdb/intel/amd64/random/
H A DMakefile28 MODULE = random.so
31 MODSRCS = random.c
/illumos-gate/usr/src/cmd/mdb/intel/ia32/random/
H A DMakefile28 MODULE = random.so
31 MODSRCS = random.c
/illumos-gate/usr/src/cmd/mdb/sparc/v9/random/
H A DMakefile28 MODULE = random.so
31 MODSRCS = random.c
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dgetrandom.c18 #include <sys/random.h>
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmagic.c44 * Attempts to compute a random number seed which will not repeat.
77 return (double)random() / (double)0x7fffffffL; /* 2**31-1 */
83 return random();
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetentropy.c21 #include <sys/random.h>
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy_001_pos.ksh53 typeset -i cnt=$(random 2 5)
H A Dredundancy_004_neg.ksh53 typeset -i cnt=$(random 2 5)
H A Dredundancy_002_pos.ksh53 typeset -i cnt=$(random 3 5)
H A Dredundancy_003_pos.ksh53 typeset -i cnt=$(random 2 5)
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Darc4key.ksh29 arc_bin=$arc_root/tests/random/arc4random_rekey
H A Dgetrandred.c22 #include <sys/random.h>
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c61 int fd = -1, random, ps = sysconf(_SC_PAGESIZE); local
66 if ((random = open("/dev/random", O_RDONLY)) == -1)
67 fatal("couldn't open /dev/random");
102 * Every thousand iterations, change our random gunk.
104 read(random, addr, ps);
107 read(random, &ioc, sizeof (ioc));
/illumos-gate/usr/src/boot/lib/libstand/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
47 * Pseudo-random number generator for randomizing the profiling clock,
52 random() function
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c76 int random; local
82 * as 'seed' to generate a random number. Then,
85 * the seed so that the random number is always
87 * generate a random number at the same time.
98 /* get a random number. */
101 random = rand_r(&seed);
104 random = ((random % 500) + 100) * MILLISEC;
105 tval.tv_sec = random / MICROSEC;
106 tval.tv_usec = random
[all...]
/illumos-gate/usr/src/uts/common/netinet/
H A Digmp_var.h65 * Macro to compute a random timer value between 1 and maxticks.
66 * Include <sys/random.h> for random_get_pseudo_bytes() declaration.
68 #include <sys/random.h>
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade_008_pos.ksh43 # 2. Pick a version that's a random number, greater than the version
70 typeset ver_new=$(random $ver_old $MAX_VER)
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetrandom.c23 #include <sys/random.h>
28 #include <sys/random.h>
32 * go, ala a read of /dev/random. For /dev/urandom, we clamp it based on our
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_012_neg.ksh60 log_must dd if=/dev/random of=$mntpnt/testfile.$$ count=100
/illumos-gate/usr/src/cmd/crypt/
H A Dcrypt.c55 unsigned random; local
82 random = seed % 65521;
84 ic = (random&MASK)%(k+1);
85 random >>= 8;
90 ic = (random&MASK) % k;
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c40 * @(#)random.c 5.5 (Berkeley) 7/6/88
45 #define random ______random macro
55 #undef random macro
63 extern long int random();
67 /* An improved random number generation package. In addition to the standard
71 then initialized to contain information for random number generation with
76 information and generates far better random numbers than a linear
85 for details). The random number generation technique is a linear feedback
92 also influenced by pseudo-random carries out of the lower bits. The
102 /* For each of the currently supported random numbe
352 extern long int random() function
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmpprime.c59 #include <sys/random.h>
81 Assigns a random value to a. This value is generated using the
86 As many digits as a currently has are filled with random digits.
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dprng.c33 #include <sys/random.h>
39 * Solaris kerberos: we don't need a random number generator
40 * for the /dev/[u]random, as it uses entropy in the kernel.
65 * /dev/[u]random interface provided in Solaris 9 for getting random
70 * random confounder.
88 * Solaris kerberos uses /dev/[u]random
119 * a pseudo random algorithm to produce randomness. Most of the time it
/illumos-gate/usr/src/uts/intel/ipw/
H A DMakefile63 LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
/illumos-gate/usr/src/uts/intel/iwh/
H A DMakefile67 LDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip

Completed in 122 milliseconds

1234567