OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:jrand_seed
(Results
1 - 1
of
1
) sorted by null
/external/e2fsprogs/lib/uuid/
gen_uuid.c
109
THREAD_LOCAL unsigned short
jrand_seed
[3];
variable
156
jrand_seed
[0] = getpid() ^ (tv.tv_sec & 0xFFFF);
157
jrand_seed
[1] = getppid() ^ (tv.tv_usec & 0xFFFF);
158
jrand_seed
[2] = (tv.tv_sec ^ tv.tv_usec) >> 16;
201
memcpy(tmp_seed,
jrand_seed
, sizeof(tmp_seed));
202
jrand_seed
[2] =
jrand_seed
[2] ^ syscall(__NR_gettid);
205
memcpy(
jrand_seed
, tmp_seed,
206
sizeof(
jrand_seed
)-sizeof(unsigned short));
Completed in 61 milliseconds