Searched refs:srand (Results 1 – 25 of 72) sorted by relevance
123
43 srand(seed); in allow_zero_()70 srand(seed); in allow_zero_()98 srand(seed); in allow_zero_()
46 UniformArcSelector(int seed = time(0)) { srand(seed); }67 LogProbArcSelector(int seed = time(0)) { srand(seed); }
56 srand(GetTickCount()); in initializeRandomNumberGenerator()67 srand(static_cast<unsigned>(time(0))); in initializeRandomNumberGenerator()
66 srand((unsigned)time(NULL)); in randomInt64()86 srand((unsigned)time(NULL)); in randomDouble()120 srand((unsigned)time(NULL)); in randomInt32()
1299 srand((unsigned)time( NULL )); in LanguageGenerator_impl()1419 srand((unsigned)time( NULL )); in TestQuote()1444 srand((unsigned)time( NULL )); in TestAlternation()1467 srand((unsigned)time( NULL )); in TestWeightedRand()1479 srand((unsigned)time( NULL )); in TestRepeat()1690 srand((unsigned)time( NULL )); in TestMorph()1752 srand((unsigned)time( NULL )); in TestWbnf()
79 srand( (unsigned)time( NULL ) ); in TestCollationKey()154 srand( (unsigned)time( NULL ) ); in TestCompare()
150 srand(seed); in TEST_F()177 srand(seed); in TEST_F()228 srand(seed); in TEST_F()
46 srand(seed); in CacheTestFillBuffer()
117 srand(seed); in StressTheCache()
50 srand(seed); in initRandom()
210 srand(1); // test should be deterministic, including calls to rand() in TEST_F()220 srand(1); // test should be deterministic, including calls to rand() in TEST_F()
10 srand(time(NULL)); in main()
47 srand(time(NULL)); in runManyPasses()
54 std::srand(0x6e5ea738); // Seed the random number generator in reduceList()
116 srand(seed); in main()
119 srand(seed); in main()
112 srand((unsigned)(time(NULL) ^ ZCR_SEED2)); in crypthead()
46 srand(0); // Make data deterministic. in TestFlate()
21 srand(time(NULL)); in pkcs_1_test()
105 using _STLP_VENDOR_CSTD::srand;
99 srand (time(0) + x);
64 RandomGenerator(int seed) { srand(seed); } in RandomGenerator()
197 srand(time(NULL)); in main()
245 srand(42); in main()
97 #define srand(x) srandom(x) macro154 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); in get_random_fd()