Home
last modified time | relevance | path

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

12345678910>>...12

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dcert-msc32-c.c3 void srand(int seed);
8 srand(1); in f()
12 srand(a); in f()
16 srand(time(&t)); // Disallowed seed type in f()
23 srand(a); in g()
26 srand(b); // Can not evaluate as int in g()
Dcert-msc51-cpp.cpp6 void srand(int seed);
73 std::srand(0); in f()
75 std::srand(seed); in f()
77 std::srand(time(&t)); in f()
/external/ms-tpm-20-ref/TPMCmd/Platform/src/
DEntropy.c122 srand((unsigned)_plat__RealTime() ^ _getpid()); in _plat__GetEntropy()
124 srand((unsigned)_plat__RealTime() ^ getpid()); in _plat__GetEntropy()
/external/skia/tools/fiddle/
Dfiddle_main.cpp255 srand(0); in main()
276 srand(0); in main()
288 srand(0); in main()
299 srand(0); in main()
/external/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp35 void srand(unsigned int seed) { in srand() function
53 prng.srand(seed); in Renamer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp50 void srand(unsigned int seed) { in srand() function
62 prng.srand(seed); in Renamer()
/external/skqp/tools/fiddle/
Dfiddle_main.cpp277 srand(0); in main()
297 srand(0); in main()
306 srand(0); in main()
316 srand(0); in main()
/external/ltp/testcases/kernel/fs/mongo/
Dreiser_fract_tree.c257 srand(1); in determine_nr_of_files()
265 srand(1); in determine_nr_of_files()
451 srand(1); in make_fractal_tree()
/external/llvm-project/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp51 void srand(unsigned int seed) { next = seed; } in srand() function
60 Renamer(unsigned int seed) { prng.srand(seed); } in Renamer()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp71 srand((unsigned)time(NULL)); in randomInt64()
91 srand((unsigned)time(NULL)); in randomDouble()
125 srand((unsigned)time(NULL)); in randomInt32()
/external/webrtc/modules/audio_processing/vad/
Dvoice_activity_detector_unittest.cc128 std::srand(42); in TEST()
151 std::srand(42); in TEST()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c88 extern void srand(unsigned);
480 srand((unsigned int)getpid()); in initrand()
482 srand((unsigned int)time(NULL)); in initrand()
/external/libvpx/libvpx/test/
Dadd_noise_test.cc115 srand(0); in TEST_P()
118 srand(0); in TEST_P()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c153 srand(time(NULL)); in test_mlock_within_limit()
230 srand(time(NULL)); in test_mlock_outof_limit()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dvccompat.h42 #define srandom srand
/external/grpc-grpc/test/core/util/
Dport_isolated_runtime_environment.cc37 srand(gpr_now(GPR_CLOCK_REALTIME).tv_nsec); in get_random_port_offset()
/external/llvm-project/compiler-rt/test/fuzzer/
DReloadTest.cpp14 std::srand(Seed); in LLVMFuzzerCustomMutator()
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_explicit_test.c24 srand(getpid()); in dscr_explicit()
Ddscr_inherit_test.c25 srand(getpid()); in dscr_inherit()
/external/one-true-awk/testdir/
DT.builtin18 s = srand(1) # set a real random start
21 srand(s) # reset it
/external/google-breakpad/src/processor/
Dstatic_address_map_unittest.cc69 srand(time(NULL)); in SetUp()
122 srand(time(0)); in RetrieveTester()
/external/linux-kselftest/tools/testing/selftests/media_tests/
Dmedia_device_test.c75 srand((unsigned int) time(NULL)); in main()
/external/compiler-rt/test/builtins/timing/
Dfloatundidf.c19 srand(42); in main()
Dfloatundixf.c22 srand(42); in main()
/external/llvm-project/compiler-rt/test/builtins/timing/
Dfloatundidf.c19 srand(42); in main()

12345678910>>...12