/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 660 struct tm *tm; in getit() local 680 tm = gmtime(&mtime); in getit() 681 tm->tm_mon++; in getit() 682 tm->tm_year += 1900; in getit() 684 if ((tm->tm_year > yy) || in getit() 685 (tm->tm_year == yy && in getit() 686 tm->tm_mon > mo) || in getit() 687 (tm->tm_mon == mo && in getit() 692 tm->tm_min > min) || in getit() 693 (tm->tm_min == min && in getit() [all …]
|
/freebsd/usr.bin/ipcs/ |
H A D | ipcs.c | 90 struct tm *tm; in cvt_time() local 95 tm = localtime(&t); in cvt_time() 97 tm->tm_hour, tm->tm_min, tm->tm_sec); in cvt_time()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | strptime.c | 189 set_week_number_sun (struct tm *timeptr, int wnum) in set_week_number_sun() 205 set_week_number_mon (struct tm *timeptr, int wnum) in set_week_number_mon() 221 set_week_number_mon4 (struct tm *timeptr, int wnum) in set_week_number_mon4() 241 strptime (const char *buf, const char *format, struct tm *timeptr) in strptime()
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | qcom-spmi-adc-tm-hc.yaml | 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 13 const: qcom,spmi-adc-tm-hc 135 adc-tm@3400 { 136 compatible = "qcom,spmi-adc-tm-hc";
|
/freebsd/contrib/tzcode/ |
H A D | date.c | 44 static void timeout(FILE *, const char *, const struct tm *); 170 struct tm *tmp; in display() 191 timeout(FILE *fp, char const *format, struct tm const *tmp) in timeout()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_smb.c | 537 int64_t tm; in smbfs_smb_setpattrNT() local 561 tm = 0; in smbfs_smb_setpattrNT() 562 mb_put_int64le(mbp, tm); in smbfs_smb_setpattrNT() 566 tm = 0; in smbfs_smb_setpattrNT() 567 mb_put_int64le(mbp, tm); in smbfs_smb_setpattrNT() 632 int64_t tm; in smbfs_smb_setfattrNT() local 651 tm = 0; in smbfs_smb_setfattrNT() 652 mb_put_int64le(mbp, tm); in smbfs_smb_setfattrNT() 656 tm = 0; in smbfs_smb_setfattrNT() 657 mb_put_int64le(mbp, tm); in smbfs_smb_setfattrNT() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ASN1_TIME_set.pod | 47 int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags); 51 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm); 114 ASN1_TIME_to_tm() converts the time I<s> to the standard I<tm> structure. 117 I<tm_mon> and I<tm_year> fields of I<tm> structure are set to proper values, 118 whereas all other fields are set to 0. If I<tm> is NULL this function performs 121 converting I<s> to I<tm> structure. 240 ASN1_TIME *tm; 245 tm = ASN1_TIME_adj(NULL, t, 0, 60 * 60); 247 ASN1_TIME_print(b, tm); 248 ASN1_STRING_free(tm);
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_evt.c | 246 struct tm tm; in format_timestamp() local 256 bzero(&tm, sizeof(tm)); in format_timestamp() 257 tm.tm_mday = 1; in format_timestamp() 258 tm.tm_year = (2000 - 1900); in format_timestamp() 259 base = mktime(&tm); in format_timestamp()
|
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | holds.py | 67 for tag, tm in ds.get_holds().iteritems(): 69 "timestamp": time.ctime(tm)}
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_vdso_gtod.c | 145 __vdso_time_fallback(long *tm) in __vdso_time_fallback() argument 153 : "a"(LINUX32_SYS_linux_time), "b"(tm) in __vdso_time_fallback()
|
/freebsd/sys/i386/linux/ |
H A D | linux_vdso_gtod.c | 145 __vdso_time_fallback(long *tm) in __vdso_time_fallback() argument 153 : "a"(LINUX_SYS_linux_time), "b"(tm) in __vdso_time_fallback()
|
/freebsd/contrib/diff/src/ |
H A D | context.c | 32 size_t nstrftime (char *, size_t, char const *, struct tm const *, int, long); 59 struct tm const *tm = localtime (&inf->stat.st_mtime); in print_context_label() local 61 if (! (tm && nstrftime (buf, sizeof buf, time_format, tm, 0, nsec))) in print_context_label()
|
/freebsd/usr.bin/rup/ |
H A D | rup.c | 95 struct tm *tmp_time; in rstat_reply() 96 struct tm host_time; in rstat_reply() 97 struct tm host_uptime; in rstat_reply()
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 38 struct tm *tmptr; in DEFINE_TEST() 40 struct tm tmbuf; in DEFINE_TEST()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_iso9660.c | 3133 struct tm tm; in isodate7() local 3137 memset(&tm, 0, sizeof(tm)); in isodate7() 3138 tm.tm_year = v[0]; in isodate7() 3139 tm.tm_mon = v[1] - 1; in isodate7() 3140 tm.tm_mday = v[2]; in isodate7() 3141 tm.tm_hour = v[3]; in isodate7() 3142 tm.tm_min = v[4]; in isodate7() 3143 tm.tm_sec = v[5]; in isodate7() 3150 t = time_from_tm(&tm); in isodate7() 3159 struct tm tm; in isodate17() local [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_util.c | 1062 struct calendar tm; in fstostr() local 1065 if (ntpcal_ntp_to_date(&tm, (u_int32)ntp_stamp, NULL) < 0) in fstostr() 1070 tm.year, tm.month, tm.monthday, in fstostr() 1071 tm.hour, tm.minute); in fstostr()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_posix.cpp | 1175 CHECK_TYPE_SIZE(tm); 1176 CHECK_SIZE_AND_OFFSET(tm, tm_sec); 1177 CHECK_SIZE_AND_OFFSET(tm, tm_min); 1178 CHECK_SIZE_AND_OFFSET(tm, tm_hour); 1179 CHECK_SIZE_AND_OFFSET(tm, tm_mday); 1180 CHECK_SIZE_AND_OFFSET(tm, tm_mon); 1181 CHECK_SIZE_AND_OFFSET(tm, tm_year); 1182 CHECK_SIZE_AND_OFFSET(tm, tm_wday); 1183 CHECK_SIZE_AND_OFFSET(tm, tm_yday); 1184 CHECK_SIZE_AND_OFFSET(tm, tm_isdst); [all …]
|
H A D | sanitizer_deadlock_detector2.cpp | 206 ThreadMutex *tm = <->locked[lt->nlocked++]; in MutexBeforeLock() local 207 tm->id = m->id; in MutexBeforeLock() 209 tm->stk = cb->Unwind(); in MutexBeforeLock() 293 ThreadMutex *tm = <->locked[lt->nlocked++]; in MutexAfterLock() local 294 tm->id = m->id; in MutexAfterLock() 296 tm->stk = cb->Unwind(); in MutexAfterLock()
|
/freebsd/lib/libunbound/ |
H A D | config.h | 1355 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1436 struct tm; 1437 char *strptime(const char *s, const char *format, struct tm *tm);
|
/freebsd/contrib/unbound/sldns/ |
H A D | str2wire.c | 2144 struct tm tm; in sldns_str2wire_time_buf() local 2149 memset(&tm, 0, sizeof(tm)); in sldns_str2wire_time_buf() 2151 &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, in sldns_str2wire_time_buf() 2152 &tm.tm_min, &tm.tm_sec) == 6) { in sldns_str2wire_time_buf() 2154 tm.tm_mon--; in sldns_str2wire_time_buf() 2156 if (tm.tm_year < 70) in sldns_str2wire_time_buf() 2158 if (tm.tm_mon < 0 || tm.tm_mon > 11) in sldns_str2wire_time_buf() 2160 if (tm.tm_mday < 1 || tm.tm_mday > 31) in sldns_str2wire_time_buf() 2162 if (tm.tm_hour < 0 || tm.tm_hour > 23) in sldns_str2wire_time_buf() 2164 if (tm.tm_min < 0 || tm.tm_min > 59) in sldns_str2wire_time_buf() [all …]
|
/freebsd/contrib/ntp/sntp/libopts/m4/ |
H A D | libopts.m4 | 332 struct tm tm; 333 tm.tm_sec = 36; /* seconds after the minute @<:@0, 61@:>@ */ 334 tm.tm_min = 44; /* minutes after the hour @<:@0, 59@:>@ */ 335 tm.tm_hour = 12; /* hour since midnight @<:@0, 23@:>@ */ 336 tm.tm_mday = 28; /* day of the month @<:@1, 31@:>@ */ 337 tm.tm_mon = 7; /* months since January @<:@0, 11@:>@ */ 338 tm.tm_year = 86; /* years since 1900 */ 339 tm.tm_wday = 4; /* days since Sunday @<:@0, 6@:>@ */ 340 tm.tm_yday = 239; /* days since January 1 @<:@0, 365@:>@ */ 341 tm.tm_isdst = 1; /* flag for daylight savings time */ [all …]
|
/freebsd/lib/libc/locale/ |
H A D | wcsftime.c | 56 const wchar_t * __restrict format, const struct tm * __restrict timeptr, in wcsftime_l() 118 const wchar_t * __restrict format, const struct tm * __restrict timeptr) in wcsftime()
|
/freebsd/bin/ls/ |
H A D | print.c | 430 ls_strftime(char *str, size_t len, const char *fmt, const struct tm *tm) in ls_strftime() argument 439 if (month_max_size > 0 && tm != NULL) { in ls_strftime() 442 get_abmon(tm->tm_mon), in ls_strftime() 443 (int)padding_for_month[tm->tm_mon], in ls_strftime() 449 if (tm != NULL) in ls_strftime() 450 strftime(str, len, format, tm); in ls_strftime()
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_sign.c | 822 struct tm *tm = NULL, tm_result; in TS_RESP_set_genTime_with_precision() local 830 if ((tm = OPENSSL_gmtime(&time_sec, &tm_result)) == NULL) in TS_RESP_set_genTime_with_precision() 842 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, in TS_RESP_set_genTime_with_precision() 843 tm->tm_hour, tm->tm_min, tm->tm_sec); in TS_RESP_set_genTime_with_precision()
|
/freebsd/contrib/ldns/ldns/ |
H A D | util.h.in | 268 * \param[in] tm a struct tm* with the date 271 time_t ldns_mktime_from_utc(const struct tm *tm); 273 time_t mktime_from_utc(const struct tm *tm); 289 struct tm * ldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result);
|