/freebsd-11-stable/lib/libc/locale/ |
H A D | wcsftime.c | 57 const wchar_t * __restrict format, const struct tm * __restrict timeptr, 119 const wchar_t * __restrict format, const struct tm * __restrict timeptr)
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | tg.c | 259 struct tm *tm = NULL; /* structure returned by gmtime */ local 353 tm = gmtime(&tv.tv_sec); 354 minute = tm->tm_min; 355 hour = tm->tm_hour; 356 day = tm->tm_yday + 1; 357 year = tm->tm_year % 100; 358 second = tm->tm_sec;
|
/freebsd-11-stable/sys/dev/efidev/ |
H A D | efirt.c | 309 efi_get_time_locked(struct efi_tm *tm, struct efi_tmcap *tmcap) argument 318 status = efi_runtime->rt_gettime(tm, tmcap); 325 efi_get_time(struct efi_tm *tm) argument 339 error = efi_get_time_locked(tm, &dummy); 372 efi_set_time_locked(struct efi_tm *tm) argument 381 status = efi_runtime->rt_settime(tm); 388 efi_set_time(struct efi_tm *tm) argument 395 error = efi_set_time_locked(tm);
|
/freebsd-11-stable/contrib/ldns/ldns/ |
H A D | util.h | 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_arithmitics_gmtime_r(int32_t time, time_t now, struct tm *result);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | print.c | 247 struct tm *tm, tmz; local 260 tm = localtime_r(&t, &tmz); 262 tm = gmtime_r(&t, &tmz); 264 if (tm == NULL) 266 pp = asctime_r(tm, buf);
|
/freebsd-11-stable/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 861 struct mbuf *mlast, *mic, *tm; local 890 MGET(tm, M_WAITOK, MT_DATA); 891 tm->m_len = cklen; 892 mlast->m_next = tm; 896 bcopy(tm->m_data, p + 8, cklen); 899 m_free(tm); 1044 struct mbuf *mlast, *tm; local 1086 MGET(tm, M_WAITOK, MT_DATA); 1087 tm->m_len = cklen; 1088 mlast->m_next = tm; 1254 struct mbuf *m, *mlast, *tm, *cm, *pm; local 1405 struct mbuf *m, *mlast, *tm; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lvm.c | 113 const TValue *tm; local 118 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */ 124 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) 126 if (ttisfunction(tm)) { 127 callTM(L, tm, t, key, val, 1); 130 t = tm; /* else repeat with 'tm' */ 139 const TValue *tm; local 147 ((tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL && 162 if (ttisnil(tm 177 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ local 261 const TValue *tm; local 336 const TValue *tm; local [all...] |
/freebsd-11-stable/crypto/heimdal/kadmin/ |
H A D | load.c | 75 struct tm tm; local 82 tm.tm_year = year - 1900; 83 tm.tm_mon = month - 1; 84 tm.tm_mday = date; 85 tm.tm_hour = hour; 86 tm.tm_min = minute; 87 tm.tm_sec = second; 88 tm.tm_isdst = 0; 89 *t = timegm(&tm); [all...] |
/freebsd-11-stable/contrib/serf/buckets/ |
H A D | buckets.c | 575 apr_time_exp_t tm; local 577 apr_time_exp_lt(&tm, apr_time_now()); 579 1900 + tm.tm_year, 1 + tm.tm_mon, tm.tm_mday, 580 tm.tm_hour, tm.tm_min, tm.tm_sec, tm.tm_usec, 581 tm [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_warc.c | 532 time_from_tm(struct tm *t) 560 struct tm tm; 563 /* make sure tm is clean */ 564 memset(&tm, 0, sizeof(tm)); 572 if ((tm.tm_year = strtoi_lim(s, &s, 1583, 4095)) < 0 || *s++ != '-') { 576 if ((tm.tm_mon = strtoi_lim(s, &s, 1, 12)) < 0 || *s++ != '-') { 580 if ((tm.tm_mday = strtoi_lim(s, &s, 1, 31)) < 0 || *s++ != 'T') { 584 if ((tm 559 struct tm tm; local [all...] |
/freebsd-11-stable/contrib/opie/ |
H A D | opiesu.c | 216 struct tm *tm; local 229 tm = localtime(&now); 237 tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_freebsd.cpp | 98 unsigned struct_tm_sz = sizeof(struct tm); 443 CHECK_TYPE_SIZE(tm); variable 444 CHECK_SIZE_AND_OFFSET(tm, tm_sec); 445 CHECK_SIZE_AND_OFFSET(tm, tm_min); 446 CHECK_SIZE_AND_OFFSET(tm, tm_hour); 447 CHECK_SIZE_AND_OFFSET(tm, tm_mday); 448 CHECK_SIZE_AND_OFFSET(tm, tm_mon); 449 CHECK_SIZE_AND_OFFSET(tm, tm_year); 450 CHECK_SIZE_AND_OFFSET(tm, tm_wday); 451 CHECK_SIZE_AND_OFFSET(tm, tm_yda [all...] |
/freebsd-11-stable/contrib/bmake/ |
H A D | util.c | 468 strftime(char *buf, size_t len, const char *fmt, const struct tm *tm) argument 497 s = snprintf(buf, len, "%d", tm->tm_hour); 500 s = snprintf(buf, len, "%02d", tm->tm_min); 503 s = snprintf(buf, len, "%02d", tm->tm_sec); 506 if (tm->tm_mon >= 12) 508 s = snprintf(buf, len, "%s", months[tm->tm_mon]); 511 s = snprintf(buf, len, "%02d", tm->tm_mday); 514 s = snprintf(buf, len, "%d", 1900 + tm->tm_year);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_dumbclock.c | 71 struct tm ymd; /* struct tm for y/m/d only */ 111 struct tm *tm_time_p; 241 struct tm *gmtp; 242 struct tm *lt_p; 244 struct tm asserted_tm; /* the struct tm of the same */
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_filter.c | 42 ex_filter(SCR *sp, EXCMD *cmdp, MARK *fm, MARK *tm, MARK *rp, CHAR_T *cmd, enum filtertype ftype) argument 234 _exit(ex_writefp(sp, "filter", ifp, fm, tm, NULL, NULL, 1)); 252 if (ex_readfp(sp, "filter", ofp, tm, &nread, 1)) 264 (cut(sp, NULL, fm, tm, CUT_LINEMODE) || 265 del(sp, fm, tm, 1))) {
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_calendar.h | 229 * Convert the date part of a 'struct tm' (that is, year, month, 233 ntpcal_tm_to_rd(const struct tm * /* utm */); 275 * tm'. Return 0 if the year is regular year, !0 if the year is a leap 279 ntpcal_rd_to_tm(struct tm * /* utm */, int32_t /* rd */); 297 * a 'struct tm'. Return excessive days. 300 ntpcal_daysec_to_tm(struct tm * /* utm */, int32_t /* secs */); 303 ntpcal_tm_to_daysec(const struct tm * /* utm */); 330 ntpcal_daysplit_to_tm(struct tm * /* utm */, const ntpcal_split * /* ds */,
|
/freebsd-11-stable/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 152 struct tm t, gm; 172 struct tm t; 192 struct tm t;
|
/freebsd-11-stable/contrib/ldns/ |
H A D | str2host.c | 61 struct tm tm; local 69 memset(&tm, 0, sizeof(tm)); 72 sscanf(time, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | subr_fattime.c | 266 struct tm tm; local 280 gmtime_r(&ts.tv_sec, &tm); 281 strftime(buf, sizeof buf, "%Y %m %d %H %M %S", &tm); 299 gmtime_r(&ts.tv_sec, &tm); 300 strftime(buf, sizeof buf, "%Y %m %d %H %M %S", &tm);
|
/freebsd-11-stable/usr.bin/logins/ |
H A D | logins.c | 300 struct tm *tm; local 320 tm = gmtime(&pwd->pw_change); 321 strftime(cbuf, sizeof(cbuf), pwd->pw_change ? "%F" : "0", tm); 322 tm = gmtime(&pwd->pw_expire); 323 strftime(ebuf, sizeof(ebuf), pwd->pw_expire ? "%F" : "0", tm);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | mkconfig.sh | 23 # config.h, tconfig.h, bconfig.h, tm.h, and tm_p.h. 83 # If this is tm.h, now include insn-constants.h and insn-flags.h only 88 tm.h )
|
H A D | sys-types.h | 7 struct tm; 59 struct tm;
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | getdate.c | 132 apr_time_t tm, 142 date_ctx->time = tm; 128 svn_ra_serf__get_dated_revision(svn_ra_session_t *ra_session, svn_revnum_t *revision, apr_time_t tm, apr_pool_t *pool) argument
|
/freebsd-11-stable/lib/libc/stdtime/ |
H A D | strftime.c | 50 static char * _fmt(const char *, const struct tm *, char *, const char *, 91 const struct tm * __restrict t, locale_t loc) 124 const struct tm * __restrict t) 130 _fmt(const char *format, const struct tm * const t, char *pt, 314 struct tm tm; local 319 tm = *t; 320 mkt = mktime(&tm);
|
/freebsd-11-stable/contrib/tzcode/stdtime/ |
H A D | private.h | 193 extern char * asctime_r(struct tm const *, char *); 299 char *asctime_r(struct tm const *, char *);
|