/third_party/musl/libc-test/src/functionalext/supplement/prng/ |
H A D | srand.c | 22 * @tc.desc : Test the srand function to set the random number seed 29 srand(10); in srand_0100() 33 srand(10); in srand_0100() 39 t_error("%s srand rand in %d is %d , %d \n", __func__, i, a[i], b[i]); in srand_0100() 53 srand(10); in srand_0200() 55 srand(500); in srand_0200() 58 t_error("%s srand get rand is %d , %d \n", __func__, a, b); in srand_0200()
|
H A D | rand.c | 30 srand((unsigned int)time(0)); in rand_0100()
|
/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.cpp | 257 srand(0); in main() 278 srand(0); in main() 290 srand(0); in main() 301 srand(0); in main()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 257 srand(1); in determine_nr_of_files() 265 srand(1); in determine_nr_of_files() 451 srand(1); in make_fractal_tree()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | MetaRenamer.cpp | 50 void srand(unsigned int seed) { in srand() function 62 prng.srand(seed); in Renamer()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | winnmtst.cpp | 71 srand((unsigned)time(NULL)); in randomInt64() 91 srand((unsigned)time(NULL)); in randomDouble() 125 srand((unsigned)time(NULL)); in randomInt32()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress09.c | 87 extern void srand(unsigned); 474 * Use srand/rand to diffuse the information from the in initrand() 479 srand((unsigned int)getpid()); in initrand() 481 srand((unsigned int)time(NULL)); in initrand()
|
/third_party/musl/porting/liteos_m/kernel/src/prng/ |
H A D | rand.c | 4 void srand(unsigned s)
in srand() function
|
/third_party/musl/porting/uniproton/kernel/src/prng/ |
H A D | rand.c | 4 void srand(unsigned s)
in srand() function
|
/third_party/musl/src/prng/ |
H A D | rand.c | 6 void srand(unsigned s) in srand() function
|
/third_party/jerryscript/jerry-main/ |
H A D | libfuzzer.c | 22 srand (0); in LLVMFuzzerTestOneInput()
|
/third_party/musl/libc-test/src/functionalext/supplement/prng/prng_gtest/ |
H A D | prng_rand_test.cpp | 14 * setting the seed value to 0x01020304 using the srand function meets the expected value. 19 srand(0x010203); in HWTEST_F()
|
/third_party/jerryscript/tests/unit-core/ |
H A D | test-common.h | 53 srand (now.u); \
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl06.c | 171 srand(getpid()); in dotest() 261 srand(getpid()); in dosemas()
|
/third_party/libdrm/tests/exynos/ |
H A D | exynos_fimg2d_perf.c | 55 srand(time(NULL)); in fimg2d_perf_simple() 141 srand(time(NULL)); in fimg2d_perf_multi()
|
/third_party/cups-filters/ |
H A D | config.h | 92 # define CUPS_SRAND(v) srand(v)
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | test-sort.c | 23 srand (N); in main()
|
/third_party/eudev/src/shared/ |
H A D | random-util.c | 107 srand(x); in initialize_srand()
|
/third_party/glfw/tests/ |
H A D | timeout.c | 60 srand((unsigned int) time(NULL)); in main()
|
/third_party/cups/ |
H A D | config.h | 92 # define CUPS_SRAND(v) srand(v)
|
/third_party/jerryscript/targets/esp8266/user/ |
H A D | jerry_run.c | 30 srand (now.u); in js_entry()
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/ |
H A D | launcher.cpp | 72 srand (now.u); in jsmbed_js_init()
|
/third_party/jerryscript/targets/riot-stm32f4/source/ |
H A D | main-riotos.c | 102 srand (now.u); in main()
|
/third_party/ninja/src/ |
H A D | hash_collision_bench.cc | 43 srand((int)time(NULL)); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop04.c | 76 tst_res(TINFO, "srand seed is %d", SEED); in run() 77 srand(SEED); in run()
|