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

/haiku/src/add-ons/screen_savers/glife/
H A DGLifeSaver.cpp36 srandom(system_time());
/haiku/src/kits/support/
H A DUuid.cpp34 srandom(seed);
/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c142 * Note that this initialization takes advantage of the fact that srandom()
219 * srandom:
231 srandom(unsigned int x) function
257 * which are impossible to reproduce by calling srandom() with any
298 * one we can and set things up for it. srandom() is then called to
301 * Note that on return from srandom(), we set state[-1] to be the type
349 end_ptr = &state[rand_deg]; /* must set end_ptr before srandom */
350 srandom(seed);
/haiku/headers/posix/
H A Dstdlib.h107 extern void srandom(unsigned int seed);
/haiku/src/libs/uuid/
H A Dgen_uuid.c58 #define srand(x) srandom(x)
106 * and if not, use srandom/random.
/haiku/src/system/libroot/posix/glibc/stdlib/
H A Dstdlib.h419 /* These are the functions that actually do things. The `random', `srandom',
427 extern void srandom (unsigned int __seed) __THROW;
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp285 srandom(system_time());
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c2475 void srandom() {} function
H A Dlibroot_stubs_legacy.c2466 void srandom() {} function
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c4656 srandom(le64_to_cpu(mkntfs_time())/10000000);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.c376 srandom(time((time_t*)NULL) ^ (getpid() << 16));

Completed in 463 milliseconds