| /src/tests/lib/libc/sys/ |
| t_gettimeofday.c | 63 struct timeval tv1, tv2; local 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 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/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| test_crypto.c | 43 struct timeval tv1, tv2; local 69 gettimeofday(&tv1, NULL); 80 timevalsub(&tv2, &tv1); 99 struct timeval tv1, tv2; local 113 gettimeofday(&tv1, NULL); 125 timevalsub(&tv2, &tv1);
|
| test_rfc3961.c | 43 struct timeval tv1, tv2; local 69 gettimeofday(&tv1, NULL); 80 timevalsub(&tv2, &tv1); 99 struct timeval tv1, tv2; local 113 gettimeofday(&tv1, NULL); 125 timevalsub(&tv2, &tv1);
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| test_rsa.c | 246 struct timeval tv1, tv2; local 258 gettimeofday(&tv1, NULL); 268 timevalsub(&tv2, &tv1); 282 struct timeval tv1, tv2; local 305 gettimeofday(&tv1, NULL); 310 timevalsub(&tv2, &tv1);
|
| /src/external/bsd/ntp/dist/kernel/sys/ |
| bsd_audioirig.h | 80 struct timeval tv1,tv2,tv3; /* time stamps (median filter) */ member in struct:auib
|
| /src/lib/libc/rpc/ |
| svc_vc.c | 572 struct timeval tv0, tv1; local 596 gettimeofday(&tv1, NULL); 597 if (tv1.tv_sec - tv0.tv_sec >= 2) {
|
| /src/crypto/external/bsd/heimdal/dist/kdc/ |
| connect.c | 1100 struct timeval tv1; local 1160 tv1.tv_sec = 0; 1161 tv1.tv_usec = 0; 1171 if (tv1.tv_sec == tv2.tv_sec && tv2.tv_usec - tv1.tv_usec < 25000) { 1210 gettimeofday(&tv1, NULL); 1224 gettimeofday(&tv1, NULL); 1225 tv2 = tv1; 1239 if (tv3.tv_sec - tv1.tv_sec > 10 || 1240 (tv3.tv_sec - tv1.tv_sec == 10 && tv3.tv_usec >= tv1.tv_usec) [all...] |
| /src/external/bsd/libevent/dist/test/ |
| regress_util.c | 1364 struct timeval tv1, tv2, tv3, diff1, diff2; local 1369 evutil_gettimeofday(&tv1, NULL); 1375 evutil_timersub(&tv2, &tv1, &diff1);
|
| /src/external/bsd/ntp/dist/sntp/libevent/test/ |
| regress_util.c | 1361 struct timeval tv1, tv2, tv3, diff1, diff2; local 1366 evutil_gettimeofday(&tv1, NULL); 1372 evutil_timersub(&tv2, &tv1, &diff1);
|
| /src/sys/dev/pcmcia/ |
| if_ray.c | 343 static struct timeval rtv, tv1, tv2, *ttp, *ltp; variable in typeref:struct: 471 ttp = &tv1;
|
| /src/usr.sbin/moused/ |
| moused.c | 2128 struct timeval tv1; local 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 2199 gettimeofday(&tv1, NULL); 2202 timersub(&tv1, &tv2, &tv); [all...] |
| /src/external/bsd/libbind/dist/tests/ |
| dig8.c | 302 struct timeval tv1, tv2, start_time, end_time, query_time; local 398 gettimeofday(&tv1, NULL); 1006 delay = (int)(tv2.tv_sec - tv1.tv_sec); 1010 tv1 = tv2;
|
| /src/external/gpl3/gcc.old/dist/gcc/c/ |
| c-typeck.cc | 1485 tree tv1 = TYPE_VALUES (t1); 1488 if (tv1 == tv2) 1493 for (;tv1 && tv2; tv1 = TREE_CHAIN (tv1), tv2 = TREE_CHAIN (tv2)) 1495 if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2)) 1497 if (simple_cst_equal (TREE_VALUE (tv1), TREE_VALUE (tv2)) != 1) 1504 if (tv1 == NULL_TREE && tv2 == NULL_TREE) 1508 if (tv1 == NULL_TREE || tv2 == NULL_TREE) 1480 tree tv1 = TYPE_VALUES (t1); local
|