Home
last modified time | relevance | path

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

123

/external/srec/tools/thirdparty/OpenFst/fst/lib/
Drandom-weight.h43 srand(seed); in allow_zero_()
70 srand(seed); in allow_zero_()
98 srand(seed); in allow_zero_()
Drandgen.h46 UniformArcSelector(int seed = time(0)) { srand(seed); }
67 LogProbArcSelector(int seed = time(0)) { srand(seed); }
/external/webkit/Source/JavaScriptCore/wtf/
DRandomNumberSeed.h56 srand(GetTickCount()); in initializeRandomNumberGenerator()
67 srand(static_cast<unsigned>(time(0))); in initializeRandomNumberGenerator()
/external/icu4c/test/intltest/
Dwinnmtst.cpp66 srand((unsigned)time(NULL)); in randomInt64()
86 srand((unsigned)time(NULL)); in randomDouble()
120 srand((unsigned)time(NULL)); in randomInt32()
Dwbnf.cpp1299 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()
Dmnkytst.cpp79 srand( (unsigned)time( NULL ) ); in TestCollationKey()
154 srand( (unsigned)time( NULL ) ); in TestCompare()
/external/chromium/net/disk_cache/
Ddisk_cache_perftest.cc150 srand(seed); in TEST_F()
177 srand(seed); in TEST_F()
228 srand(seed); in TEST_F()
Ddisk_cache_test_util.cc46 srand(seed); in CacheTestFillBuffer()
Dstress_cache.cc117 srand(seed); in StressTheCache()
/external/webkit/Source/WebKit/chromium/tests/
DTreeTestHelpers.cpp50 srand(seed); in initRandom()
/external/chromium/sdch/open-vcdiff/src/
Drolling_hash_test.cc210 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()
/external/dropbear/libtommath/etc/
Dmont.c10 srand(time(NULL)); in main()
/external/llvm/tools/bugpoint/
DFindBugs.cpp47 srand(time(NULL)); in runManyPasses()
DListReducer.h54 std::srand(0x6e5ea738); // Seed the random number generator in reduceList()
/external/webkit/Tools/mangleme/
Dmangle.cgi.c116 srand(seed); in main()
Dremangle.cgi.c119 srand(seed); in main()
/external/zlib/contrib/minizip/
Dcrypt.h112 srand((unsigned)(time(NULL) ^ ZCR_SEED2)); in crypthead()
/external/skia/tests/
DFlateTest.cpp46 srand(0); // Make data deterministic. in TestFlate()
/external/dropbear/libtomcrypt/testprof/
Dpkcs_1_test.c21 srand(time(NULL)); in pkcs_1_test()
/external/stlport/stlport/stl/
D_cstdlib.h105 using _STLP_VENDOR_CSTD::srand;
/external/netcat/data/
Ddata.c99 srand (time(0) + x);
/external/valgrind/unittest/
Dold_test_suite.cc64 RandomGenerator(int seed) { srand(seed); } in RandomGenerator()
/external/valgrind/main/drd/tests/
Dcircular_buffer.c197 srand(time(NULL)); in main()
/external/webrtc/src/system_wrappers/test/TestSort/
DTestSort.cpp245 srand(42); in main()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c97 #define srand(x) srandom(x) macro
154 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); in get_random_fd()

123