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

1234567891011>>

/freebsd-11.0-release/usr.bin/random/
H A DMakefile2 # $FreeBSD: releng/11.0/usr.bin/random/Makefile 203923 2010-02-15 14:32:00Z uqs $
4 PROG= random
5 MAN= random.6
6 SRCS= random.c randomize_fd.c
/freebsd-11.0-release/tools/test/testfloat/
H A Drandom.c27 __FBSDID("$FreeBSD: releng/11.0/tools/test/testfloat/random.c 207151 2010-04-24 12:11:41Z marius $");
31 #include "random.h"
36 return (bits8) ( random()>>4 );
43 return ( random() & 0x0000ffff );
50 return ( ( (uint32) random()<<16) | ( (uint32) random() & 0x0000ffff) );
/freebsd-11.0-release/sys/modules/virtio/
H A DMakefile26 SUBDIR= virtio pci network block balloon scsi random console
/freebsd-11.0-release/sys/cddl/compat/opensolaris/sys/
H A Drandom.h26 * $FreeBSD: releng/11.0/sys/cddl/compat/opensolaris/sys/random.h 168404 2007-04-06 01:09:06Z pjd $
32 #include_next <sys/random.h>
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h29 * $FreeBSD: releng/11.0/sys/compat/linuxkpi/common/include/linux/random.h 301544 2016-06-07 13:10:13Z hselasky $
34 #include <sys/random.h>
/freebsd-11.0-release/usr.sbin/bsdinstall/scripts/
H A Dentropy32 dd if=/dev/random of="$i" bs=4096 count=1
/freebsd-11.0-release/sys/dev/random/
H A Dother_algorithm.c30 * containing an alternative entropy-processing algorithm for random(4).
44 __FBSDID("$FreeBSD: releng/11.0/sys/dev/random/other_algorithm.c 292782 2015-12-27 17:33:59Z allanjude $");
51 #include <sys/random.h>
60 #include <dev/random/hash.h>
61 #include <dev/random/randomdev.h>
62 #include <dev/random/random_harvestq.h>
63 #include <dev/random/uint128.h>
64 #include <dev/random/other_algorithm.h>
74 * RANDOM_OTHER_NPOOLS is used when reading hardware random
166 * Do random
[all...]
H A Dfortuna.c35 __FBSDID("$FreeBSD: releng/11.0/sys/dev/random/fortuna.c 300050 2016-05-17 12:52:31Z eadler $");
45 #include <sys/random.h>
55 #include <dev/random/hash.h>
56 #include <dev/random/randomdev.h>
57 #include <dev/random/random_harvestq.h>
58 #include <dev/random/uint128.h>
59 #include <dev/random/fortuna.h>
73 #include <dev/random/hash.h>
74 #include <dev/random/randomdev.h>
75 #include <dev/random/uint12
99 SDT_PROVIDER_DECLARE(random); variable
100 SDT_PROVIDER_DEFINE(random); variable
[all...]
H A Dyarrow.c29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/random/yarrow.c 298923 2016-05-02 14:35:57Z pfg $");
36 #include <sys/random.h>
46 #include <dev/random/hash.h>
47 #include <dev/random/randomdev.h>
48 #include <dev/random/random_harvestq.h>
49 #include <dev/random/uint128.h>
50 #include <dev/random/yarrow.h>
65 #include <dev/random/hash.h>
66 #include <dev/random/randomdev.h>
67 #include <dev/random/uint12
82 SDT_PROVIDER_DECLARE(random); variable
83 SDT_PROVIDER_DEFINE(random); variable
[all...]
/freebsd-11.0-release/share/examples/kld/random_adaptor/
H A Drandom_adaptor_example.c35 #include <sys/random.h>
38 #include <dev/random/randomdev.h>
39 #include <dev/random/randomdev_soft.h>
40 #include <dev/random/random_adaptors.h>
41 #include <dev/random/live_entropy_sources.h>
50 * sys/random.h and is unique */
61 return 4; /* chosen by fair dice roll, guaranteed to be random */
78 /* get <c> bytes of random stuff into <buf>. You may presume
/freebsd-11.0-release/sys/libkern/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
33 __FBSDID("$FreeBSD: releng/11.0/sys/libkern/random.c 284959 2015-06-30 17:00:45Z markm $");
49 (void)random();
53 * Pseudo-random number generator for perturbing the profiling clock,
58 random() function
/freebsd-11.0-release/tests/sys/geom/class/raid3/
H A D12_test.sh16 dd if=/dev/random of=/dev/${us0} count=$nblocks1 >/dev/null 2>&1
17 dd if=/dev/random of=/dev/${us1} count=$nblocks1 >/dev/null 2>&1
18 dd if=/dev/random of=/dev/${us2} count=$nblocks1 >/dev/null 2>&1
26 dd if=/dev/random of=/dev/${us1} count=$nblocks2 >/dev/null 2>&1
/freebsd-11.0-release/etc/casper/
H A DMakefile6 FILES+= system.random
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/
H A DRandomNumberGenerator.h10 // This file defines an abstraction for deterministic random number
12 // cryptographically secure as it uses the C++11 <random> facilities.
22 #include <random>
26 /// A random number generator.
34 /// Returns a random number in the range [0, Max).
45 // http://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine
/freebsd-11.0-release/sys/modules/padlock_rng/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
/freebsd-11.0-release/sys/modules/random_fortuna/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
/freebsd-11.0-release/sys/modules/random_other/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
/freebsd-11.0-release/sys/modules/random_yarrow/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
/freebsd-11.0-release/sys/modules/rdrand_rng/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/random
/freebsd-11.0-release/sys/modules/virtio/random/
H A DMakefile2 # $FreeBSD: releng/11.0/sys/modules/virtio/random/Makefile 285068 2015-07-03 01:50:26Z imp $
26 .PATH: ${.CURDIR}/../../../dev/virtio/random
/freebsd-11.0-release/etc/rc.d/
H A Drandom3 # $FreeBSD: releng/11.0/etc/rc.d/random 301028 2016-05-31 08:31:34Z trasz $
6 # PROVIDE: random
13 name="random"
14 desc="Harvest and save entropy for random device"
26 dd if=/dev/random of="$f" bs=4096 count=1 2>/dev/null
35 if dd if="$f" of=/dev/random bs=4096 2>/dev/null ; then
48 ${SYSCTL} kern.random.harvest.mask=${harvest_mask} > /dev/null
49 ${SYSCTL_N} kern.random.harvest.mask_symbolic
54 if [ ! -w /dev/random ] ; then
55 warn "/dev/random i
[all...]
/freebsd-11.0-release/sys/dev/syscons/star/
H A Dstar_saver.c93 random() % (scp->xsize*scp->ysize);
97 cell = random() % NUM_STARS;
100 colors[random()%sizeof(color16)] << 8);
101 if ((stars[cell][1]+=(random()%4)) >= sizeof(pattern)-1) {
102 stars[cell][0] = random() % (scp->xsize*scp->ysize);
/freebsd-11.0-release/contrib/apr/
H A Dbuild.conf17 dso file_io locks memory misc mmap network_io poll random
/freebsd-11.0-release/cddl/contrib/opensolaris/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));
/freebsd-11.0-release/lib/libstand/
H A Drandom.c29 * @(#)random.c 8.1 (Berkeley) 6/10/93
33 __FBSDID("$FreeBSD: releng/11.0/lib/libstand/random.c 165906 2007-01-09 01:02:06Z imp $");
47 * Pseudo-random number generator for randomizing the profiling clock,
52 random() function

Completed in 327 milliseconds

1234567891011>>