| /src/lib/libc/compat/stdlib/ |
| compat_random.c | 48 __weak_alias(srandom,_srandom) 54 __warn_references(srandom, 55 "warning: reference to compatibility srandom();" 64 srandom(unsigned long seed) { function in typeref:typename:void
|
| /src/lib/libc/compat/include/ |
| stdlib.h | 47 void srandom(unsigned long);
|
| /src/sys/external/isc/libsodium/dist/test/quirks/ |
| quirks.h | 41 srandom(unsigned seed) function in typeref:typename:void
|
| /src/games/trek/ |
| main.c | 173 srandom((long) time(NULL));
|
| /src/tests/lib/libc/stdlib/ |
| t_random.c | 60 srandom(0);
|
| /src/games/mille/ |
| mille.c | 95 srandom((long) time(NULL)); 97 srandom(0);
|
| mille.h | 164 #define srandom(x) srand(x) macro
|
| /src/tests/sys/uvm/ |
| t_uvm_physseg_load.c | 342 srandom((unsigned)time(NULL)); 371 srandom((unsigned)time(NULL)); 400 srandom((unsigned)time(NULL)); 429 srandom((unsigned)time(NULL)); 458 srandom((unsigned)time(NULL)); 487 srandom((unsigned)time(NULL)); 516 srandom((unsigned)time(NULL)); 558 srandom((unsigned)time(NULL)); 607 srandom((unsigned)time(NULL)); 656 srandom((unsigned)time(NULL)) [all...] |
| /src/games/adventure/ |
| setup.c | 95 srandom(SEED);
|
| save.c | 543 srandom((int) sum); 697 srandom(key); 808 srandom(key);
|
| /src/games/battlestar/ |
| init.c | 57 srandom(time(NULL));
|
| /src/games/sail/ |
| main.c | 81 srandom((u_long)time(NULL));
|
| /src/lib/libm/noieee_src/ |
| n_fmod.c | 151 srandom(12345);
|
| /src/tests/include/sys/ |
| t_tree.c | 107 srandom(4711);
|
| /src/games/phantasia/ |
| setup.c | 48 / fgets(), floor(), srandom(), umask(), drandom(), strcpy(), getuid(), 102 srandom((unsigned) time(NULL)); /* prime random numbers */
|
| /src/regress/sys/fs/lfs/9994/ |
| 9994_f.c | 100 srandom(rseed);
|
| /src/tests/lib/libc/string/ |
| t_memcpy.c | 92 srandom(0L);
|
| /src/tests/rump/rumpkern/h_client/ |
| h_reconcli.c | 94 srandom(time(NULL));
|
| /src/common/lib/libc/stdlib/ |
| random.c | 53 __weak_alias(srandom,_srandom) 182 * Note that this initialization takes advantage of the fact that srandom() 255 * srandom: 305 srandom(unsigned int x) function in typeref:typename:void 319 * one we can and set things up for it. srandom() is then called to 322 * Note that on return from srandom(), we set state[-1] to be the type 379 end_ptr = &state[rand_deg]; /* must set end_ptr before srandom */
|
| /src/games/warp/ |
| warp.c | 320 srandom(getpid());
|
| /src/tests/fs/puffs/ |
| t_fuzz.c | 219 srandom(seed);
|
| /src/tests/fs/vfs/ |
| t_vfsops.c | 171 srandom(seed = time(NULL));
|
| /src/tests/lib/libpthread/ |
| h_resolv.c | 151 srandom(1234);
|
| /src/usr.bin/btpin/ |
| btpin.c | 125 srandom(time(NULL));
|
| /src/bin/stty/ |
| key.c | 220 srandom(time(NULL));
|