/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 660 struct tm *tm; local 680 tm = gmtime(&mtime); 681 tm->tm_mon++; 682 tm->tm_year += 1900; 684 if ((tm->tm_year > yy) || 685 (tm->tm_year == yy && 686 tm->tm_mon > mo) || 687 (tm->tm_mon == mo && 688 tm [all...] |
/freebsd-11-stable/contrib/tzcode/zic/ |
H A D | private.h | 144 extern char * asctime_r(struct tm const *, char *);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-ahcp.c | 104 struct tm *tm; local 111 if (NULL == (tm = gmtime(&t))) 113 else if (0 == strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", tm))
|
H A D | util-print.c | 329 struct tm *tm; local 390 tm = gmtime (&Time); 391 if (!tm) 395 tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_none.c | 41 int os_gmtime(os_time_t t, struct os_tm *tm) argument
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_time.h | 93 * a structure similar to ANSI struct tm with the following differences: 217 * @param tm The time to convert 221 apr_time_exp_t *tm);
|
/freebsd-11-stable/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 238 struct tm *tm; local 610 tm = gmtime(&now); 614 tm = localtime(&now); 697 x = (((u_int)(1 + tm->tm_mon) << 8 | 698 (u_int)tm->tm_mday) + 699 ((u_int)tm->tm_sec << 8 | 701 ((u_int)(1900 + tm->tm_year) + 702 ((u_int)tm->tm_hour << 8 | 703 (u_int)tm [all...] |
/freebsd-11-stable/contrib/ldns/ |
H A D | rr_functions.c | 361 struct tm tm; local 366 (void) strftime(s_str, 11, "%Y%m%d00", localtime_r(&t, &tm));
|
/freebsd-11-stable/contrib/openbsm/libbsm/ |
H A D | bsm_audit.c | 223 struct timeval tm; local 247 if (gettimeofday(&tm, NULL) < 0) 270 0, tm, &aia);
|
/freebsd-11-stable/usr.bin/rup/ |
H A D | rup.c | 96 struct tm *tmp_time; 97 struct tm host_time; 98 struct tm host_uptime;
|
/freebsd-11-stable/usr.bin/touch/ |
H A D | touch.c | 221 struct tm *t; 285 struct tm *t; 314 struct tm t = { .tm_sec = 0 };
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | ldebug.c | 493 TMS tm = (TMS)0; /* (initial value avoids warnings) */ local 511 tm = TM_INDEX; 514 tm = TM_NEWINDEX; 520 tm = cast(TMS, offset + cast_int(TM_ADD)); /* ORDER TM */ 523 case OP_UNM: tm = TM_UNM; break; 524 case OP_BNOT: tm = TM_BNOT; break; 525 case OP_LEN: tm = TM_LEN; break; 526 case OP_CONCAT: tm = TM_CONCAT; break; 527 case OP_EQ: tm = TM_EQ; break; 528 case OP_LT: tm [all...] |
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipmon.c | 132 static struct tm *get_tm(time_t); 627 static struct tm *get_tm(sec) 630 struct tm *tm; local 634 tm = localtime(&t); 635 return tm; 646 struct tm *tm; local 672 tm = get_tm(ipl->ipl_sec); 676 (void) strftime(t, len, "%d/%m/%Y ", tm); 836 struct tm *tm; local 1052 struct tm *tm; local [all...] |
/freebsd-11-stable/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 543 struct tm tm; local 553 (void) localtime_r(&tv.tv_sec, &tm); 578 xb.xb_curp += strftime(xb.xb_curp, xo_buf_left(&xb), "%FT%T", &tm); 581 xb.xb_curp += strftime(xb.xb_curp, xo_buf_left(&xb), "%z ", &tm);
|
/freebsd-11-stable/crypto/openssl/crypto/cms/ |
H A D | cms_kari.c | 162 ASN1_GENERALIZEDTIME **tm, 174 if (tm) 175 *tm = NULL; 181 if (tm) 182 *tm = rid->d.rKeyId->date; 160 CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek, ASN1_OCTET_STRING **keyid, ASN1_GENERALIZEDTIME **tm, CMS_OtherKeyAttribute **other, X509_NAME **issuer, ASN1_INTEGER **sno) argument
|
/freebsd-11-stable/contrib/file/src/ |
H A D | file.h | 615 char *asctime_r(const struct tm *, char *); 618 struct tm *gmtime_r(const time_t *, struct tm *); 621 struct tm *localtime_r(const time_t *, struct tm *);
|
/freebsd-11-stable/usr.sbin/unbound/ |
H A D | config.h | 1214 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1295 struct tm; 1296 char *strptime(const char *s, const char *format, struct tm *tm);
|
/freebsd-11-stable/contrib/llvm-project/lld/COFF/ |
H A D | DLL.cpp | 296 ThunkChunkX64(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {} argument 328 ThunkChunkX86(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) {} argument 368 ThunkChunkARM(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) { argument 412 ThunkChunkARM64(Defined *i, Chunk *tm) : imp(i), tailMerge(tm) { argument 643 Chunk *tm = newTailMergeChunk(dir); local 645 Chunk *t = newThunkChunk(s, tm); [all...] |
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_evt.c | 248 struct tm tm; local 258 bzero(&tm, sizeof(tm)); 259 tm.tm_mday = 1; 260 tm.tm_year = (2000 - 1900); 261 base = mktime(&tm);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_iso9660.c | 396 static time_t time_from_tm(struct tm *); 3128 struct tm tm; local 3132 memset(&tm, 0, sizeof(tm)); 3133 tm.tm_year = v[0]; 3134 tm.tm_mon = v[1] - 1; 3135 tm.tm_mday = v[2]; 3136 tm.tm_hour = v[3]; 3137 tm 3154 struct tm tm; local [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_util.c | 1012 struct calendar tm; local 1015 if (ntpcal_ntp_to_date(&tm, (u_int32)ntp_stamp, NULL) < 0) 1020 tm.year, tm.month, tm.monthday, 1021 tm.hour, tm.minute);
|
/freebsd-11-stable/sys/fs/smbfs/ |
H A D | smbfs_smb.c | 538 int64_t tm; local 560 smb_time_local2NT(atime, tzoff, &tm); 562 tm = 0; 563 mb_put_int64le(mbp, tm); 565 smb_time_local2NT(mtime, tzoff, &tm); 567 tm = 0; 568 mb_put_int64le(mbp, tm); 569 mb_put_int64le(mbp, tm); /* change time */ 633 int64_t tm; local 650 smb_time_local2NT(atime, svtz, &tm); 762 u_long tm; local [all...] |
/freebsd-11-stable/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1471 * tm if this is the case; otherwise return false. 1475 struct tm *tm) 1513 memset(tm, 0, sizeof(*tm)); 1515 timefnamefmt, tm)) == NULL) { 1551 struct tm tm; local 1581 if (validate_old_timelog(dir_fd, dp, logfname, &tm) == 0) 1588 if ((oldlogs[logcnt].t = timegm(&tm)) 1474 validate_old_timelog(int fd, const struct dirent *dp, const char *logfname, struct tm *tm) argument 1749 struct tm tm; local 2355 struct tm tm; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_sign.c | 951 struct tm *tm = NULL; local 952 struct tm result = {0}; 960 if (!(tm = OPENSSL_gmtime(&time_sec, &result))) 972 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, 973 tm->tm_hour, tm->tm_min, tm [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_posix.cpp | 177 unsigned struct_tm_sz = sizeof(struct tm); 1093 CHECK_TYPE_SIZE(tm); variable 1094 CHECK_SIZE_AND_OFFSET(tm, tm_sec); 1095 CHECK_SIZE_AND_OFFSET(tm, tm_min); 1096 CHECK_SIZE_AND_OFFSET(tm, tm_hour); 1097 CHECK_SIZE_AND_OFFSET(tm, tm_mday); 1098 CHECK_SIZE_AND_OFFSET(tm, tm_mon); 1099 CHECK_SIZE_AND_OFFSET(tm, tm_year); 1100 CHECK_SIZE_AND_OFFSET(tm, tm_wday); 1101 CHECK_SIZE_AND_OFFSET(tm, tm_yda [all...] |