HomeSort by: relevance | last modified time | path
    Searched refs:arc4random_uniform (Results 1 - 17 of 17) sorted by relevancy

  /src/games/robots/
rnd_pos.c 58 pos.y = arc4random_uniform(Y_FIELDSIZE - 1) + 1;
59 pos.x = arc4random_uniform(X_FIELDSIZE - 1) + 1;
  /src/games/random/
random.c 107 return arc4random_uniform(denom);
122 selected = (arc4random_uniform(denom) == 0);
132 selected = (arc4random_uniform(denom) == 0);
  /src/games/tetris/
tetris.h 133 #define randshape() (&shapes[arc4random_uniform(7)])
  /src/games/fish/
fish.c 116 if (arc4random_uniform(2) == 1) {
200 if (arc4random_uniform(3) == 1)
204 if (arc4random_uniform(4) == 1)
240 if (arc4random_uniform(3) == 1) {
252 if (arc4random_uniform(1024) == 0723) {
341 if (arc4random_uniform(1024) == 0723)
345 if (arc4random_uniform(1024) == 0723)
419 j = arc4random_uniform(TOTCARDS-i);
  /src/lib/libcrypt/
crypt-sha1.c 82 return hint - arc4random_uniform(hint / 4);
  /src/lib/libc/stdio/
gettemp.c 89 r = arc4random_uniform((unsigned int)(sizeof(padchar) - 1));
  /src/tests/net/net/
t_ip_reass.c 250 ipid = arc4random_uniform(UINT16_MAX + 1);
330 ipid = arc4random_uniform(UINT16_MAX + 1);
387 ipid = arc4random_uniform(UINT16_MAX + 1);
  /src/tests/kernel/
t_zombie.c 251 sig = 1 + arc4random_uniform(NSIG - 2);
  /src/usr.bin/shuffle/
shuffle.c 76 k = arc4random_uniform(j + 1);
  /src/games/fortune/fortune/
fortune.c 929 choice = arc4random_uniform(100);
949 choice = arc4random_uniform(Noprob_tbl.str_numstr);
990 choice = arc4random_uniform(parent->num_children);
1000 choice = arc4random_uniform(parent->tbl.str_numstr);
1080 fp->pos = arc4random_uniform(fp->tbl.str_numstr);
1086 fp->pos = arc4random_uniform(fp->tbl.str_numstr);
  /src/usr.sbin/timed/timed/
timed.c 241 sequence = (u_short)arc4random_uniform(UINT16_MAX);
332 delay1 = 1L + arc4random_uniform((100 * 1000L) - 1L);
335 delay2 = MINTOUT + arc4random_uniform(MAXTOUT - MINTOUT);
  /src/tests/lib/libc/stdio/
h_intr.c 322 return arc4random_uniform(2);
331 switch (arc4random_uniform(3)) {
  /src/include/
stdlib.h 278 uint32_t arc4random_uniform(uint32_t);
  /src/lib/libc/gen/
Makefile.inc 95 arc4random.3 arc4random_stir.3 arc4random.3 arc4random_uniform.3
arc4random.c 81 __weak_alias(arc4random_uniform,_arc4random_uniform)
779 arc4random_uniform(uint32_t bound) function in typeref:typename:uint32_t
  /src/lib/libc/include/
namespace.h 211 #define arc4random_uniform _arc4random_uniform macro
  /src/usr.bin/nc/
netcat.c 1447 cp = arc4random_uniform(x + 1);

Completed in 22 milliseconds