HomeSort by: relevance | last modified time | path
    Searched defs:tv2 (Results 1 - 22 of 22) sorted by relevancy

  /src/tests/lib/libc/sys/
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)
  /src/sys/external/isc/libsodium/dist/test/default/
pwhash_argon2i.c 107 tv2(void) function
149 printf("[tv2] pwhash failure: [%u]\n", (unsigned int) i);
158 printf("[tv2] pwhash should have failed (0)\n");
162 printf("[tv2] pwhash should have failed (0')\n");
166 printf("[tv2] pwhash should have failed (1)\n");
170 printf("[tv2] pwhash should have failed (2)\n");
174 printf("[tv2] pwhash should have failed (3)\n");
178 printf("[tv2] pwhash with a short output length should have failed\n");
182 printf("[tv2] pwhash with a long password length should have failed\n");
401 tv2();
    [all...]
pwhash_argon2id.c 107 tv2(void) function
149 printf("[tv2] pwhash failure: [%u]\n", (unsigned int) i);
158 printf("[tv2] pwhash should have failed (0)\n");
162 printf("[tv2] pwhash should have failed (1)\n");
166 printf("[tv2] pwhash should have failed (2)\n");
170 printf("[tv2] pwhash should have failed (3)\n");
174 printf("[tv2] pwhash with a short output length should have failed\n");
178 printf("[tv2] pwhash with a long password length should have failed\n");
400 tv2();
pwhash_scrypt.c 117 tv2(void) function
374 tv2();
  /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;
234 ATF_REQUIRE(sched_rr_get_interval(getpid(), &tv2) == 0);
237 ATF_REQUIRE(tv2.tv_sec != -1);
240 ATF_REQUIRE(tv2.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
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.tv_usec)
    [all...]
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.tv_usec)
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
test_rsa.c 246 struct timeval tv1, tv2; local
267 gettimeofday(&tv2, NULL);
268 timevalsub(&tv2, &tv1);
271 (unsigned long)tv2.tv_sec,
272 (unsigned long)tv2.tv_usec);
282 struct timeval tv1, tv2; local
308 gettimeofday(&tv2, NULL);
310 timevalsub(&tv2, &tv1);
313 (unsigned long)tv2.tv_sec,
314 (unsigned long)tv2.tv_usec)
    [all...]
  /src/external/bsd/am-utils/dist/amd/
amfs_host.c 305 struct timeval tv2; local
395 tv2.tv_sec = 10;
396 tv2.tv_usec = 0;
403 tv2);
  /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/external/gpl3/gcc.old/dist/gcc/
timevar.cc 752 timevar_def *tv2 = (*i).first; local
758 snprintf (lname, 256, "`- %s", tv2->name);
  /src/crypto/external/bsd/heimdal/dist/kdc/
connect.c 1101 struct timeval tv2; local
1170 gettimeofday(&tv2, NULL);
1171 if (tv1.tv_sec == tv2.tv_sec && tv2.tv_usec - tv1.tv_usec < 25000) {
1225 tv2 = tv1;
1242 if (tv3.tv_sec - tv2.tv_sec > 1 ||
1243 (tv3.tv_sec - tv2.tv_sec == 1 && tv3.tv_usec >= tv2.tv_usec)) {
1245 tv2 = tv3;
1256 gettimeofday(&tv2, NULL)
    [all...]
  /src/external/gpl3/gcc/dist/gcc/
timevar.cc 795 timevar_def *tv2 = (*i).first; local
801 snprintf (lname, 256, "`- %s", tv2->name);
  /src/external/bsd/libevent/dist/test/
regress.c 721 struct timeval tv, tv2, tv_exit, start; local
736 tv2.tv_sec = 0;
737 tv2.tv_usec = 100 * 1000;
738 event_base_once(base, -1, EV_TIMEOUT, activate_cb, &ev, &tv2);
2869 struct timeval tv, now, tv2;
2893 tt_assert( event_pending(t, EV_TIMEOUT, &tv2));
2895 tt_assert(evutil_timercmp(&tv2, &now, >));
2897 test_timeval_diff_eq(&now, &tv2, 500);
3296 struct timeval tv1, tv2, tv3, now;
3310 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2));
    [all...]
regress_util.c 1364 struct timeval tv1, tv2, tv3, diff1, diff2; local
1371 evutil_gettimeofday(&tv2, NULL);
1375 evutil_timersub(&tv2, &tv1, &diff1);
1376 evutil_timersub(&tv3, &tv2, &diff2);
  /src/external/bsd/ntp/dist/sntp/libevent/test/
regress.c 719 struct timeval tv, tv2, tv_exit, start; local
734 tv2.tv_sec = 0;
735 tv2.tv_usec = 100 * 1000;
736 event_base_once(base, -1, EV_TIMEOUT, activate_cb, &ev, &tv2);
2867 struct timeval tv, now, tv2;
2891 tt_assert( event_pending(t, EV_TIMEOUT, &tv2));
2893 tt_assert(evutil_timercmp(&tv2, &now, >));
2895 test_timeval_diff_eq(&now, &tv2, 500);
3293 struct timeval tv1, tv2, tv3, now;
3307 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2));
    [all...]
regress_util.c 1361 struct timeval tv1, tv2, tv3, diff1, diff2; local
1368 evutil_gettimeofday(&tv2, NULL);
1372 evutil_timersub(&tv2, &tv1, &diff1);
1373 evutil_timersub(&tv3, &tv2, &diff2);
  /src/sys/dev/pcmcia/
if_ray.c 343 static struct timeval rtv, tv1, tv2, *ttp, *ltp; variable in typeref:struct:
472 ltp = &tv2;
  /src/usr.sbin/moused/
moused.c 2129 struct timeval tv2; local
2144 tv2.tv_sec = rodent.clickthreshold/1000;
2145 tv2.tv_usec = (rodent.clickthreshold%1000)*1000;
2146 timersub(&tv1, &tv2, &tv);
2150 tv2.tv_sec = rodent.button2timeout/1000;
2151 tv2.tv_usec = (rodent.button2timeout%1000)*1000;
2152 timersub(&tv1, &tv2, &tv3);
2195 struct timeval tv2; local
2200 tv2.tv_sec = rodent.button2timeout/1000;
2201 tv2.tv_usec = (rodent.button2timeout%1000)*1000
    [all...]
  /src/external/bsd/libbind/dist/tests/
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;
  /src/external/gpl3/gcc/dist/gcc/c/
c-typeck.cc 1797 tree tv2 = TYPE_VALUES (t2);
1799 if (tv1 == tv2)
1802 for (;tv1 && tv2; tv1 = TREE_CHAIN (tv1), tv2 = TREE_CHAIN (tv2))
1804 if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2))
1808 DECL_INITIAL (TREE_VALUE (tv2))) != 1)
1812 if (tv1 == NULL_TREE && tv2 == NULL_TREE)
1815 if (tv1 == NULL_TREE || tv2 == NULL_TREE)
1790 tree tv2 = TYPE_VALUES (t2); local
  /src/external/gpl3/gcc.old/dist/gcc/c/
c-typeck.cc 1486 tree tv2 = TYPE_VALUES (t2);
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)
1481 tree tv2 = TYPE_VALUES (t2); local

Completed in 79 milliseconds