Home
last modified time | relevance | path

Searched refs:srand (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/u-boot/drivers/crypto/
H A Dace_sha.c120 void srand(unsigned int seed) in srand() function
150 srand(seed); in rand()
179 srand(*seedp); in rand_r()
/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_explicit_test.c35 srand(gettid()); in dscr_explicit_lockstep_thread()
62 srand(gettid()); in dscr_explicit_lockstep_test()
101 srand(gettid()); in dscr_explicit_random_thread()
H A Ddscr_inherit_test.c27 srand(getpid()); in dscr_inherit()
H A Ddscr_default_test.c86 srand(gettid()); in dscr_default_random_thread()
/openbmc/u-boot/lib/
H A Drand.c28 void srand(unsigned int seed) in srand() function
/openbmc/u-boot/tools/
H A Dgen_eth_addr.c17 srand(time(0) + (getpid() << 8)); in main()
/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock-random-test.c154 srand(time(NULL)); in test_mlock_within_limit()
231 srand(time(NULL)); in test_mlock_outof_limit()
H A Dmremap_test.c298 srand(pattern_seed); in remap_region()
336 srand(pattern_seed); in remap_region()
/openbmc/phosphor-logging/test/
H A Delog_update_ts_test.cpp51 std::srand(std::time(nullptr)); in TEST()
122 std::srand(std::time(nullptr)); in TEST()
/openbmc/u-boot/net/
H A Dnet_rand.h40 srand(seed_mac()); in srand_mac()
/openbmc/libcper/generator/
H A Dgen-utils.c47 srand(1); in init_random()
/openbmc/linux/tools/testing/selftests/media_tests/
H A Dmedia_device_test.c75 srand((unsigned int) time(NULL)); in main()
H A Dvideo_device_test.c89 srand((unsigned int) time(NULL)); in loop_test()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbpf_rand.h32 srand(time(NULL)); in bpf_semi_rand_init()
/openbmc/linux/tools/testing/selftests/powerpc/math/
H A Dfpu_preempt.c47 srand(pthread_self()); in preempt_fpu_c()
H A Dvmx_preempt.c47 srand(pthread_self()); in preempt_vmx_c()
H A Dfpu_signal.c66 srand(pthread_self()); in signal_fpu_c()
H A Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
H A Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/openbmc/linux/tools/testing/selftests/sync/
H A Dsync_stress_merge.c46 srand(time(NULL)); in test_merge_stress_random_merge()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmmio_warning_test.c70 srand(getpid()); in test()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c37 srand(time(NULL) ^ (pid << 16) ^ (tid << 16)); in execute_thread()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-gpr.c125 srand(seed); in ptrace_gpr()
/openbmc/linux/tools/testing/selftests/ir/
H A Dir_loopback.c109 srand(time(NULL)); in main()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A D0001-__progname-is-provided-by-libc.patch43 srand(time(NULL) ^ getpid());

123