/freebsd-11-stable/crypto/heimdal/lib/asn1/ |
H A D | der-private.h | 55 struct tm * 58 struct tm */*tm*/);
|
/freebsd-11-stable/tools/KSE/rr/ |
H A D | rr.c | 86 static void runq_insert(struct uts_runq *q, struct kse_thr_mailbox *tm); 95 extern int thread_to_uts(struct kse_thr_mailbox *tm, 142 struct kse_thr_mailbox *tm; local 152 tm = (struct kse_thr_mailbox *)calloc(1, sizeof(struct kse_thr_mailbox)); 155 getcontext(&tm->tm_context); 166 pfmt("main() : 0x%x\n", tm); 167 pfmt("eip -> 0x%x\n", tm->tm_context.uc_mcontext.mc_eip); 168 tm->tm_context.uc_stack.ss_sp = p - MAIN_STACK_SIZE; 169 tm->tm_context.uc_stack.ss_size = MAIN_STACK_SIZE; 181 data->cur_thread = tm; 283 runq_insert(struct uts_runq *q, struct kse_thr_mailbox *tm) argument 297 struct kse_thr_mailbox *tm; local 328 struct kse_thr_mailbox *tm, *p; local 379 struct kse_thr_mailbox *tm; local 395 struct kse_thr_mailbox *tm; local [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | time.c | 112 struct tm *tm; local 114 tm = gmtime (&t); 116 tm = localtime(&t); 117 if(tm == NULL || 118 strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
|
/freebsd-11-stable/usr.bin/w/ |
H A D | pr_time.c | 56 struct tm tp, tm; local 62 tm = *localtime(now); 70 else if (tm.tm_mday != tp.tm_mday || 71 tm.tm_mon != tp.tm_mon || 72 tm.tm_year != tp.tm_year) {
|
/freebsd-11-stable/sys/sys/ |
H A D | terminal.h | 145 typedef void tc_cursor_t(struct terminal *tm, const term_pos_t *p); 146 typedef void tc_putchar_t(struct terminal *tm, const term_pos_t *p, 148 typedef void tc_fill_t(struct terminal *tm, const term_rect_t *r, 150 typedef void tc_copy_t(struct terminal *tm, const term_rect_t *r, 152 typedef void tc_param_t(struct terminal *tm, int cmd, unsigned int arg); 153 typedef void tc_done_t(struct terminal *tm); 155 typedef void tc_cnprobe_t(struct terminal *tm, struct consdev *cd); 156 typedef int tc_cngetc_t(struct terminal *tm); 158 typedef void tc_cngrab_t(struct terminal *tm); 159 typedef void tc_cnungrab_t(struct terminal *tm); [all...] |
/freebsd-11-stable/crypto/openssl/crypto/des/ |
H A D | des_opts.c | 407 tm[index]=Time_F(STOP); \ 408 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 409 tm[index]=((double)COUNT(cb))/tm[index]; 413 tm[index]*8,1.0e6/tm[index]); 426 double d, tm[16], max = 0; local 435 tm[i] = 0.0; 505 max = tm[0]; 509 if (max < tm[ [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bf/ |
H A D | bf_opts.c | 204 tm[index]=Time_F(STOP); \ 205 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 206 tm[index]=((double)COUNT(cb))/tm[index]; 210 tm[index]*8,1.0e6/tm[index]); 220 double d, tm[16], max = 0; local 229 tm[i] = 0.0; 275 max = tm[0]; 279 if (max < tm[ [all...] |
/freebsd-11-stable/crypto/openssl/crypto/cast/ |
H A D | castopts.c | 214 tm[index]=Time_F(STOP); \ 215 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 216 tm[index]=((double)COUNT(cb))/tm[index]; 220 tm[index]*8,1.0e6/tm[index]); 230 double d, tm[16], max = 0; local 239 tm[i] = 0.0; 285 max = tm[0]; 289 if (max < tm[ [all...] |
/freebsd-11-stable/usr.sbin/pw/ |
H A D | psdate.c | 83 parse_datesub(char const * str, struct tm *t) 85 struct tm tm; local 131 memset(&tm, 0, sizeof(tm)); 133 ret = strptime_l(str, valid_formats[i], &tm, l); 135 t->tm_mday = tm.tm_mday; 136 t->tm_mon = tm.tm_mon; 137 t->tm_year = tm.tm_year; 138 t->tm_hour = tm [all...] |
/freebsd-11-stable/crypto/openssl/crypto/x509/ |
H A D | x509cset.c | 85 int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) argument 92 if (in != tm) { 93 in = M_ASN1_TIME_dup(tm); 102 int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) argument 109 if (in != tm) { 110 in = M_ASN1_TIME_dup(tm); 135 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) argument 142 if (in != tm) { 143 in = M_ASN1_TIME_dup(tm);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/time/ |
H A D | t_strptime.c | 48 struct tm tm = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL }; local 52 ret = strptime(buf, fmt, &tm); 56 "strptime(\"%s\", \"%s\", tm): incorrect return code: " 60 ATF_CHECK_MSG(tm.field == field, \ 61 "strptime(\"%s\", \"%s\", tm): incorrect %s: " \ 63 ___STRING(field), field, tm.field) 66 "strptime(\"%s\", \"%s\", tm): incorrect return code: " 70 ATF_REQUIRE_MSG(tm.field == field, \ 71 "strptime(\"%s\", \"%s\", tm) 91 struct tm tm = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, NULL }; local 181 struct tm tm; local [all...] |
/freebsd-11-stable/contrib/unbound/sldns/ |
H A D | parseutil.h | 17 struct tm; 52 * \param[in] tm a struct tm* with the date 55 time_t sldns_mktime_from_utc(const struct tm *tm); 71 struct tm * sldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result);
|
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | o_time.c | 104 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) 106 struct tm *ts = NULL; 121 memcpy(result, ts, sizeof(struct tm)); 250 /* Fill in the struct tm with the result */ 278 * Take a tm structure and add an offset to it. This avoids any OS issues 287 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, 290 int OPENSSL_gmtime_adj(struct tm *tm, in argument 351 julian_adj(const struct tm *tm, int off_day, long offset_sec, long *pday, int *psec) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_win32.c | 65 struct tm tm, *tm1; local 74 memset(&tm, 0, sizeof(tm)); 75 tm.tm_year = year - 1900; 76 tm.tm_mon = month - 1; 77 tm.tm_mday = day; 78 tm.tm_hour = hour; 79 tm.tm_min = min; 80 tm 102 os_gmtime(os_time_t t, struct os_tm *tm) argument [all...] |
/freebsd-11-stable/usr.bin/calendar/ |
H A D | locale.c | 77 struct tm tm; local 79 memset(&tm, 0, sizeof(struct tm)); 81 tm.tm_wday = i; 82 strftime(buf, sizeof(buf), "%a", &tm); 94 strftime(buf, sizeof(buf), "%A", &tm); 107 memset(&tm, 0, sizeof(struct tm)); 109 tm [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | gmtime_r.c | 48 struct tm * const tmp; 103 struct tm * gmtime_r(const time_t* timep, struct tm *tm) argument 105 timesub(timep, 0L, tm); 106 return tm;
|
/freebsd-11-stable/contrib/apr/time/unix/ |
H A D | time.c | 43 static apr_int32_t get_offset(struct tm *tm) argument 46 return tm->tm_gmtoff; 48 return tm->__tm_gmtoff; 59 if (tm->tm_isdst) 84 struct tm tm; local 90 localtime_r(&tt, &tm); 92 gmtime_r(&tt, &tm); 95 tm [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | gmt2local.c | 44 register struct tm *gmt, *loc; 45 struct tm sgmt;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelDAGToDAG.cpp | 37 explicit VEDAGToDAGISel(VETargetMachine &tm) : SelectionDAGISel(tm) {} argument
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | parse.c | 442 struct tm tm; local 453 tm.tm_wday = atoi(val); 463 tm.tm_year = atoi(val); 464 if (tm.tm_year > 1900) 465 tm.tm_year -= 1900; 484 tm.tm_mon = atoi(val) - 1; 503 tm.tm_mday = atoi(val); 513 tm.tm_hour = atoi(val); 532 tm [all...] |
/freebsd-11-stable/gnu/usr.bin/rcs/lib/ |
H A D | rcstime.c | 48 register struct tm const *tm = time2tm(unixtime, RCSversion<VERSION(5)); local 55 tm->tm_year + ((unsigned)tm->tm_year < 100 ? 0 : 1900), 56 tm->tm_mon+1, tm->tm_mday, 57 tm->tm_hour, tm->tm_min, tm->tm_sec 141 struct tm [all...] |
/freebsd-11-stable/usr.sbin/apm/ |
H A D | apm.c | 269 struct tm tm; local 273 tm.tm_sec = bcd2int(xh(args.ecx)); 274 tm.tm_min = bcd2int(xl(args.edx)); 275 tm.tm_hour = bcd2int(xh(args.edx)); 276 tm.tm_mday = bcd2int(xl(args.esi)); 277 tm.tm_mon = bcd2int(xh(args.esi)) - 1; 278 tm.tm_year = bcd2int(args.edi) - 1900; 280 t = mktime(&tm); 282 t = timegm(&tm); 356 struct tm *tm; local [all...] |
/freebsd-11-stable/contrib/libxo/tests/gettext/ |
H A D | gt_01.c | 92 struct tm tm; local 93 (void) gmtime_r(&tv.tv_sec, &tm); 96 strftime(date, sizeof(date), "%+", &tm);
|
/freebsd-11-stable/sbin/dump/ |
H A D | unctime.c | 49 struct tm then;
|
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | a_gentm.c | 121 int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d) argument 143 if (tm) 144 tm->tm_sec = 0; 161 if (tm) { 164 tm->tm_year = n * 100 - 1900; 167 tm->tm_year += n; 170 tm->tm_mon = n - 1; 173 tm->tm_mday = n; 176 tm [all...] |