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

/bionic/libc/bionic/
H A Drand.cpp19 // The BSD rand/srand is very weak. glibc just uses random/srandom instead.
28 return srandom(seed);
/bionic/benchmarks/
H A Dproperty_benchmark.cpp70 srandom(nprops);
153 srandom(iters * nprops);
172 srandom(iters * nprops);
191 srandom(iters * nprops);
217 srandom(iters * nprops);
/bionic/libc/include/android/
H A Dlegacy_stdlib_inlines.h56 static __inline void srandom(unsigned int __s) { srand48(__s); } function
/bionic/libstdc++/include/
H A Dcstdlib87 using ::srandom;
/bionic/libc/include/
H A Dstdlib.h129 _BIONIC_NOT_BEFORE_21(void srandom(unsigned int);)
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
H A Drandom.c53 __weak_alias(srandom,_srandom)
182 * Note that this initialization takes advantage of the fact that srandom()
255 * srandom:
305 srandom(unsigned int x) function
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 */
/bionic/tests/
H A Dstdlib_test.cpp96 srandom(0x01020304);
101 srandom(0x01020304);
104 srandom(0x01020304);
H A Dstring_test.cpp166 srandom(1234);

Completed in 168 milliseconds