HomeSort by: relevance | last modified time | path
    Searched refs:ts2 (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/tests/lib/libc/gen/
t_timespec_get.c 43 struct timespec ts, ts2; local
46 ATF_REQUIRE_EQ(clock_getres(CLOCK_MONOTONIC, &ts2), 0);
48 ATF_REQUIRE_EQ(ts.tv_sec, ts2.tv_sec);
49 ATF_REQUIRE_EQ(ts.tv_nsec, ts2.tv_nsec);
52 ATF_REQUIRE_EQ(clock_getres(CLOCK_REALTIME, &ts2), 0);
54 ATF_REQUIRE_EQ(ts.tv_sec, ts2.tv_sec);
55 ATF_REQUIRE_EQ(ts.tv_nsec, ts2.tv_nsec);
69 struct timespec ts, ts2; local
72 ATF_REQUIRE_EQ(clock_gettime(CLOCK_REALTIME, &ts2), 0);
79 if (ts2.tv_sec >= ts.tv_sec)
97 struct timespec ts, ts2; local
    [all...]
  /src/tests/lib/libc/sys/
t_nanosleep.c 62 struct timespec ts1, ts2, tsn; local
71 (void)memset(&ts2, 0, sizeof(struct timespec));
75 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts2) == 0);
80 if (timespeccmp(&ts2, &ts1, <=) != 0) {
85 "ts2: sec %llu, nsec %lu\n",
88 (unsigned long long)ts2.tv_sec, ts2.tv_nsec);
  /src/external/bsd/kyua-cli/dist/utils/
