/original-bsd/old/crypt/ |
H A D | crypt.c | 26 long seed; local 49 seed = 123; 51 seed = seed*buf[i] + i; 57 seed = 5*seed + buf[i%13]; 58 random = seed % 65521; 123 static long seed = 123; local 126 seed = 5*seed + buf[i%13]; 127 random = seed % 65521;
|
/original-bsd/games/ching/cno/ |
H A D | ching.cno.c | 30 unsigned seed; /* seed for random number generator */ variable 46 seed = (int)now + getquest() + getgid() + getuid() + getpid(); /* randomize */ in main() 93 return(seed = (seed*13077) + 6925); in getrand()
|
/original-bsd/lib/libc/stdlib/ |
H A D | rand.c | 24 srand(seed) in srand() argument 25 u_int seed; in srand() 27 next = seed;
|
H A D | random.c | 227 initstate(seed, arg_state, n) in initstate() argument 228 unsigned long seed; /* seed for R.N.G. */ in initstate() 267 srandom(seed);
|
/original-bsd/usr.bin/f77/libF77/ |
H A D | rand_.s.vax | 35 _nitval:.long 1 # seed 39 .globl _isrand_ # set the random seed 40 _isrand_: .word 0 # isrand(seed) int seed; 41 movl _nitval,r0 # return old seed 55 ir0: movl *4(ap),_randx # new seed 56 movl *4(ap),_nitval # new seed 89 dr1: movl *4(ap),_randx # new seed 90 movl *4(ap),_nitval # new seed
|
H A D | rand_.c.other | 20 srand_(x) /* subroutine to set seed */
|
/original-bsd/contrib/dungeon/ |
H A D | rtim.c | 67 int seed; local 69 seed = *seedptr; 70 srand(seed);
|
/original-bsd/usr.bin/xsend/common_source/ |
H A D | lib.c | 74 unsigned seed; in mkb() local 75 seed = 123; in mkb() 77 seed = seed*buf[i] + i; in mkb() 78 srand(seed); in mkb()
|
/original-bsd/games/fortune/ |
H A D | rnd.c | 234 initstate( seed, arg_state, n ) in initstate() argument 236 unsigned seed; /* seed for R. N. G. */ in initstate() 281 srandom( seed );
|
/original-bsd/games/atc/ |
H A D | main.c | 36 int seed; local 47 start_time = seed = time(0); 75 seed = atoi(*av); 92 srandom(seed);
|
/original-bsd/usr.bin/tn3270/tools/mkhits/ |
H A D | dohits.c | 51 dohash(seed, string) in dohash() argument 52 unsigned int seed; in dohash() 55 register unsigned int i = seed;
|
/original-bsd/usr.sbin/sendmail/src/ |
H A D | domain.c | 352 static unsigned int seed; local 354 if (seed == 0) 356 seed = (int) curtime() & 0xffff; 357 if (seed == 0) 358 seed++; 364 hfunc = seed;
|
/original-bsd/games/rogue/ |
H A D | init.c | 54 int seed; local 83 seed = md_gseed(); 84 (void) srrandom(seed);
|
/original-bsd/games/boggle/boggle/ |
H A D | mach.c | 54 setup(sflag, seed) in setup() argument 56 long seed; 64 time(&seed); 65 srandom(seed); 67 (void) printf("seed = %ld\n", seed);
|
H A D | bog.c | 97 long seed; local 116 seed = atol(optarg); 160 setup(sflag, seed);
|
H A D | helpfile | 32 -s#: use # as the random number seed
|
/original-bsd/lib/libtelnet/ |
H A D | enc_des.c | 521 fb64_stream_iv(seed, stp) in fb64_stream_iv() argument 522 Block seed; in fb64_stream_iv() 526 memmove((void *)stp->str_iv, (void *)seed, sizeof(Block)); 527 memmove((void *)stp->str_output, (void *)seed, sizeof(Block));
|
/original-bsd/bin/ed/ |
H A D | ed.c | 1755 long seed; local 1782 seed = 123; 1784 seed = seed*buf[i] + i; 1790 seed = 5*seed + buf[i%13]; 1791 random = seed % 65521;
|
/original-bsd/share/doc/papers/px/ |
H A D | fig2.3.raw | 81 SEED 2.13 Set random seed, return old seed
|
/original-bsd/games/hack/ |
H A D | data | 173 a grafted tree, or one grown from a cutting, not from seed.
|
/original-bsd/contrib/emacs-18.57/src/ |
H A D | sysdep.c | 3723 srandom (seed) in srandom() argument 3725 srand (seed); in srandom()
|
/original-bsd/games/adventure/ |
H A D | glorkz | 1477 100 have no bird seed.
|
/original-bsd/local/toolchest/ksh/ |
H A D | sh.memo | 1624 Assignment to this variable sets the seed for the
|
/original-bsd/games/fortune/datfiles/ |
H A D | fortunes | 312 into place but a seed to be planted and to bear more seed toward the 4248 large amounts of seed and the male oysters cast out large 15955 over for a caraway seed and Tony Calio's heart.
|
/original-bsd/share/dict/ |
H A D | words | 20342 seed
|