/freebsd-10.1-release/contrib/ntp/tests/libntp/ |
H A D | clocktime.c | 58 const int yday=175, hour=12, minute=50, second=0, tzoff=0; local 63 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 84 const int yday=175, hour=12, minute=0, second=0, tzoff=0; local 89 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 108 const int yday=175, hour=4, minute=0, second=0, tzoff=8; local 113 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 129 const int yday=2, hour=11, minute=0, second=0, tzoff=0; local 134 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 150 const int yday=365, hour=23, minute=0, second=0, tzoff=0; local 155 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestam 171 const int yday=1, hour=1, minute=0, second=0, tzoff=0; local 188 const int yday=100, hour=12, minute=0, second=0, tzoff=0; local [all...] |
/freebsd-10.1-release/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 52 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) argument 54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 - 59 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) argument 61 tsp->tv_sec = seconds + tzoff * 60; 74 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) argument 80 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) argument 89 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, argument 96 smb_time_local2server(tsp, tzoff, &t); 102 smb_dos2unixtime(u_int dd, u_int dt, u_int dh, int tzoff, argument 107 smb_time_server2local(tsp->tv_sec, tzoff, ts [all...] |
H A D | smbfs_subr.h | 172 void smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds); 173 void smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp); 174 void smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp); 175 void smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec); 176 void smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, 178 void smb_dos2unixtime (u_int dd, u_int dt, u_int dh, int tzoff, struct timespec *tsp);
|
H A D | smbfs_smb.c | 484 int error, tzoff; local 500 tzoff = vcp->vc_sopt.sv_tz; 505 smb_time_unix2dos(atime, tzoff, &date, &time, NULL); 511 smb_time_unix2dos(mtime, tzoff, &date, &time, NULL); 539 int error, tzoff; local 555 tzoff = vcp->vc_sopt.sv_tz; 560 smb_time_local2NT(atime, tzoff, &tm); 565 smb_time_local2NT(mtime, tzoff, &tm); 589 int error, tzoff; local 595 tzoff [all...] |
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | refclock_datum.c | 148 int tzoff; /* time zone offest from GMT */ member in struct:datum_pts_unit 494 int tzoff; local 600 tzoff = 0; /* set time zone offset to 0 */ 614 ** with a value for tzoff = 0 (assuming that your system clock is within 618 for (tzoff=0; tzoff<24; tzoff++) { 623 (tzoff + datum_pts->tzoff) % 24, 632 printf("Time Zone (clocktime method) = %d, error = %d\n", tzoff, erro [all...] |
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | clocktime.c | 57 int tzoff , /* hours west of GMT */ 73 MINSPERHR * ((int32)hour + (int32)tzoff +
|
/freebsd-10.1-release/usr.bin/find/ |
H A D | getdate.y | 853 int tzoff; 877 tzoff = difftm (&gmt, tm) / 60; 884 tzoff = 0; 887 tzoff += 60; 893 yyTimezone = tzoff;
|
/freebsd-10.1-release/contrib/libpcap/ |
H A D | sf-pcap.c | 187 p->tzoff = hdr.thiszone; 510 if (sf_write_header(f, linktype, p->tzoff, p->snapshot) == -1) {
|
H A D | pcap-int.h | 263 int tzoff; /* timezone offset */ member in struct:pcap
|
H A D | sf-pcap-ng.c | 747 p->tzoff = 0; /* XXX - not used in pcap */
|
/freebsd-10.1-release/contrib/pf/pflogd/ |
H A D | pflogd.c | 378 hdr.thiszone = hpcap->tzoff;
|