/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/ |
H A D | t_gettimeofday.c | 63 struct timeval tv1, tv2; local 69 (void)memset(&tv2, 0, sizeof(struct timeval)); 72 ATF_REQUIRE(gettimeofday(&tv2, NULL) == 0); 74 if (timercmp(&tv2, &tv1, <) != 0)
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | test_crypto.c | 43 struct timeval tv1, tv2; local 78 gettimeofday(&tv2, NULL); 80 timevalsub(&tv2, &tv1); 84 (long)tv2.tv_sec, (long)tv2.tv_usec); 99 struct timeval tv1, tv2; local 123 gettimeofday(&tv2, NULL); 125 timevalsub(&tv2, &tv1); 128 etype_name, iterations, (long)tv2.tv_sec, (long)tv2 [all...] |
H A D | test_rfc3961.c | 43 struct timeval tv1, tv2; local 78 gettimeofday(&tv2, NULL); 80 timevalsub(&tv2, &tv1); 84 (long)tv2.tv_sec, (long)tv2.tv_usec); 99 struct timeval tv1, tv2; local 123 gettimeofday(&tv2, NULL); 125 timevalsub(&tv2, &tv1); 128 etype_name, iterations, (long)tv2.tv_sec, (long)tv2 [all...] |
/netbsd-6-1-5-RELEASE/tests/lib/librt/ |
H A D | t_sched.c | 219 struct timespec tv1, tv2; local 225 tv1.tv_sec = tv2.tv_sec = -1; 226 tv1.tv_nsec = tv2.tv_nsec = -1; 229 ATF_REQUIRE(sched_rr_get_interval(getpid(), &tv2) == 0); 232 ATF_REQUIRE(tv2.tv_sec != -1); 235 ATF_REQUIRE(tv2.tv_nsec != -1); 237 ATF_REQUIRE(tv1.tv_sec == tv2.tv_sec); 238 ATF_REQUIRE(tv1.tv_nsec == tv2.tv_nsec);
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/arlib/ |
H A D | sample.c | 24 struct timeval tv2; local 45 tv2.tv_usec = 0; 46 tv2.tv_sec = expire - now; 47 nfd = select(FD_SETSIZE, &rd, NULL, NULL, &tv2);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | test_rsa.c | 249 struct timeval tv1, tv2; local 270 gettimeofday(&tv2, NULL); 271 timevalsub(&tv2, &tv1); 274 (unsigned long)tv2.tv_sec, 275 (unsigned long)tv2.tv_usec); 285 struct timeval tv1, tv2; local 311 gettimeofday(&tv2, NULL); 313 timevalsub(&tv2, &tv1); 316 (unsigned long)tv2.tv_sec, 317 (unsigned long)tv2 [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/kernel/sys/ |
H A D | bsd_audioirig.h | 80 struct timeval tv1,tv2,tv3; /* time stamps (median filter) */ member in struct:auib
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | amfs_host.c | 302 struct timeval tv2; local 392 tv2.tv_sec = 10; 393 tv2.tv_usec = 0; 400 tv2);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/ |
H A D | tio.c | 80 static inline void tio_tv_add(struct timeval *tv1, const struct timeval *tv2) argument 83 tv1->tv_usec+=tv2->tv_usec; 89 tv1->tv_sec+=tv2->tv_sec;
|
/netbsd-6-1-5-RELEASE/common/lib/libc/gen/ |
H A D | rpst.c | 555 tvdiff(const struct timeval *tv1, const struct timeval *tv2) argument 559 tv2->tv_sec * 1000000 - tv2->tv_usec;
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/queryperf/ |
H A D | queryperf.c | 999 * add tv1 and tv2, store the result in tv_result. 1002 addtv(struct timeval *tv1, struct timeval *tv2, struct timeval *tv_result) { argument 1003 tv_result->tv_sec = tv1->tv_sec + tv2->tv_sec; 1004 tv_result->tv_usec = tv1->tv_usec + tv2->tv_usec; 1015 * Return the difference between tv1 and tv2 in seconds in a double. 1018 difftv(struct timeval tv1, struct timeval tv2) { argument 1022 diff_sec = tv1.tv_sec - tv2.tv_sec; 1023 diff_usec = tv1.tv_usec - tv2.tv_usec;
|
/netbsd-6-1-5-RELEASE/usr.sbin/moused/ |
H A D | moused.c | 2138 struct timeval tv2; local 2153 tv2.tv_sec = rodent.clickthreshold/1000; 2154 tv2.tv_usec = (rodent.clickthreshold%1000)*1000; 2155 timersub(&tv1, &tv2, &tv); 2159 tv2.tv_sec = rodent.button2timeout/1000; 2160 tv2.tv_usec = (rodent.button2timeout%1000)*1000; 2161 timersub(&tv1, &tv2, &tv3); 2204 struct timeval tv2; local 2209 tv2.tv_sec = rodent.button2timeout/1000; 2210 tv2 [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/tests/ |
H A D | dig8.c | 302 struct timeval tv1, tv2, start_time, end_time, query_time; local 1005 gettimeofday(&tv2, NULL); 1006 delay = (int)(tv2.tv_sec - tv1.tv_sec); 1010 tv1 = tv2;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | c-typeck.c | 1336 tree tv2 = TYPE_VALUES (t2); 1338 if (tv1 == tv2) 1343 for (;tv1 && tv2; tv1 = TREE_CHAIN (tv1), tv2 = TREE_CHAIN (tv2)) 1345 if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2)) 1347 if (simple_cst_equal (TREE_VALUE (tv1), TREE_VALUE (tv2)) != 1) 1354 if (tv1 == NULL_TREE && tv2 == NULL_TREE) 1358 if (tv1 == NULL_TREE || tv2 == NULL_TREE) 1330 tree tv2 = TYPE_VALUES (t2); local
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | c-typeck.c | 998 tree tv2 = TYPE_VALUES (t2); 1000 if (tv1 == tv2) 1005 for (;tv1 && tv2; tv1 = TREE_CHAIN (tv1), tv2 = TREE_CHAIN (tv2)) 1007 if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2)) 1009 if (simple_cst_equal (TREE_VALUE (tv1), TREE_VALUE (tv2)) != 1) 1016 if (tv1 == NULL_TREE && tv2 == NULL_TREE) 1020 if (tv1 == NULL_TREE || tv2 == NULL_TREE) 993 tree tv2 = TYPE_VALUES (t2); local
|
/netbsd-6-1-5-RELEASE/sys/compat/ndis/ |
H A D | subr_ntoskrnl.c | 1256 struct timeval tv1,tv2; local 1351 microtime(&tv2); 1352 TIMEVAL_TO_TIMESPEC(&tv2,&t2);
|
/netbsd-6-1-5-RELEASE/sys/dev/pcmcia/ |
H A D | if_ray.c | 345 static struct timeval rtv, tv1, tv2, *ttp, *ltp; variable in typeref:struct: 478 ltp = &tv2;
|