datetime_test.cpp 191 const datetime::timestamp ts2 = ts1; local
195 ATF_REQUIRE_EQ("2011", ts2.strftime("%Y"));
267 const datetime::timestamp ts2 = datetime::timestamp::from_values( local
269 ATF_REQUIRE_EQ("2011-02-16T19:15:30", ts2.strftime("%Y-%m-%dT%H:%M:%S"));
323 const datetime::timestamp ts2 = datetime::timestamp::from_microseconds( local
329 ATF_REQUIRE(datetime::delta(0, 12) == ts2 - ts1);
331 ATF_REQUIRE(datetime::delta(99, 999988) == ts3 - ts2);
  /src/external/gpl3/gcc/dist/libbacktrace/
xztest.c 259 struct timespec ts2; local
416 if (clock_gettime (cid, &ts2) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
457 if (clock_gettime (cid, &ts2) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 306 struct timespec ts2; local
445 if (clock_gettime (cid, &ts2) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
464 if (clock_gettime (cid, &ts2) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 311 struct timespec ts2; local
461 if (clock_gettime (cid, &ts2) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
482 if (clock_gettime (cid, &ts2) < 0)
496 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
497 ztime += ts2.tv_nsec - ts1.tv_nsec;
  /src/external/gpl3/gcc.old/dist/libbacktrace/
xztest.c 259 struct timespec ts2; local
416 if (clock_gettime (cid, &ts2) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
457 if (clock_gettime (cid, &ts2) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 311 struct timespec ts2; local
461 if (clock_gettime (cid, &ts2) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
482 if (clock_gettime (cid, &ts2) < 0)
496 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
497 ztime += ts2.tv_nsec - ts1.tv_nsec;
  /src/external/gpl3/gdb/dist/libbacktrace/
xztest.c 259 struct timespec ts2; local
416 if (clock_gettime (cid, &ts2) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
457 if (clock_gettime (cid, &ts2) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 306 struct timespec ts2; local
445 if (clock_gettime (cid, &ts2) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
464 if (clock_gettime (cid, &ts2) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 311 struct timespec ts2; local
461 if (clock_gettime (cid, &ts2) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
482 if (clock_gettime (cid, &ts2) < 0)
496 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
497 ztime += ts2.tv_nsec - ts1.tv_nsec;
  /src/external/gpl3/gdb.old/dist/libbacktrace/
xztest.c 259 struct timespec ts2; local
416 if (clock_gettime (cid, &ts2) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
457 if (clock_gettime (cid, &ts2) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 306 struct timespec ts2; local
445 if (clock_gettime (cid, &ts2) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
464 if (clock_gettime (cid, &ts2) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 311 struct timespec ts2; local
461 if (clock_gettime (cid, &ts2) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
482 if (clock_gettime (cid, &ts2) < 0)
496 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
497 ztime += ts2.tv_nsec - ts1.tv_nsec;
  /src/external/mpl/bind/dist/tests/isc/
mutex_test.c 122 isc_time_t ts1, ts2; local
158 ts2 = isc_time_now_hires();
160 t = isc_time_microdiff(&ts2, &ts1);
195 ts2 = isc_time_now_hires();
197 t = isc_time_microdiff(&ts2, &ts1);
spinlock_test.c 131 isc_time_t ts1, ts2; local
167 ts2 = isc_time_now_hires();
169 t = isc_time_microdiff(&ts2, &ts1);
205 ts2 = isc_time_now_hires();
207 t = isc_time_microdiff(&ts2, &ts1);
rwlock_test.c 257 isc_time_t ts1, ts2; local
288 ts2 = isc_time_now_hires();
290 t = isc_time_microdiff(&ts2, &ts1);
320 ts2 = isc_time_now_hires();
322 t = isc_time_microdiff(&ts2, &ts1);
mem_test.c 526 isc_time_t ts1, ts2; local
540 ts2 = isc_time_now();
542 t = isc_time_microdiff(&ts2, &ts1);
  /src/crypto/external/apache2/openssl/dist/crypto/
o_time.c 31 struct tm data, *ts2 = &data; local
35 if (gmtime_r(timer, ts2) == NULL)
37 memcpy(result, ts2, sizeof(struct tm));
  /src/crypto/external/bsd/openssl/dist/crypto/
o_time.c 31 struct tm data, *ts2 = &data; local
35 if (gmtime_r(timer, ts2) == NULL)
37 memcpy(result, ts2, sizeof(struct tm));
  /src/crypto/external/bsd/openssl.old/dist/crypto/
o_time.c 31 struct tm data, *ts2 = &data; local
35 if (gmtime_r(timer, ts2) == NULL)
37 memcpy(result, ts2, sizeof(struct tm));
  /src/sys/kern/
kern_tc.c 882 struct timespec ts2; local
900 bintime2timespec(&bt2, &ts2);
903 (long long)ts2.tv_sec, ts2.tv_nsec,
1384 struct timespec ts2; local
1387 bintime2timespec(&bt_ref, &ts2);
1399 ts2.tv_sec, (int32_t)ts2.tv_nsec,
1465 struct timespec ts2; local
1468 bintime2timespec(&bt_ref, &ts2);
    [all...]
  /src/external/bsd/cron/dist/
crontab.c 168 compare_time(const struct stat *st, const struct timespec *ts2)
173 return ts1[1].tv_sec == ts2[1].tv_sec
175 && ts1[1].tv_nsec == ts2[1].tv_nsec
177 && ts1[1].tv_nsec / 1000 == ts2[1].tv_nsec / 1000
  /src/external/gpl3/gcc/dist/gcc/
omp-general.cc 2023 tree ts2 = ctx2;
2027 if (OMP_TS_CODE (ts1) == OMP_TS_CODE (ts2))
2032 OMP_TS_PROPERTIES (ts2));
2037 ts2 = TREE_CHAIN (ts2);
2038 if (ts2 == NULL_TREE)
2048 if (ts2 != NULL_TREE)
2063 tree ts2;
2064 for (ts2 = ctx2; ts2; ts2 = TREE_CHAIN (ts2)
    [all...]
  /src/external/gpl3/gcc/dist/gcc/fortran/
interface.cc 726 gfc_compare_types (gfc_typespec *ts1, gfc_typespec *ts2)
732 if (ts1->type == BT_VOID || ts2->type == BT_VOID)
740 && ts2->type == BT_DERIVED
742 && ts2->u.derived->from_intmod == INTMOD_ISO_C_BINDING
744 && strcmp (ts1->u.derived->name, ts2->u.derived->name) == 0)
745 || (ts2->type == BT_INTEGER
747 && ts2->f90_type == BT_VOID
749 && ts2->u.derived
750 && strcmp (ts1->u.derived->name, ts2->u.derived->name) == 0))
765 if (ts2->type == BT_CLASS && ts1->type == BT_DERIVE
    [all...]

Completed in 34 milliseconds

1 2