Searched refs:srandom (Results 1 - 12 of 12) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Drandom.c23 * - giving srandom() type void instead of allowing it to default to int
28 * the beginning of function srandom
32 * - remove useless variable `j' from srandom()
134 * Note that this initialization takes advantage of the fact that srandom()
192 * srandom:
205 srandom( x ) function
232 * the best (largest) one we can and set things up for it. srandom() is
234 * Note that on return from srandom(), we set state[-1] to be the type
291 end_ptr = &state[ rand_deg ]; /* must set end_ptr before srandom */
292 srandom( see
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Drandom.c23 * - giving srandom() type void instead of allowing it to default to int
28 * the beginning of function srandom
32 * - remove useless variable `j' from srandom()
134 * Note that this initialization takes advantage of the fact that srandom()
192 * srandom:
205 srandom( x ) function
232 * the best (largest) one we can and set things up for it. srandom() is
234 * Note that on return from srandom(), we set state[-1] to be the type
291 end_ptr = &state[ rand_deg ]; /* must set end_ptr before srandom */
292 srandom( see
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h226 #define srandom nh_srandom macro
H A Dsystem.h83 E void FDECL(srandom, (unsigned int));
86 E int FDECL(srandom, (unsigned int));
H A Dextern.h1631 E void FDECL(srandom, (unsigned));
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dvmsconf.h226 #define srandom nh_srandom macro
H A Dsystem.h83 E void FDECL(srandom, (unsigned int));
86 E int FDECL(srandom, (unsigned int));
H A Dextern.h1631 E void FDECL(srandom, (unsigned));
/seL4-refos-master/libs/libmuslc/src/prng/
H A Drandom.c65 void srandom(unsigned seed) { function
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dhacklib.c466 #ifdef RANDOM /* srandom() from sys/share/random.c */
467 srandom((unsigned int) time((time_t *)0));
469 # if defined(__APPLE__) || defined(BSD) || defined(LINUX) || defined(ULTRIX) || defined(CYGWIN32) /* system srandom() */
474 srandom((int) time((long *)0));
476 srandom((int) time((time_t *)0));
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dhacklib.c466 #ifdef RANDOM /* srandom() from sys/share/random.c */
467 srandom((unsigned int) time((time_t *)0));
469 # if defined(__APPLE__) || defined(BSD) || defined(LINUX) || defined(ULTRIX) || defined(CYGWIN32) /* system srandom() */
474 srandom((int) time((long *)0));
476 srandom((int) time((time_t *)0));
/seL4-refos-master/libs/libmuslc/include/
H A Dstdlib.h115 void srandom (unsigned int);

Completed in 75 milliseconds