/netbsd-current/lib/libc/compat/sys/ |
H A D | compat___lwp_park50.c | 56 struct timespec ts1, *tsp = &ts1; local 58 ts1 = *ts;
|
/netbsd-current/external/bsd/kyua-cli/dist/utils/ |
H A D | 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 local 296 const datetime::timestamp ts1 = datetime::timestamp::from_values( local 321 const datetime::timestamp ts1 = datetime::timestamp::from_microseconds( local [all...] |
/netbsd-current/tests/lib/libc/sys/ |
H A D | 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,
|
H A D | t_poll.c | 420 struct timespec ts1, ts2; local 443 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0); 448 ATF_REQUIRE(ts2.tv_sec - ts1.tv_sec >= 2);
|
/netbsd-current/external/gpl3/gcc.old/dist/libbacktrace/ |
H A D | 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;
|
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/ |
H A D | 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;
|
H A D | 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;
|
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/ |
H A D | 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;
|
H A D | 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;
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | misc.c | 131 gfc_typespec *ts1; local 186 ts1 = ts->u.derived->components ? &ts->u.derived->components->ts : NULL; 187 if (ts1 && ts1->u.derived && ts1->u.derived->attr.unlimited_polymorphic)
|
H A D | symbol.c | 5113 If ts1 is nonpolymorphic, ts2 must be the same type. 5114 If ts1 is polymorphic (CLASS), ts2 must be an extension of ts1. */ 5117 gfc_type_compatible (gfc_typespec *ts1, gfc_typespec *ts2) argument 5119 bool is_class1 = (ts1->type == BT_CLASS); 5121 bool is_derived1 = (ts1->type == BT_DERIVED); 5123 bool is_union1 = (ts1->type == BT_UNION); 5127 if (ts1->type == BT_BOZ || ts2->type == BT_BOZ) 5131 && ts1->u.derived->components 5132 && ((ts1 [all...] |
H A D | interface.c | 686 gfc_compare_types (gfc_typespec *ts1, gfc_typespec *ts2) argument 692 if (ts1->type == BT_VOID || ts2->type == BT_VOID) 699 if (((ts1->type == BT_INTEGER && ts2->type == BT_DERIVED) 700 || (ts1->type == BT_DERIVED && ts2->type == BT_INTEGER)) 701 && ts1->u.derived && ts2->u.derived 702 && ts1->u.derived == ts2->u.derived) 709 if (ts1->type == BT_CLASS && ts1->u.derived->components 710 && ((ts1->u.derived->attr.is_class 711 && ts1 [all...] |
H A D | dependency.c | 1314 gfc_typespec *ts1 = &expr1->symtree->n.sym->ts; local 1322 if (ts1->type != BT_UNKNOWN && ts2->type != BT_UNKNOWN 1323 && ts1->type != BT_DERIVED && ts2->type != BT_DERIVED) 1325 if (ts1->type != ts2->type || ts1->kind != ts2->kind)
|
/netbsd-current/sys/compat/linux32/common/ |
H A D | 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, [all...] |
/netbsd-current/external/bsd/cron/dist/ |
H A D | 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
|
/netbsd-current/external/mpl/bind/dist/tests/isc/ |
H A D | mem_test.c | 464 isc_time_t ts1, ts2; local 472 result = isc_time_now(&ts1); 485 t = isc_time_microdiff(&ts2, &ts1);
|
/netbsd-current/sys/compat/linux/common/ |
H A D | linux_misc.c | 958 struct timespec ts0, ts1, uts, *ts = NULL; local 1009 nanotime(&ts1); 1010 timespecsub(&ts1, &ts0, &ts1); 1011 timespecsub(&uts, &ts1, &uts); 1043 struct timespec uts, ts0, ts1, *tsp; local 1091 nanotime(&ts1); 1092 timespecsub(&ts1, &ts0, &ts1); 1093 timespecsub(&uts, &ts1, [all...] |
/netbsd-current/external/mpl/bind/dist/tests/dns/ |
H A D | name_test.c | 681 isc_time_t ts1, ts2; local 690 result = isc_time_now(&ts1); 706 t = isc_time_microdiff(&ts2, &ts1);
|
H A D | rbt_test.c | 1217 isc_time_t ts1, ts2; local 1252 result = isc_time_now(&ts1); 1268 t = isc_time_microdiff(&ts2, &ts1);
|
/netbsd-current/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | symbol.cc | 5133 If ts1 is nonpolymorphic, ts2 must be the same type. 5134 If ts1 is polymorphic (CLASS), ts2 must be an extension of ts1. */ 5137 gfc_type_compatible (gfc_typespec *ts1, gfc_typespec *ts2) argument 5139 bool is_class1 = (ts1->type == BT_CLASS); 5141 bool is_derived1 = (ts1->type == BT_DERIVED); 5143 bool is_union1 = (ts1->type == BT_UNION); 5147 if (ts1->type == BT_BOZ || ts2->type == BT_BOZ) 5151 && ts1->u.derived->components 5152 && ((ts1 [all...] |
H A D | interface.cc | 697 gfc_compare_types (gfc_typespec *ts1, gfc_typespec *ts2) argument 703 if (ts1->type == BT_VOID || ts2->type == BT_VOID) 710 if (((ts1->type == BT_INTEGER && ts2->type == BT_DERIVED) 711 || (ts1->type == BT_DERIVED && ts2->type == BT_INTEGER)) 712 && ts1->u.derived && ts2->u.derived 713 && ts1->u.derived == ts2->u.derived) 720 if (ts1->type == BT_CLASS && ts1->u.derived->components 721 && ((ts1->u.derived->attr.is_class 722 && ts1 [all...] |
/netbsd-current/etc/etc.vax/ |
H A D | MAKEDEV.conf | 4 makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | final.c | 1480 tree ts1 = s1, ts2 = s2; 1483 while (ts1 != ts2) 1485 gcc_assert (ts1 && ts2); 1486 if (BLOCK_NUMBER (ts1) > BLOCK_NUMBER (ts2)) 1487 ts1 = BLOCK_SUPERCONTEXT (ts1); 1488 else if (BLOCK_NUMBER (ts1) < BLOCK_NUMBER (ts2)) 1492 ts1 = BLOCK_SUPERCONTEXT (ts1); 1496 com = ts1; 1473 tree ts1 = s1, ts2 = s2; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | final.cc | 1468 tree ts1 = s1, ts2 = s2; 1471 while (ts1 != ts2) 1473 gcc_assert (ts1 && ts2); 1474 if (BLOCK_NUMBER (ts1) > BLOCK_NUMBER (ts2)) 1475 ts1 = BLOCK_SUPERCONTEXT (ts1); 1476 else if (BLOCK_NUMBER (ts1) < BLOCK_NUMBER (ts2)) 1480 ts1 = BLOCK_SUPERCONTEXT (ts1); 1484 com = ts1; 1461 tree ts1 = s1, ts2 = s2; local [all...] |
/netbsd-current/usr.sbin/bta2dpd/bta2dpd/ |
H A D | sbc_encode.c | 119 uint8_t ts1; member in struct:rtpHeader 902 myHeader.ts1 = (uint8_t)(ts >> 8);
|