/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_datum.c | 148 int tzoff; /* time zone offest from GMT */ member 495 int tzoff; in datum_pts_receive() local 602 tzoff = 0; /* set time zone offset to 0 */ in datum_pts_receive() 620 for (tzoff=0; tzoff<24; tzoff++) { in datum_pts_receive() 625 (tzoff + datum_pts->tzoff) % 24, in datum_pts_receive() 634 printf("Time Zone (clocktime method) = %d, error = %d\n", tzoff, error); in datum_pts_receive() 638 tzoff = (tzoff + datum_pts->tzoff) % 24; in datum_pts_receive() 639 datum_pts->tzoff = tzoff; in datum_pts_receive() 643 printf("Time Zone found (clocktime method) = %d\n",tzoff); in datum_pts_receive() 666 tzoff, in datum_pts_receive() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 52 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) in smb_time_local2server() argument 54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 - in smb_time_local2server() 59 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument 61 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local() 73 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) in smb_time_NT2local() argument 79 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) in smb_time_local2NT() argument 88 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, in smb_time_unix2dos() argument 95 smb_time_local2server(tsp, tzoff, &t); in smb_time_unix2dos() 101 smb_dos2unixtime(u_int dd, u_int dt, u_int dh, int tzoff, in smb_dos2unixtime() argument 106 smb_time_server2local(tsp->tv_sec, tzoff, tsp); in smb_dos2unixtime()
|
H A D | smbfs_subr.h | 173 void smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds); 174 void smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp); 175 void smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp); 176 void smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec); 177 void smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, 179 void smb_dos2unixtime (u_int dd, u_int dt, u_int dh, int tzoff, struct timespec *tsp);
|
H A D | smbfs_smb.c | 483 int error, tzoff; in smbfs_smb_setptime2() local 499 tzoff = vcp->vc_sopt.sv_tz; in smbfs_smb_setptime2() 504 smb_time_unix2dos(atime, tzoff, &date, &time, NULL); in smbfs_smb_setptime2() 510 smb_time_unix2dos(mtime, tzoff, &date, &time, NULL); in smbfs_smb_setptime2() 538 int error, tzoff; in smbfs_smb_setpattrNT() local 554 tzoff = vcp->vc_sopt.sv_tz; in smbfs_smb_setpattrNT() 559 smb_time_local2NT(atime, tzoff, &tm); in smbfs_smb_setpattrNT() 564 smb_time_local2NT(mtime, tzoff, &tm); in smbfs_smb_setpattrNT() 588 int error, tzoff; in smbfs_smb_setftime() local 594 tzoff = SSTOVC(ssp)->vc_sopt.sv_tz; in smbfs_smb_setftime() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 197 int tzoff; in ATF_TC_BODY() local 223 tzoff = -60; /* British Summer Time */ in ATF_TC_BODY() 224 parsecheck("14:00", &t, &tzoff, localtime_r, in ATF_TC_BODY() 436 int tzoff; in ATF_TC_BODY() local 446 tzoff = 0; in ATF_TC_BODY() 447 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 448 tzoff = 3600; in ATF_TC_BODY() 449 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 450 tzoff = -3600; in ATF_TC_BODY() 451 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | clocktime.c | 57 int tzoff , /* hours west of GMT */ in clocktime() argument 73 MINSPERHR * ((int32)hour + (int32)tzoff + in clocktime()
|
/freebsd/usr.bin/find/ |
H A D | getdate.y | 839 int tzoff; in get_date() local 863 tzoff = difftm (&gmt, tm) / 60; in get_date() 870 tzoff = 0; in get_date() 873 tzoff += 60; in get_date() 879 yyTimezone = tzoff; in get_date()
|
/freebsd/contrib/libpcap/ |
H A D | rpcap-protocol.h | 285 int32 tzoff; /* Timezone offset - not used by newer clients */ member
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 1919 openreply->tzoff = 0; in daemon_msg_open_req()
|