| /netbsd/src/external/bsd/ntp/dist/tests/libntp/ |
| D | clocktime.c | 60 const int yday=175, hour=12, minute=50, second=0, tzoff=0; in test_CurrentYear() local 65 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, in test_CurrentYear() 86 const int yday=175, hour=12, minute=0, second=0, tzoff=0; in test_CurrentYearFuzz() local 91 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, in test_CurrentYearFuzz() 110 const int yday=175, hour=4, minute=0, second=0, tzoff=8; in test_TimeZoneOffset() local 115 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_TimeZoneOffset() 131 const int yday=2, hour=11, minute=0, second=0, tzoff=0; in test_WrongYearStart() local 136 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_WrongYearStart() 152 const int yday=365, hour=23, minute=0, second=0, tzoff=0; in test_PreviousYear() local 157 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, in test_PreviousYear() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | refclock_datum.c | 150 int tzoff; /* time zone offest from GMT */ member 497 int tzoff; in datum_pts_receive() local 604 tzoff = 0; /* set time zone offset to 0 */ in datum_pts_receive() 622 for (tzoff=0; tzoff<24; tzoff++) { in datum_pts_receive() 627 (tzoff + datum_pts->tzoff) % 24, in datum_pts_receive() 636 … printf("Time Zone (clocktime method) = %d, error = %d\n", tzoff, error); in datum_pts_receive() 640 tzoff = (tzoff + datum_pts->tzoff) % 24; in datum_pts_receive() 641 datum_pts->tzoff = tzoff; in datum_pts_receive() 645 printf("Time Zone found (clocktime method) = %d\n",tzoff); in datum_pts_receive() 668 tzoff, in datum_pts_receive() [all …]
|
| /netbsd/src/tests/lib/libutil/ |
| D | t_parsedate.c | 247 int tzoff; in ATF_TC_BODY() local 273 tzoff = -60; /* British Summer Time */ in ATF_TC_BODY() 274 parsecheck("14:00", &t, &tzoff, localtime_r, in ATF_TC_BODY() 486 int tzoff; in ATF_TC_BODY() local 496 tzoff = 0; in ATF_TC_BODY() 497 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 498 tzoff = 3600; in ATF_TC_BODY() 499 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 500 tzoff = -3600; in ATF_TC_BODY() 501 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() [all …]
|
| /netbsd/src/lib/libutil/compat/ |
| D | compat_parsedate.c | 54 parsedate(const char *str, const int32_t *t50, const int *tzoff) in parsedate() argument 59 return (int32_t)__parsedate50(str, t50 ? &t : NULL, tzoff); in parsedate()
|
| /netbsd/src/external/bsd/ntp/dist/libntp/ |
| D | clocktime.c | 59 int tzoff , /* hours west of GMT */ in clocktime() argument 75 MINSPERHR * ((int32)hour + (int32)tzoff + in clocktime()
|
| /netbsd/src/external/bsd/libpcap/dist/ |
| D | rpcap-protocol.h | 285 int32 tzoff; /* Timezone offset - not used by newer clients */ member
|
| D | pcap-rpcap-unix.c | 321 p->tzoff = get32(&reply_buf[4]); in rpcap_send_request_open()
|