Lines Matching refs:randseed
187 static unsigned int randseed; in Curl_rand() local
195 size_t clen = sizeof(randseed); in Curl_rand()
197 memcpy((char *)&randseed, force_entropy, min); in Curl_rand()
201 randseed++; in Curl_rand()
202 return randseed; in Curl_rand()
219 ssize_t nread = read(fd, &randseed, sizeof(randseed)); in Curl_rand()
220 if(nread == sizeof(randseed)) in Curl_rand()
230 randseed += (unsigned int)now.tv_usec + (unsigned int)now.tv_sec; in Curl_rand()
231 randseed = randseed * 1103515245 + 12345; in Curl_rand()
232 randseed = randseed * 1103515245 + 12345; in Curl_rand()
233 randseed = randseed * 1103515245 + 12345; in Curl_rand()
238 r = randseed = randseed * 1103515245 + 12345; in Curl_rand()