Lines Matching refs:val
47 double ts2double(const struct timespec *val) in ts2double() argument
51 rv = val->tv_sec; in ts2double()
52 rv += (double) val->tv_nsec / nSecsPerSec; in ts2double()
58 double tv2double(const struct timeval *val) in tv2double() argument
62 rv = val->tv_sec; in tv2double()
63 rv += (double) val->tv_usec / uSecsPerSec; in tv2double()
184 uint32_t val; in testRand() local
188 val = lrand48(); in testRand()
192 val ^= lrand48() << 1; in testRand()
194 return val; in testRand()
211 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand(); in testRandMod() local
222 val = (val & 0xffff) ^ (val >> 16); in testRandMod()
227 val = (val & 0xff) ^ (val >> 8); in testRandMod()
231 return val % mod; in testRandMod()