/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | t_x509.c | 393 int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) argument 395 if (tm->type == V_ASN1_UTCTIME) 396 return ASN1_UTCTIME_print(bp, tm); 397 if (tm->type == V_ASN1_GENERALIZEDTIME) 398 return ASN1_GENERALIZEDTIME_print(bp, tm); 408 int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm) argument 417 i = tm->length; 418 v = (char *)tm->data; 435 if (tm->length >= 14 && 440 if (tm 460 ASN1_UTCTIME_print(BIO *bp, const ASN1_UTCTIME *tm) argument [all...] |
/freebsd-11-stable/bin/date/ |
H A D | vary.c | 55 static int adjhour(struct tm *, char, int, int); 58 domktime(struct tm *t, char type) 105 daysinmonth(const struct tm *t) 128 adjyear(struct tm *t, char type, int val, int mk) 142 t->tm_year -= 1900; /* struct tm holds years since 1900 */ 149 adjmon(struct tm *t, char type, int val, int istext, int mk) 209 adjday(struct tm *t, char type, int val, int mk) 253 adjwday(struct tm *t, char type, int val, int istext, int mk) 289 adjhour(struct tm *t, char type, int val, int mk) 334 adjmin(struct tm * [all...] |
/freebsd-11-stable/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-11-stable/contrib/tzcode/stdtime/ |
H A D | asctime.c | 83 const struct tm * timeptr; 142 const struct tm * timeptr;
|
/freebsd-11-stable/gnu/usr.bin/gdb/arch/arm/ |
H A D | config.h | 179 #define GDB_TM_FILE config/arm/tm-fbsd.h 181 #define GDB_TM_FILE tm-fbsd.h
|
/freebsd-11-stable/gnu/usr.bin/gdb/arch/sparc64/ |
H A D | Makefile | 13 tm.h: 14 echo '#include "sparc/tm-fbsd.h"' > ${.TARGET}
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | efirt_machdep.c | 310 struct efi_tm tm; local 317 error = efi_get_time(&tm); 320 "Sec %d\n", tm.tm_year, tm.tm_mon, tm.tm_mday, tm.tm_hour, 321 tm.tm_min, tm.tm_sec);
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | io.c | 253 struct tm tm; local 257 tm.tm_sec = 0; 258 tm.tm_min = 0; 259 tm.tm_hour = 0; 260 tm.tm_wday = 0; 358 tm.tm_mon = month[i] - 1; 359 tm.tm_mday = day[i]; 360 tm.tm_year = year[i] - 1900; 362 d_first ? "%e %b" : "%b %e", &tm); [all...] |
/freebsd-11-stable/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-11-stable/contrib/wpa/src/utils/ |
H A D | os_unix.c | 131 struct tm tm, *tm1; local 140 memset(&tm, 0, sizeof(tm)); 141 tm.tm_year = year - 1900; 142 tm.tm_mon = month - 1; 143 tm.tm_mday = day; 144 tm.tm_hour = hour; 145 tm.tm_min = min; 146 tm 168 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/freebsd-11-stable/usr.bin/last/ |
H A D | last.c | 250 struct tm *tm; local 278 tm = localtime(&t); 279 (void) strftime(ct, sizeof(ct), "%+", tm); 368 struct tm *tm; local 376 tm = localtime(&t); 379 (yflag ? "%a %b %e %Y %R" : "%a %b %e %R"), tm); 410 tm = localtime(&tt->logout); 411 (void) strftime(ct, sizeof(ct), "%R", tm); [all...] |
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | tc-i386.c | 118 template tm; member in struct:_i386_insn 1358 pte (&x->tm); 1779 && (i.tm.base_opcode & 0xfffffde0) == 0xdce0) 1780 i.tm.base_opcode ^= Opcode_FloatR; 1785 if ((i.tm.base_opcode & ~9) == 0x0fb6) 1789 && (~i.tm.opcode_modifier 1796 as_bad (_("ambiguous operand size for `%s'"), i.tm.name); 1802 if (i.tm.opcode_modifier & FWait) 1807 if ((i.tm.opcode_modifier & IsString) != 0 && i.mem_operands != 0) 1830 if (i.tm [all...] |
/freebsd-11-stable/sys/fs/tmpfs/ |
H A D | tmpfs.h | 395 #define TMPFS_LOCK(tm) mtx_lock(&(tm)->tm_allnode_lock) 396 #define TMPFS_UNLOCK(tm) mtx_unlock(&(tm)->tm_allnode_lock) 397 #define TMPFS_MP_ASSERT_LOCKED(tm) mtx_assert(&(tm)->tm_allnode_lock, MA_OWNED) 460 void tmpfs_set_status(struct tmpfs_mount *tm, struct tmpfs_node *node,
|
/freebsd-11-stable/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-11-stable/lib/libutil/ |
H A D | login_cap.h | 147 struct tm; 151 int in_ltm(const login_time_t *, struct tm *, time_t *); 152 int in_ltms(const login_time_t *, struct tm *, time_t *);
|
H A D | login_times.c | 110 in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) 145 in_ltms(const login_time_t *ltm, struct tm *tm, time_t *t) argument 150 if (in_ltm(ltm + i, tm, t))
|
/freebsd-11-stable/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-11-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | time.h | 48 using std::tm;
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-cn3010-evb-hs5.c | 81 static int validate_tm_struct(struct tm * tms) 110 struct tm tms; 114 memset(&tms, 0, sizeof(struct tm)); 156 struct tm tms;
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_move.c | 38 MARK fm1, fm2, m, tm; local 62 tm.lno = cmdp->lineno; 63 tm.cno = 0; 64 if (put(sp, &cb, NULL, &tm, &m, 1))
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | ldebug.c | 460 TMS tm; local 475 case OP_GETTABLE: tm = TM_INDEX; break; 477 case OP_SETTABLE: tm = TM_NEWINDEX; break; 478 case OP_EQ: tm = TM_EQ; break; 479 case OP_ADD: tm = TM_ADD; break; 480 case OP_SUB: tm = TM_SUB; break; 481 case OP_MUL: tm = TM_MUL; break; 482 case OP_DIV: tm = TM_DIV; break; 483 case OP_MOD: tm = TM_MOD; break; 484 case OP_POW: tm [all...] |
/freebsd-11-stable/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...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.cpp | 70 unsigned struct_tm_sz = sizeof(struct tm); 280 CHECK_TYPE_SIZE(tm); variable 281 CHECK_SIZE_AND_OFFSET(tm, tm_sec); 282 CHECK_SIZE_AND_OFFSET(tm, tm_min); 283 CHECK_SIZE_AND_OFFSET(tm, tm_hour); 284 CHECK_SIZE_AND_OFFSET(tm, tm_mday); 285 CHECK_SIZE_AND_OFFSET(tm, tm_mon); 286 CHECK_SIZE_AND_OFFSET(tm, tm_year); 287 CHECK_SIZE_AND_OFFSET(tm, tm_wday); 288 CHECK_SIZE_AND_OFFSET(tm, tm_yda [all...] |
/freebsd-11-stable/gnu/usr.bin/gdb/arch/amd64/ |
H A D | Makefile | 15 tm.h: 16 echo '#include "i386/tm-fbsd.h"' > ${.TARGET}
|
/freebsd-11-stable/gnu/usr.bin/gdb/arch/i386/ |
H A D | Makefile | 14 tm.h: 15 echo '#include "i386/tm-fbsd.h"' > ${.TARGET}
|