Home
last modified time | relevance | path

Searched refs:tzoff (Results 1 – 11 of 11) sorted by relevance

/trueos/sys/fs/smbfs/
HDsmbfs_subr.c52 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()
HDsmbfs_subr.h172 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);
HDsmbfs_smb.c484 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/
HDt_parsedate.c107 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/
HDrefclock_datum.c160 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/
HDclocktime.c36 int tzoff, in clocktime() argument
50 tmp = (long)(MULBY24((yday-1)) + hour + tzoff); in clocktime()
/trueos/usr.bin/find/
HDgetdate.y852 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/
HDsf-pcap.c187 p->tzoff = hdr.thiszone; in pcap_check_header()
510 if (sf_write_header(f, linktype, p->tzoff, p->snapshot) == -1) { in pcap_setup_dump()
HDpcap-int.h263 int tzoff; /* timezone offset */ member
HDsf-pcap-ng.c747 p->tzoff = 0; /* XXX - not used in pcap */ in pcap_ng_check_header()
/trueos/contrib/pf/pflogd/
HDpflogd.c378 hdr.thiszone = hpcap->tzoff; in try_reset_dump()