/src/tests/lib/libc/sys/ |
t_gettimeofday.c | 63 struct timeval tv1, tv2; local in function:ATF_TC_BODY 68 (void)memset(&tv1, 0, sizeof(struct timeval)); 71 ATF_REQUIRE(gettimeofday(&tv1, NULL) == 0); 74 if (timercmp(&tv2, &tv1, <) != 0)
|
/src/tests/lib/librt/ |
t_sched.c | 224 struct timespec tv1, tv2; local in function:ATF_TC_BODY 230 tv1.tv_sec = tv2.tv_sec = -1; 231 tv1.tv_nsec = tv2.tv_nsec = -1; 233 ATF_REQUIRE(sched_rr_get_interval(0, &tv1) == 0); 236 ATF_REQUIRE(tv1.tv_sec != -1); 239 ATF_REQUIRE(tv1.tv_nsec != -1); 242 ATF_REQUIRE(tv1.tv_sec == tv2.tv_sec); 243 ATF_REQUIRE(tv1.tv_nsec == tv2.tv_nsec);
|
/src/lib/libc/rpc/ |
svc_vc.c | 572 struct timeval tv0, tv1; local in function:write_vc 596 gettimeofday(&tv1, NULL); 597 if (tv1.tv_sec - tv0.tv_sec >= 2) {
|
/src/sys/dev/pcmcia/ |
if_ray.c | 343 static struct timeval rtv, tv1, tv2, *ttp, *ltp; variable in typeref:struct:timeval 471 ttp = &tv1;
|
/src/usr.sbin/moused/ |
moused.c | 2128 struct timeval tv1; local in function:r_timestamp 2141 gettimeofday(&tv1, NULL); 2146 timersub(&tv1, &tv2, &tv); 2152 timersub(&tv1, &tv2, &tv3); 2167 bstate[i].tv = tv1; 2170 bstate[i].tv = tv1; 2177 bstate[i].tv = tv1; 2194 struct timeval tv1; local in function:r_timeout 2199 gettimeofday(&tv1, NULL); 2202 timersub(&tv1, &tv2, &tv); [all...] |