Searched refs:random (Results 101 - 125 of 374) sorted by relevance

1234567891011>>

/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D10_test.sh17 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1
H A D12_test.sh28 dd if=/dev/random of=$tmp1 bs=$ddbs count=1 >/dev/null 2>&1
/freebsd-11-stable/tests/sys/geom/class/eli/
H A Donetime_test.sh44 dd if=/dev/random of=rnd bs=${MAX_SECSIZE} count=${sectors} status=none
87 atf_check dd if=/dev/random of=rnd bs=$MAX_SECSIZE count=$sectors \
/freebsd-11-stable/contrib/apr/misc/unix/
H A Drand.c50 #include <sys/random.h>
63 #include <linux/random.h>
236 /* On BSD/OS 4.1, /dev/random gives out 8 bytes at a time, then
H A Drandbyte_os2.inc38 * Not highly random but every bit helps....
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp_zlib_rnd.c53 *(long *)(text + i * sizeof(long)) = random();
/freebsd-11-stable/contrib/netbsd-tests/include/sys/
H A Dt_tree.c88 m[i] = addmist(random() << 1); /* use all 32 bits */
/freebsd-11-stable/contrib/apr-util/dbd/
H A Dapr_dbd_mysql.c76 int random; member in struct:apr_dbd_results_t
246 (*results)->random = seek;
284 if (res->random) {
306 if (res->random) {
713 int random, MYSQL_BIND *bind)
730 (*res)->random = random;
777 apr_dbd_prepared_t *statement, int random,
791 ret = dbd_mysql_pselect_internal(pool, sql, res, statement, random, bind);
801 apr_dbd_prepared_t *statement, int random,
710 dbd_mysql_pselect_internal(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, MYSQL_BIND *bind) argument
775 dbd_mysql_pselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, const char **args) argument
799 dbd_mysql_pvselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, va_list args) argument
996 dbd_mysql_pbselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, const void **args) argument
1020 dbd_mysql_pvbselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, va_list args) argument
[all...]
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_rnd.c39 #include <sys/random.h>
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/safety/
H A DMakefile30 tst.random.d \
/freebsd-11-stable/sys/dev/random/
H A Drandomdev.c29 __FBSDID("$FreeBSD: stable/11/sys/dev/random/randomdev.c 338923 2018-09-25 05:18:20Z delphij $");
44 #include <sys/random.h>
55 #include <dev/random/hash.h>
56 #include <dev/random/randomdev.h>
57 #include <dev/random/random_harvestq.h>
77 .d_name = "random",
116 * This is the read uio(9) interface for random(4).
147 printf("random: %s unblock wait\n", __func__);
197 KASSERT(random_buf != NULL, ("No suitable random buffer in %s", __func__));
294 printf("random
[all...]
H A Drandom_harvestq.c31 __FBSDID("$FreeBSD: stable/11/sys/dev/random/random_harvestq.c 346725 2019-04-26 01:58:36Z mw $");
45 #include <sys/random.h>
61 #include <dev/random/hash.h>
62 #include <dev/random/randomdev.h>
63 #include <dev/random/random_harvestq.h>
181 /* XXX: FIX!! This is a *great* place to pass hardware/live entropy to random(9) */
226 * random numbers. Accept this but make a noise. If too much happens,
348 * This is used to prime the RNG by grabbing any early random stuff
384 printf("random: read %zu bytes from preloaded cache\n", size);
387 printf("random
[all...]
/freebsd-11-stable/usr.sbin/wpa/
H A DMakefile.crypto4 SRCS+= crypto_openssl.c random.c sha1-prf.c sha256-prf.c sha256-tlsprf.c \
10 SRCS+= crypto_internal.c random.c
/freebsd-11-stable/lib/msun/tests/
H A Drem_test.c149 q = random();
171 q = random();
193 q = random();
/freebsd-11-stable/sbin/fsirand/
H A Dfsirand.c217 sblock->fs_id[1] = random();
273 dp1->di_gen = random();
275 dp2->di_gen = random();
/freebsd-11-stable/usr.sbin/adduser/
H A Dadduser.sh98 echo " -w password type: no, none, yes or random"
282 random)
283 _passwdmethod="-w random"
296 if [ "random" = "$passwdtype" ]; then
581 # only when the password type is "yes" or "random". If the field is empty and the
583 # and changes the password type accordingly. If the password type is "random"
585 # have a random password and set passwdtype to "yes."
609 random)
611 savedpwtype=random
668 random)
[all...]
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_reconcli.c32 /* try to catch a random slot */
33 usleep(random() % 100000);
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dsort.c163 pointers[i] = (void *) random ();
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dmktemp.c70 #define arc4random() random()
116 /* Fill space with random characters */
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dsort.c163 pointers[i] = (void *) random ();
/freebsd-11-stable/sys/netinet/
H A Digmp_var.h99 #define IGMP_RANDOM_DELAY(X) (random() % (X) + 1)
/freebsd-11-stable/tools/regression/p1003_1b/
H A Dyield.c49 /* buzz: busy wait a random amount of time.
54 int m = random() & 0x0ffff;
185 /* Delay some random amount of time.
/freebsd-11-stable/contrib/llvm-project/libcxx/src/
H A Drandom.cpp1 //===-------------------------- random.cpp --------------------------------===//
16 #include "random"
28 #include <sys/random.h>
44 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
67 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
122 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
125 __throw_system_error(error, ("random device failed to open " + __token).c_str());
151 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DRandom.h1 //===--- Random.h - Utilities for random sampling -------------------------===//
9 // Utilities for random sampling.
16 #include <random>
20 /// Return a uniformly distributed random value between \c Min and \c Max
25 /// Return a uniformly distributed random value of type \c T
/freebsd-11-stable/crypto/heimdal/kadmin/
H A DMakefile.am54 add_random_users_SOURCES = add-random-users.c

Completed in 339 milliseconds

1234567891011>>