/freebsd-11-stable/contrib/sendmail/src/ |
H A D | envelope.c | 857 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 D | ntp-keygen.c | 2104 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 D | smb_trantcp.c | 334 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 D | print.c | 498 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 D | unzip.c | 792 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 D | archive_read_support_format_rar.c | 1712 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 D | archive_write_set_format_iso9660.c | 1396 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 D | val_sigcrypt.c | 1206 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 D | mf-hooks2.c | 477 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 D | tmpfs_subr.c | 518 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 D | targ.c | 545 Targ_FmtTime(time_t tm) argument 547 struct tm *parts; 550 parts = localtime(&tm);
|
/freebsd-11-stable/lib/libfetch/ |
H A D | http.c | 879 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 D | dates.c | 104 struct tm td; 171 generatedates(struct tm *tp1, struct tm *tp2)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_interceptors.cpp | 497 __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 D | locale_facets.h | 45 #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 D | refclock_heath.c | 321 struct tm *tm_time_p;
|
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | testdate.c | 123 struct tm *tms;
|
/freebsd-11-stable/lib/libutil/ |
H A D | login_ok.c | 224 struct tm *tptr;
|
/freebsd-11-stable/libexec/talkd/ |
H A D | announce.c | 96 struct tm *localclock;
|
/freebsd-11-stable/include/xlocale/ |
H A D | _wchar.h | 96 const struct tm * __restrict, locale_t);
|
/freebsd-11-stable/usr.bin/pom/ |
H A D | pom.c | 85 struct tm GMT, tmd;
|
/freebsd-11-stable/usr.sbin/rwhod/ |
H A D | rwhod.c | 546 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 D | read.c | 77 struct tm *tp;
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | debug.c | 174 struct tm *tmp;
|
/freebsd-11-stable/contrib/elftoolchain/ar/ |
H A D | read.c | 57 struct tm *tp;
|