HomeSort by: relevance | last modified time | path
    Searched defs:ts1 (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/lib/libc/compat/sys/
compat___lwp_park50.c 56 struct timespec ts1, *tsp = &ts1; local
58 ts1 = *ts;
  /src/tests/lib/libc/sys/
t_nanosleep.c 62 struct timespec ts1, ts2, tsn; local
70 (void)memset(&ts1, 0, sizeof(struct timespec));
73 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0);
80 if (timespeccmp(&ts2, &ts1, <=) != 0) {
84 "ts1: sec %llu, nsec %lu\n\t\t"
87 (unsigned long long)ts1.tv_sec, ts1.tv_nsec,
t_poll.c 456 struct timespec ts1, ts2; local
480 RL(clock_gettime(CLOCK_MONOTONIC, &ts1));
486 ATF_REQUIRE_MSG(ts2.tv_sec - ts1.tv_sec >= 2,
487 "ts1=%lld.%09ld ts2=%lld.%09ld",
488 (long long)ts1.tv_sec, ts1.tv_nsec,
  /src/external/mpl/bind/dist/tests/isc/
mutex_test.c 121 isc_time_t ts1, ts2; local
137 ts1 = isc_time_now_hires();
159 t = isc_time_microdiff(&ts2, &ts1);
174 ts1 = isc_time_now_hires();
196 t = isc_time_microdiff(&ts2, &ts1);
spinlock_test.c 130 isc_time_t ts1, ts2; local
146 ts1 = isc_time_now_hires();
168 t = isc_time_microdiff(&ts2, &ts1);
184 ts1 = isc_time_now_hires();
206 t = isc_time_microdiff(&ts2, &ts1);
rwlock_test.c 254 isc_time_t ts1, ts2; local
266 ts1 = isc_time_now_hires();
287 t = isc_time_microdiff(&ts2, &ts1);
298 ts1 = isc_time_now_hires();
319 t = isc_time_microdiff(&ts2, &ts1);
mem_test.c 515 isc_time_t ts1, ts2; local
520 ts1 = isc_time_now();
531 t = isc_time_microdiff(&ts2, &ts1);
  /src/external/bsd/kyua-cli/dist/utils/
datetime_test.cpp 188 const datetime::timestamp ts1 = datetime::timestamp::from_values( local
191 const datetime::timestamp ts2 = ts1;
194 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y"));
198 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y"));
262 const datetime::timestamp ts1 = datetime::timestamp::from_values( local
264 ATF_REQUIRE_EQ("2010-12-10", ts1.strftime("%Y-%m-%d"));
265 ATF_REQUIRE_EQ("08:45:50", ts1.strftime("%H:%M:%S"));
276 const datetime::timestamp ts1 = datetime::timestamp::from_values( local
278 ATF_REQUIRE_EQ(1291970750123456LL, ts1.to_microseconds());
285 const datetime::timestamp ts1 = datetime::timestamp::from_values local
296 const datetime::timestamp ts1 = datetime::timestamp::from_values( local
321 const datetime::timestamp ts1 = datetime::timestamp::from_microseconds( local
    [all...]
  /src/sys/compat/linux32/common/
linux32_unistd.c 155 struct timespec ts0, ts1, uts, *ts = NULL; local
210 nanotime(&ts1);
211 timespecsub(&ts1, &ts0, &ts1);
212 timespecsub(&uts, &ts1, &uts);
241 struct timespec uts, ts0, ts1, *tsp; local
290 nanotime(&ts1);
291 timespecsub(&ts1, &ts0, &ts1);
292 timespecsub(&uts, &ts1, &uts)
    [all...]
  /src/external/gpl3/gcc/dist/libbacktrace/
xztest.c 258 struct timespec ts1; local
395 if (clock_gettime (cid, &ts1) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
440 if (clock_gettime (cid, &ts1) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 305 struct timespec ts1; local
424 if (clock_gettime (cid, &ts1) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
455 if (clock_gettime (cid, &ts1) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 310 struct timespec ts1; local
440 if (clock_gettime (cid, &ts1) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
471 if (clock_gettime (cid, &ts1) < 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 258 struct timespec ts1; local
395 if (clock_gettime (cid, &ts1) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
440 if (clock_gettime (cid, &ts1) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 310 struct timespec ts1; local
440 if (clock_gettime (cid, &ts1) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
471 if (clock_gettime (cid, &ts1) < 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 258 struct timespec ts1; local
395 if (clock_gettime (cid, &ts1) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
440 if (clock_gettime (cid, &ts1) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 305 struct timespec ts1; local
424 if (clock_gettime (cid, &ts1) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
455 if (clock_gettime (cid, &ts1) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 310 struct timespec ts1; local
440 if (clock_gettime (cid, &ts1) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
471 if (clock_gettime (cid, &ts1) < 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 258 struct timespec ts1; local
395 if (clock_gettime (cid, &ts1) < 0)
422 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
423 ctime += ts2.tv_nsec - ts1.tv_nsec;
440 if (clock_gettime (cid, &ts1) < 0)
463 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
464 ztime += ts2.tv_nsec - ts1.tv_nsec;
zstdtest.c 305 struct timespec ts1; local
424 if (clock_gettime (cid, &ts1) < 0)
451 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
452 ctime += ts2.tv_nsec - ts1.tv_nsec;
455 if (clock_gettime (cid, &ts1) < 0)
478 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
479 ztime += ts2.tv_nsec - ts1.tv_nsec;
ztest.c 310 struct timespec ts1; local
440 if (clock_gettime (cid, &ts1) < 0)
467 ctime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
468 ctime += ts2.tv_nsec - ts1.tv_nsec;
471 if (clock_gettime (cid, &ts1) < 0)
496 ztime = (ts2.tv_sec - ts1.tv_sec) * 1000000000;
497 ztime += ts2.tv_nsec - ts1.tv_nsec;
  /src/external/bsd/cron/dist/
crontab.c 170 struct timespec ts1[2]; local
171 get_time(st, ts1);
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/mpl/bind/dist/tests/dns/
rbt_test.c 1144 isc_time_t ts1, ts2; local
1179 ts1 = isc_time_now();
1193 t = isc_time_microdiff(&ts2, &ts1);
name_test.c 975 isc_time_t ts1, ts2; local
984 result = isc_time_now(&ts1);
1000 t = isc_time_microdiff(&ts2, &ts1);
  /src/external/gpl3/gcc/dist/gcc/fortran/
dependency.cc 1347 gfc_typespec *ts1 = &expr1->symtree->n.sym->ts; local
1355 if (ts1->type != BT_UNKNOWN && ts2->type != BT_UNKNOWN
1356 && ts1->type != BT_DERIVED && ts2->type != BT_DERIVED)
1358 if (ts1->type != ts2->type || ts1->kind != ts2->kind)
  /src/external/gpl3/gcc.old/dist/gcc/fortran/
dependency.cc 1315 gfc_typespec *ts1 = &expr1->symtree->n.sym->ts; local
1323 if (ts1->type != BT_UNKNOWN && ts2->type != BT_UNKNOWN
1324 && ts1->type != BT_DERIVED && ts2->type != BT_DERIVED)
1326 if (ts1->type != ts2->type || ts1->kind != ts2->kind)

Completed in 40 milliseconds

1 2