Home
last modified time | relevance | path

Searched refs:gmtoff (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/external/ibm-public/postfix/dist/src/global/
H A Dmail_date.c61 int gmtoff; in mail_date() local
87 gmtoff -= DAY_MIN; in mail_date()
89 gmtoff += DAY_MIN; in mail_date()
91 gmtoff -= DAY_MIN; in mail_date()
93 gmtoff += DAY_MIN; in mail_date()
95 gmtoff -= 1; in mail_date()
97 gmtoff += 1; in mail_date()
117 if (gmtoff < -DAY_MIN || gmtoff > DAY_MIN) in mail_date()
118 msg_panic("UTC time offset %d is larger than one day", gmtoff); in mail_date()
119 vstring_sprintf_append(vp, "%+03d%02d", (int) (gmtoff / HOUR_MIN), in mail_date()
[all …]
/netbsd/external/gpl3/gdb/dist/gas/config/
H A Dte-vms.c279 long long gmtoff, secs, nsecs; in vms_file_stats_name() local
294 gmtoff = ts->tm_gmtoff; in vms_file_stats_name()
300 gmtoff = - (timezone - 3600); in vms_file_stats_name()
302 gmtoff = - timezone; in vms_file_stats_name()
321 *cdt = ((secs + gmtoff) * VMS_GRANULARITY_FACTOR) in vms_file_stats_name()
/netbsd/external/gpl3/binutils/dist/gas/config/
H A Dte-vms.c279 long long gmtoff, secs, nsecs; in vms_file_stats_name() local
294 gmtoff = ts->tm_gmtoff; in vms_file_stats_name()
300 gmtoff = - (timezone - 3600); in vms_file_stats_name()
302 gmtoff = - timezone; in vms_file_stats_name()
321 *cdt = ((secs + gmtoff) * VMS_GRANULARITY_FACTOR) in vms_file_stats_name()
/netbsd/external/gpl3/binutils.old/dist/gas/config/
H A Dte-vms.c279 long long gmtoff, secs, nsecs; in vms_file_stats_name() local
294 gmtoff = ts->tm_gmtoff; in vms_file_stats_name()
300 gmtoff = - (timezone - 3600); in vms_file_stats_name()
302 gmtoff = - timezone; in vms_file_stats_name()
321 *cdt = ((secs + gmtoff) * VMS_GRANULARITY_FACTOR) in vms_file_stats_name()
/netbsd/external/gpl3/gdb.old/dist/gas/config/
H A Dte-vms.c279 long long gmtoff, secs, nsecs; in vms_file_stats_name() local
294 gmtoff = ts->tm_gmtoff; in vms_file_stats_name()
300 gmtoff = - (timezone - 3600); in vms_file_stats_name()
302 gmtoff = - timezone; in vms_file_stats_name()
321 *cdt = ((secs + gmtoff) * VMS_GRANULARITY_FACTOR) in vms_file_stats_name()
/netbsd/sbin/mount_nilfs/
H A Dmount_nilfs.c127 args->gmtoff = a_num(optarg, "gmtoff"); in mount_nilfs_parseargs()
143 args->gmtoff = tm->tm_gmtoff; in mount_nilfs_parseargs()
173 args.gmtoff, args.cpno, buf); in mount_nilfs()
/netbsd/sbin/mount_udf/
H A Dmount_udf.c150 args->gmtoff = a_num(optarg, "gmtoff"); in mount_udf_parseargs()
166 args->gmtoff = tm->tm_gmtoff; in mount_udf_parseargs()
201 args.gmtoff, args.sessionnr, buf); in mount_udf()
/netbsd/sbin/mount_msdos/
H A Dmount_msdos.c137 args->gmtoff = atoi(optarg); in mount_msdos_parseargs()
183 args->gmtoff = tm->tm_gmtoff; in mount_msdos_parseargs()
208 args.gmtoff, buf); in mount_msdos()
/netbsd/sys/fs/msdosfs/
H A Ddirentry.h131 void msdosfs_unix2dostime(const struct timespec *tsp, int gmtoff,
134 int gmtoff, struct timespec *tsp);
H A Dmsdosfs_conv.c120 msdosfs_unix2dostime(const struct timespec *tsp, int gmtoff, in msdosfs_unix2dostime() argument
126 t = tsp->tv_sec + gmtoff; /* time zone correction */ in msdosfs_unix2dostime()
174 msdosfs_dos2unixtime(u_int dd, u_int dt, u_int dh, int gmtoff, in msdosfs_dos2unixtime() argument
200 tsp->tv_sec -= gmtoff; /* time zone correction */ in msdosfs_dos2unixtime()
H A Ddenode.h261 #define DETIMES(dep, acc, mod, cre, gmtoff) \ argument
263 msdosfs_detimes(dep, acc, mod, cre, gmtoff)
H A Dmsdosfsmount.h69 int gmtoff; /* v3: offset from UTC in seconds */ member
H A Dmsdosfs_vnops.c1422 const struct timespec *mod, const struct timespec *cre, int gmtoff) in msdosfs_detimes() argument
1434 msdosfs_unix2dostime(mod, gmtoff, &dep->de_MDate, in msdosfs_detimes()
1443 msdosfs_unix2dostime(acc, gmtoff, &dep->de_ADate, in msdosfs_detimes()
1450 msdosfs_unix2dostime(cre, gmtoff, &dep->de_CDate, in msdosfs_detimes()
H A Dmsdosfs_vfsops.c192 pmp->pm_gmtoff = argp->gmtoff; in update_mp()
303 args->gmtoff = pmp->pm_gmtoff; in msdosfs_mount()
321 args->gmtoff = 0; in msdosfs_mount()
/netbsd/usr.bin/mail/
H A Dformat.c484 const char *gmtoff; in convert_obs_zone() member
525 return zp->gmtoff; in convert_obs_zone()
708 const char *gmtoff; in dateof() local
740 (gmtoff = date_to_tm(date, tm)) != NULL) { in dateof()
759 if (strcmp(gmtoff, "-0000") != 0 && in dateof()
760 sscanf(gmtoff, " %1[+-]%2d%2d ", sign, &hour, &min) == 3) { in dateof()
/netbsd/external/bsd/am-utils/dist/amd/
H A Dops_udf.c218 udf_args.gmtoff = 0; in mount_udf()
220 udf_args.gmtoff = a_num(str, MNTTAB_OPT_GMTOFF); in mount_udf()
/netbsd/sbin/newfs_udf/
H A Dnewfs_udf.c175 context.gmtoff = tm->tm_gmtoff; in main()
243 context.gmtoff = a_num(optarg, "gmtoff"); in main()
H A Dudf_core.h166 int gmtoff; /* in minutes */ member
/netbsd/sys/fs/nilfs/
H A Dnilfs_mount.h43 int32_t gmtoff; /* offset from UTC in seconds */ member
/netbsd/sys/fs/udf/
H A Dudf_mount.h43 int32_t gmtoff; /* offset from UTC in seconds */ member
/netbsd/external/bsd/cron/dist/
H A Dmisc.c566 long gmtoff = get_gmtoff(&t, &tm); in arpadate() local
567 int hours = gmtoff / SECONDS_PER_HOUR; in arpadate()
568 int minutes = (gmtoff - (hours * SECONDS_PER_HOUR)) / SECONDS_PER_MINUTE; in arpadate()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_fs.c925 fs_args.msdosfs_args.gmtoff = in netbsd32___mount50()
926 fs_args32.msdosfs_args.gmtoff; in netbsd32___mount50()
947 fs_args.udf_args.gmtoff = in netbsd32___mount50()
948 fs_args32.udf_args.gmtoff; in netbsd32___mount50()
1084 fs_args32.udf_args.gmtoff = in netbsd32___mount50()
1085 fs_args.udf_args.gmtoff; in netbsd32___mount50()
H A Dnetbsd32.h1153 int gmtoff; /* v3: offset from UTC in seconds */ member
1162 int32_t gmtoff; /* offset from UTC in seconds */ member
/netbsd/lib/libc/time/
H A Dzdump.c812 gmtoff(struct tm const *a, ATTRIBUTE_MAYBE_UNUSED time_t *t, in gmtoff() function
863 long off = gmtoff(tmp, NULL, gmtmp); in show()
988 long off = gmtoff(tm, &t, NULL); in format_utc_offset()
/netbsd/usr.sbin/makefs/
H A Dudf.c123 OPT_NUM('t', "tz", gmtoff, -24, 24, "timezone"), in udf_prep_opts()
166 context.gmtoff = tm.tm_gmtoff; in udf_prep_opts()
169 context.gmtoff = 0; in udf_prep_opts()

12