Home
last modified time | relevance | path

Searched refs:randseed (Results 1 – 10 of 10) sorted by relevance

/external/curl/lib/
Drand.c43 static unsigned int randseed; in randit() local
55 randseed = ntohl(seed); in randit()
59 randseed++; in randit()
60 *rnd = randseed; in randit()
80 ssize_t nread = read(fd, &randseed, sizeof(randseed)); in randit()
81 if(nread == sizeof(randseed)) in randit()
91 randseed += (unsigned int)now.tv_usec + (unsigned int)now.tv_sec; in randit()
92 randseed = randseed * 1103515245 + 12345; in randit()
93 randseed = randseed * 1103515245 + 12345; in randit()
94 randseed = randseed * 1103515245 + 12345; in randit()
[all …]
/external/python/cpython2/Lib/test/
Dtest_regrtest.py182 randseed = int(match.group(1))
183 self.assertTrue(0 <= randseed <= 10000000, randseed)
184 return randseed
389 randseed = self.parse_random_seed(output)
394 output = self.run_tests('-r', '-v', '--randseed=%s' % randseed, test)
396 self.assertEqual(randseed2, randseed)
/external/libsrtp2/fuzzer/
Dfuzzer.c838 uint32_t randseed; in LLVMFuzzerTestOneInput() local
855 EXTRACT_IF(&randseed, data, size, sizeof(randseed)); in LLVMFuzzerTestOneInput()
856 fuzz_mt19937_init(randseed); in LLVMFuzzerTestOneInput()
857 srand(randseed); in LLVMFuzzerTestOneInput()
/external/python/cpython3/Lib/test/
Dtest_regrtest.py512 randseed = int(match.group(1))
513 self.assertTrue(0 <= randseed <= 10000000, randseed)
514 return randseed
753 randseed = self.parse_random_seed(output)
758 output = self.run_tests('-r', '--randseed=%s' % randseed, test)
760 self.assertEqual(randseed2, randseed)
/external/lua/src/
Dlmathlib.c610 static void randseed (lua_State *L, RanState *state) { in randseed() function
620 randseed(L, state); in math_randomseed()
643 randseed(L, state); /* initialize with a "random" seed */ in setrandfunc()
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py1163 randseed = int(time.time()) variable
1164 random.seed(randseed)
1234 log("Random seed: %d", randseed)
1236 log("\n\nRandom seed: %d\n\n", randseed)
/external/curl/tests/
Druntests.pl348 my $randseed = 0;
3187 logmsg ("* Seed: $randseed\n");
5268 $randseed = $1;
5396 if(!$randseed) {
5400 $randseed = ($year+1900)*100 + $mon+1;
5406 $randseed += unpack('S', $str); # unsigned 16 bit value
5408 srand $randseed;
/external/python/cpython3/Doc/whatsnew/
D2.7.rst2412 * The :file:`regrtest.py` script now takes a :option:`!--randseed=`
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2388 * The :file:`regrtest.py` script now takes a :option:`!--randseed=`
/external/python/cpython3/Misc/
DHISTORY5997 - Issue #18375: Assume --randomize when --randseed is used for running the