Searched refs:tv2 (Results 1 - 17 of 17) sorted by relevance

/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_gettimeofday.c63 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 Dtest_crypto.c43 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 Dtest_rfc3961.c43 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 Dt_sched.c219 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 Dsample.c24 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 Dtest_rsa.c249 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 Dbsd_audioirig.h80 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 Damfs_host.c302 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 Dtio.c80 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 Drpst.c555 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 Dqueryperf.c999 * 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 Dmoused.c2138 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 Ddig8.c302 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 Dc-typeck.c1336 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 Dc-typeck.c998 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 Dsubr_ntoskrnl.c1256 struct timeval tv1,tv2; local
1351 microtime(&tv2);
1352 TIMEVAL_TO_TIMESPEC(&tv2,&t2);
/netbsd-6-1-5-RELEASE/sys/dev/pcmcia/
H A Dif_ray.c345 static struct timeval rtv, tv1, tv2, *ttp, *ltp; variable in typeref:struct:
478 ltp = &tv2;

Completed in 274 milliseconds