| /trueos/sys/fs/smbfs/ |
| HD | 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() 74 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) in smb_time_NT2local() argument 80 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) in smb_time_local2NT() argument 89 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, in smb_time_unix2dos() argument 96 smb_time_local2server(tsp, tzoff, &t); in smb_time_unix2dos() 102 smb_dos2unixtime(u_int dd, u_int dt, u_int dh, int tzoff, in smb_dos2unixtime() argument 107 smb_time_server2local(tsp->tv_sec, tzoff, tsp); in smb_dos2unixtime()
|
| HD | 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);
|
| HD | smbfs_smb.c | 484 int error, tzoff; in smbfs_smb_setptime2() local 500 tzoff = vcp->vc_sopt.sv_tz; in smbfs_smb_setptime2() 505 smb_time_unix2dos(atime, tzoff, &date, &time, NULL); in smbfs_smb_setptime2() 511 smb_time_unix2dos(mtime, tzoff, &date, &time, NULL); in smbfs_smb_setptime2() 539 int error, tzoff; in smbfs_smb_setpattrNT() local 555 tzoff = vcp->vc_sopt.sv_tz; in smbfs_smb_setpattrNT() 560 smb_time_local2NT(atime, tzoff, &tm); in smbfs_smb_setpattrNT() 565 smb_time_local2NT(mtime, tzoff, &tm); in smbfs_smb_setpattrNT() 589 int error, tzoff; in smbfs_smb_setftime() local 595 tzoff = SSTOVC(ssp)->vc_sopt.sv_tz; in smbfs_smb_setftime() [all …]
|
| /trueos/contrib/netbsd-tests/lib/libutil/ |
| HD | t_parsedate.c | 107 int tzoff; in ATF_TC_BODY() local 117 tzoff = 0; in ATF_TC_BODY() 118 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 119 tzoff = 3600; in ATF_TC_BODY() 120 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 121 tzoff = -3600; in ATF_TC_BODY() 122 ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0); in ATF_TC_BODY() 126 ATF_CHECK(parsedate("@-1", NULL, &tzoff) == (time_t)-1 && errno == 0); in ATF_TC_BODY() 127 ATF_CHECK(parsedate("@-2", NULL, &tzoff) == (time_t)-2 && errno == 0); in ATF_TC_BODY()
|
| /trueos/contrib/ntp/ntpd/ |
| HD | refclock_datum.c | 160 int tzoff; /* time zone offest from GMT */ member 590 int tzoff; in datum_pts_receive() local 695 tzoff = 0; /* set time zone offset to 0 */ in datum_pts_receive() 713 for (tzoff=0; tzoff<24; tzoff++) { in datum_pts_receive() 718 (tzoff + datum_pts->tzoff) % 24, in datum_pts_receive() 727 printf("Time Zone (clocktime method) = %d, error = %d\n", tzoff, error); in datum_pts_receive() 731 tzoff = (tzoff + datum_pts->tzoff) % 24; in datum_pts_receive() 732 datum_pts->tzoff = tzoff; in datum_pts_receive() 736 printf("Time Zone found (clocktime method) = %d\n",tzoff); in datum_pts_receive() 759 tzoff, in datum_pts_receive() [all …]
|
| /trueos/contrib/ntp/libntp/ |
| HD | clocktime.c | 36 int tzoff, in clocktime() argument 50 tmp = (long)(MULBY24((yday-1)) + hour + tzoff); in clocktime()
|
| /trueos/usr.bin/find/ |
| HD | getdate.y | 852 int tzoff; in get_date() local 876 tzoff = difftm (&gmt, tm) / 60; in get_date() 883 tzoff = 0; in get_date() 886 tzoff += 60; in get_date() 892 yyTimezone = tzoff; in get_date()
|
| /trueos/contrib/libpcap/ |
| HD | sf-pcap.c | 187 p->tzoff = hdr.thiszone; in pcap_check_header() 510 if (sf_write_header(f, linktype, p->tzoff, p->snapshot) == -1) { in pcap_setup_dump()
|
| HD | pcap-int.h | 263 int tzoff; /* timezone offset */ member
|
| HD | sf-pcap-ng.c | 747 p->tzoff = 0; /* XXX - not used in pcap */ in pcap_ng_check_header()
|
| /trueos/contrib/pf/pflogd/ |
| HD | pflogd.c | 378 hdr.thiszone = hpcap->tzoff; in try_reset_dump()
|