/netbsd/external/ibm-public/postfix/dist/src/global/ |
H A D | mail_date.c | 61 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 D | te-vms.c | 279 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 D | te-vms.c | 279 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 D | te-vms.c | 279 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 D | te-vms.c | 279 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 D | mount_nilfs.c | 127 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 D | mount_udf.c | 150 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 D | mount_msdos.c | 137 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 D | direntry.h | 131 void msdosfs_unix2dostime(const struct timespec *tsp, int gmtoff, 134 int gmtoff, struct timespec *tsp);
|
H A D | msdosfs_conv.c | 120 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 D | denode.h | 261 #define DETIMES(dep, acc, mod, cre, gmtoff) \ argument 263 msdosfs_detimes(dep, acc, mod, cre, gmtoff)
|
H A D | msdosfsmount.h | 69 int gmtoff; /* v3: offset from UTC in seconds */ member
|
H A D | msdosfs_vnops.c | 1422 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 D | msdosfs_vfsops.c | 192 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 D | format.c | 484 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 D | ops_udf.c | 218 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 D | newfs_udf.c | 175 context.gmtoff = tm->tm_gmtoff; in main() 243 context.gmtoff = a_num(optarg, "gmtoff"); in main()
|
H A D | udf_core.h | 166 int gmtoff; /* in minutes */ member
|
/netbsd/sys/fs/nilfs/ |
H A D | nilfs_mount.h | 43 int32_t gmtoff; /* offset from UTC in seconds */ member
|
/netbsd/sys/fs/udf/ |
H A D | udf_mount.h | 43 int32_t gmtoff; /* offset from UTC in seconds */ member
|
/netbsd/external/bsd/cron/dist/ |
H A D | misc.c | 566 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 D | netbsd32_fs.c | 925 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 D | netbsd32.h | 1153 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 D | zdump.c | 812 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 D | udf.c | 123 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()
|