Searched refs:tm (Results 276 - 300 of 516) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/sendmail/src/
H A Denvelope.c857 register struct tm *tm; local
862 tm = gmtime(&now);
864 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
865 tm->tm_hour, tm->tm_min);
/freebsd-11-stable/contrib/ntp/util/
H A Dntp-keygen.c2104 struct tm tm; /* time decode structure time */
2116 tm.tm_year = (v[0] - '0') * 10 + v[1] - '0';
2117 if (tm.tm_year < 50)
2118 tm.tm_year += 100;
2119 tm.tm_mon = (v[2] - '0') * 10 + v[3] - '0' - 1;
2120 tm.tm_mday = (v[4] - '0') * 10 + v[5] - '0';
2121 tm.tm_hour = (v[6] - '0') * 10 + v[7] - '0';
2122 tm.tm_min = (v[8] - '0') * 10 + v[9] - '0';
2123 tm
[all...]
/freebsd-11-stable/sys/netsmb/
H A Dsmb_trantcp.c334 struct mbuf *m, *tm, *im; local
382 tm = NULL;
396 &auio, &tm, (struct mbuf **)NULL, &rcvflg);
410 m = tm;
418 im->m_next = tm;
/freebsd-11-stable/bin/ls/
H A Dprint.c498 ls_strftime(char *str, size_t len, const char *fmt, const struct tm *tm) argument
511 get_abmon(tm->tm_mon),
512 (int)padding_for_month[tm->tm_mon],
518 ret = strftime(str, len, format, tm);
/freebsd-11-stable/usr.bin/unzip/
H A Dunzip.c792 struct tm *tm; local
795 tm = localtime(&mtime);
797 strftime(buf, sizeof(buf), "%m-%d-%G %R", tm);
799 strftime(buf, sizeof(buf), "%m-%d-%g %R", tm);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar.c1712 struct tm tm; local
1713 tm.tm_sec = 2 * (ttime & 0x1f);
1714 tm.tm_min = (ttime >> 5) & 0x3f;
1715 tm.tm_hour = (ttime >> 11) & 0x1f;
1716 tm.tm_mday = (ttime >> 16) & 0x1f;
1717 tm.tm_mon = ((ttime >> 21) & 0x0f) - 1;
1718 tm.tm_year = ((ttime >> 25) & 0x7f) + 80;
1719 tm.tm_isdst = -1;
1720 return mktime(&tm);
1728 struct tm *tm; local
[all...]
H A Darchive_write_set_format_iso9660.c1396 struct tm tm; local
1402 memset(&tm, 0, sizeof(tm));
1404 tm.tm_year = strtol(buf, NULL, 10) - 1900;
1406 tm.tm_mon = strtol(buf, NULL, 10) - 1;
1408 tm.tm_mday = strtol(buf, NULL, 10);
1410 tm.tm_hour = strtol(buf, NULL, 10);
1412 tm.tm_min = strtol(buf, NULL, 10);
1414 tm
2503 get_gmoffset(struct tm *tm) argument
2522 get_tmfromtime(struct tm *tm, time_t *t) argument
2542 struct tm tm; local
2565 struct tm tm; local
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_sigcrypt.c1206 struct tm tm; local
1217 memset(&tm, 0, sizeof(tm));
1218 if(gmtime_r(&te, &tm) && strftime(expi_buf, 15, "%Y%m%d%H%M%S", &tm)
1219 &&gmtime_r(&ti, &tm) && strftime(incep_buf, 15, "%Y%m%d%H%M%S", &tm)
1220 &&gmtime_r(&tn, &tm) && strftime(now_buf, 15, "%Y%m%d%H%M%S", &tm)) {
[all...]
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c477 WRAPPER2(char *, asctime, struct tm *tm) argument
482 MF_VALIDATE_EXTENT(tm, sizeof (struct tm), __MF_CHECK_READ, "asctime tm");
483 result = asctime (tm);
510 WRAPPER2(struct tm*, localtime, const time_t *timep) argument
512 static struct tm *reg_result = NULL;
513 struct tm *result;
519 __mf_register (result, sizeof (struct tm), __MF_TYPE_STATI
526 WRAPPER2(struct tm*, gmtime, const time_t *timep) argument
[all...]
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_subr.c518 struct tmpfs_mount *tm; local
523 tm = VFS_TO_TMPFS(mp);
675 tmpfs_free_node(tm, node);
1109 tmpfs_dir_getdotdent(struct tmpfs_mount *tm, struct tmpfs_node *node, argument
1130 tmpfs_set_status(tm, node, TMPFS_NODE_ACCESSED);
1143 tmpfs_dir_getdotdotdent(struct tmpfs_mount *tm, struct tmpfs_node *node, argument
1177 tmpfs_set_status(tm, node, TMPFS_NODE_ACCESSED);
1190 tmpfs_dir_getdents(struct tmpfs_mount *tm, struct tmpfs_node *node, argument
1212 error = tmpfs_dir_getdotdent(tm, node, uio);
1220 error = tmpfs_dir_getdotdotdent(tm, nod
1769 tmpfs_set_status(struct tmpfs_mount *tm, struct tmpfs_node *node, int status) argument
[all...]
/freebsd-11-stable/contrib/bmake/
H A Dtarg.c545 Targ_FmtTime(time_t tm) argument
547 struct tm *parts;
550 parts = localtime(&tm);
/freebsd-11-stable/lib/libfetch/
H A Dhttp.c879 struct tm tm; local
883 r = strptime(p, "%a, %d %b %Y %H:%M:%S GMT", &tm);
889 r = strptime(p, "%a, %d %b %Y %H:%M:%S UTC", &tm);
895 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
896 tm.tm_hour, tm.tm_min, tm
[all...]
/freebsd-11-stable/usr.bin/calendar/
H A Ddates.c104 struct tm td;
171 generatedates(struct tm *tp1, struct tm *tp2)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp497 __sanitizer_tm *tm) {
498 INTERCEPTOR_STRFTIME_BODY(char, SIZE_T, strftime, s, max, format, tm);
502 __sanitizer_tm *tm, void *loc) {
503 INTERCEPTOR_STRFTIME_BODY(char, SIZE_T, strftime_l, s, max, format, tm, loc);
508 __sanitizer_tm *tm, void *loc) {
509 INTERCEPTOR_STRFTIME_BODY(char, SIZE_T, __strftime_l, s, max, format, tm,
518 __sanitizer_tm *tm) {
519 INTERCEPTOR_STRFTIME_BODY(wchar_t, SIZE_T, wcsftime, s, max, format, tm);
523 __sanitizer_tm *tm, void *loc) {
524 INTERCEPTOR_STRFTIME_BODY(wchar_t, SIZE_T, wcsftime_l, s, max, format, tm,
496 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, __sanitizer_tm *tm) argument
501 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, __sanitizer_tm *tm, void *loc) argument
507 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, __sanitizer_tm *tm, void *loc) argument
517 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, __sanitizer_tm *tm) argument
522 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, __sanitizer_tm *tm, void *loc) argument
529 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, __sanitizer_tm *tm, void *loc) argument
[all...]
/freebsd-11-stable/contrib/libstdc++/include/bits/
H A Dlocale_facets.h45 #include <ctime> // For struct tm
2910 const tm* __tm) const;
3024 __timepunct<char>::_M_put(char*, size_t, const char*, const tm*) const;
3034 const tm*) const;
3103 * results into a user-supplied struct tm. The result is returned by
3106 * If there is a valid time string according to format "x", @a tm will
3116 * @param tm Pointer to struct tm to fill in.
3121 ios_base::iostate& __err, tm* __tm) const
3128 * results into a user-supplied struct tm
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_heath.c321 struct tm *tm_time_p;
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestdate.c123 struct tm *tms;
/freebsd-11-stable/lib/libutil/
H A Dlogin_ok.c224 struct tm *tptr;
/freebsd-11-stable/libexec/talkd/
H A Dannounce.c96 struct tm *localclock;
/freebsd-11-stable/include/xlocale/
H A D_wchar.h96 const struct tm * __restrict, locale_t);
/freebsd-11-stable/usr.bin/pom/
H A Dpom.c85 struct tm GMT, tmd;
/freebsd-11-stable/usr.sbin/rwhod/
H A Drwhod.c546 struct timeval tm; local
550 size = sizeof(tm);
551 if (sysctl(mib, nitems(mib), &tm, &size, NULL, 0) == -1) {
555 mywd.wd_boottime = htonl(_time_to_time32(tm.tv_sec));
/freebsd-11-stable/usr.bin/ar/
H A Dread.c77 struct tm *tp;
/freebsd-11-stable/contrib/sendmail/libsm/
H A Ddebug.c174 struct tm *tmp;
/freebsd-11-stable/contrib/elftoolchain/ar/
H A Dread.c57 struct tm *tp;

Completed in 402 milliseconds

<<11121314151617181920>>