Searched refs:rng (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libast/path/
H A Dpathtemp.c92 uint32_t rng; member in struct:__anon300
152 tmp.key = (tmp.seed = (tmp.rng = dir ? (uint32_t)strtoul(dir, NiL, 0) : (uint32_t)1) != 0)? (uint32_t)0x63c63cd9L : 0;
291 if (!tmp.rng || !tmp.seed && (attempt || tmp.pid != getpid()))
300 tmp.rng = (uint32_t)tmp.pid * ((uint32_t)time(NiL) ^ (((uint32_t)integralof(&attempt)) >> 3) ^ (((uint32_t)integralof(tmp.dir)) >> 3));
302 tmp.key = (tmp.rng >> 16) | ((tmp.rng & 0xffff) << 16);
303 tmp.rng ^= tmp.key;
309 if ((r = (tmp.rng - 1) & 03))
310 tmp.rng += 4 - r;
317 key = tmp.rng * tm
[all...]

Completed in 276 milliseconds