Home | History | Annotate | Download | only in testUtil

Lines Matching defs:val

46 double ts2double(const struct timespec *val)
50 rv = val->tv_sec;
51 rv += (double) val->tv_nsec / nSecsPerSec;
57 double tv2double(const struct timeval *val)
61 rv = val->tv_sec;
62 rv += (double) val->tv_usec / uSecsPerSec;
183 uint32_t val;
187 val = lrand48();
191 val ^= lrand48() << 1;
193 return val;
210 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand();
221 val = (val & 0xffff) ^ (val >> 16);
226 val = (val & 0xff) ^ (val >> 8);
230 return val % mod;