/freebsd-current/contrib/bsddialog/examples_library/ |
H A D | timebox.c | 21 struct tm *localtm;
|
H A D | calendar.c | 21 struct tm *localtm;
|
/freebsd-current/contrib/blocklist/bin/ |
H A D | support.c | 91 struct tm tm; local 92 if (localtime_r(&t, &tm) == NULL) 95 strftime(b, l, "%Y/%m/%d %H:%M:%S", &tm);
|
/freebsd-current/contrib/nvi/common/ |
H A D | cut.c | 64 cut(SCR *sp, CHAR_T *namep, MARK *fm, MARK *tm, int flags) argument 97 (LF_ISSET(CUT_LINEMODE) || fm->lno != tm->lno))) { 108 (LF_ISSET(CUT_LINEMODE) || fm->lno != tm->lno))) { 135 for (lno = fm->lno; lno <= tm->lno; ++lno) 143 if (cut_line(sp, fm->lno, fm->cno, fm->lno != tm->lno ? 144 ENTIRE_LINE : (tm->cno - fm->cno) + 1, cbp)) 148 for (lno = fm->lno; ++lno < tm->lno;) 153 if (tm->lno != fm->lno && 154 cut_line(sp, lno, 0, tm->cno + 1, cbp))
|
/freebsd-current/contrib/ldns/ |
H A D | util.c | 194 ldns_mktime_from_utc(const struct tm *tm) argument 196 int year = 1900 + tm->tm_year; 203 for (i = 0; i < tm->tm_mon; ++i) { 206 if (tm->tm_mon > 1 && is_leap_year(year)) { 209 days += tm->tm_mday - 1; 211 hours = days * 24 + tm->tm_hour; 212 minutes = hours * 60 + tm->tm_min; 213 seconds = minutes * 60 + tm->tm_sec; 219 mktime_from_utc(const struct tm *t argument [all...] |
/freebsd-current/contrib/tzcode/ |
H A D | private.h | 683 DEPRECATED_IN_C23 char *asctime(struct tm const *); 684 char *asctime_r(struct tm const *restrict, char *restrict); 689 struct tm const *restrict); 692 struct tm const *restrict, locale_t); 694 struct tm *gmtime(time_t const *); 695 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict); 696 struct tm *localtime(time_t const *); 697 struct tm *localtime_r(time_t const *restrict, struct tm *restric [all...] |
H A D | strftime.c | 109 static char * _fmt(const char *, const struct tm *, char *, const char *, 120 struct tm const *restrict t, 130 struct tm const *restrict t) 164 _fmt(const char *format, const struct tm *t, char *pt, 319 struct tm tm; local 324 tm.tm_sec = t->tm_sec; 325 tm.tm_min = t->tm_min; 326 tm.tm_hour = t->tm_hour; 327 tm [all...] |
/freebsd-current/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.c | 640 struct tm tm; local 667 bzero(&tm, sizeof(tm)); 668 strptime(optarg, "%Y%m%d%H%M%S", &tm); 670 &tm); 672 p_atime = mktime(&tm); 680 bzero(&tm, sizeof(tm)); 681 strptime(optarg, "%Y%m%d%H%M%S", &tm); [all...] |
/freebsd-current/crypto/heimdal/lib/asn1/ |
H A D | der_get.c | 444 struct tm tm; local 446 memset(&tm, 0, sizeof(tm)); 448 &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, 449 &tm.tm_min, &tm [all...] |
H A D | der_put.c | 501 struct tm tm; local 508 if (_der_gmtime(t, &tm) == NULL) 512 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, 513 tm.tm_hour, tm.tm_min, tm.tm_sec); 516 tm [all...] |
/freebsd-current/bin/date/ |
H A D | vary.c | 54 static int adjhour(struct tm *, char, int64_t, int); 57 domktime(struct tm *t, char type) 104 daysinmonth(const struct tm *t) 127 adjyear(struct tm *t, char type, int64_t val, int mk) 141 t->tm_year -= 1900; /* struct tm holds years since 1900 */ 148 adjmon(struct tm *t, char type, int64_t val, int istext, int mk) 208 adjday(struct tm *t, char type, int64_t val, int mk) 252 adjwday(struct tm *t, char type, int64_t val, int istext, int mk) 288 adjhour(struct tm *t, char type, int64_t val, int mk) 333 adjmin(struct tm * [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_getdate.c | 696 struct tm *ltime; 698 struct tm tmbuf; 744 struct tm *ltime; 746 struct tm tmbuf; 772 struct tm *tm; local 775 struct tm tmbuf; 780 tm = gmtime_s(&tmbuf, &t) ? NULL : &tmbuf; 782 tm = gmtime_r(&t, &tmbuf); 784 tm 798 struct tm *tm; local 945 struct tm local, *tm; local [all...] |
/freebsd-current/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-current/usr.sbin/cron/cron/ |
H A D | externs.h | 76 #define TZONE(tm) tzname[(tm).tm_isdst]
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | ctime.inc | 16 using std::tm;
|
/freebsd-current/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 38 struct tm *tmptr; 40 struct tm tmbuf;
|
/freebsd-current/sys/sys/ |
H A D | efi.h | 256 struct efi_tm *tm); 257 int (*set_waketime)(uint8_t enable, struct efi_tm *tm); 291 static inline int efi_get_time(struct efi_tm *tm) argument 296 return (active_efi_ops->get_time(tm)); 315 static inline int efi_set_time(struct efi_tm *tm) argument 320 return (active_efi_ops->set_time(tm)); 324 struct efi_tm *tm) 328 return (active_efi_ops->get_waketime(enabled, pending, tm)); 331 static inline int efi_set_waketime(uint8_t enable, struct efi_tm *tm) argument 335 return (active_efi_ops->set_waketime(enable, tm)); 323 efi_get_waketime(uint8_t *enabled, uint8_t *pending, struct efi_tm *tm) argument [all...] |
/freebsd-current/contrib/wpa/src/utils/ |
H A D | os_unix.c | 142 struct tm tm, *tm1; local 151 memset(&tm, 0, sizeof(tm)); 152 tm.tm_year = year - 1900; 153 tm.tm_mon = month - 1; 154 tm.tm_mday = day; 155 tm.tm_hour = hour; 156 tm.tm_min = min; 157 tm 179 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/freebsd-current/usr.bin/last/ |
H A D | last.c | 223 struct tm *tm; local 249 tm = localtime(&t); 250 (void) strftime(ct, sizeof(ct), "%+", tm); 339 struct tm *tm; local 347 tm = localtime(&t); 350 (yflag ? "%a %b %e %Y %R" : "%a %b %e %R"), tm); 381 tm = localtime(&tt->logout); 382 (void) strftime(ct, sizeof(ct), "%R", tm); [all...] |
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | x509_set.c | 64 int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm) argument 68 if (in != tm) { 69 in = ASN1_STRING_dup(tm); 78 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm) argument 82 return ossl_x509_set1_time(&x->cert_info.validity.notBefore, tm); 85 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm) argument 89 return ossl_x509_set1_time(&x->cert_info.validity.notAfter, tm);
|
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | monitor.c | 53 ** tm -- maximum execution time for a thread 60 smfi_set_max_exec_time(tm) 61 unsigned int tm; 63 Mon_exec_time = tm;
|
/freebsd-current/crypto/heimdal/kadmin/ |
H A D | util.c | 180 struct tm tm, tm2; local 182 memset (&tm, 0, sizeof (tm)); 207 p = strptime (str, "%Y-%m-%d", &tm); 218 tm.tm_hour = tm2.tm_hour; 219 tm.tm_min = tm2.tm_min; 220 tm.tm_sec = tm2.tm_sec; 223 tm.tm_hour = 23; 224 tm [all...] |
/freebsd-current/lib/libutil/ |
H A D | login_cap.h | 146 struct tm; 150 int in_ltm(const login_time_t *, struct tm *, time_t *); 151 int in_ltms(const login_time_t *, struct tm *, time_t *);
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_move.c | 34 MARK fm1, fm2, m, tm; local 58 tm.lno = cmdp->lineno; 59 tm.cno = 0; 60 if (put(sp, &cb, NULL, &tm, &m, 1))
|
/freebsd-current/contrib/unbound/sldns/ |
H A D | parseutil.c | 72 sldns_mktime_from_utc(const struct tm *tm) argument 74 int year = 1900 + tm->tm_year; 81 for (i = 0; i < tm->tm_mon; ++i) { 84 if (tm->tm_mon > 1 && is_leap_year(year)) { 87 days += tm->tm_mday - 1; 89 hours = days * 24 + tm->tm_hour; 90 minutes = hours * 60 + tm->tm_min; 91 seconds = minutes * 60 + tm->tm_sec; 99 sldns_year_and_yday_from_days_since_epoch(int64_t days, struct tm *resul [all...] |