Home
last modified time | relevance | path

Searched refs:tm (Results 151 – 175 of 561) sorted by relevance

12345678910>>...23

/freebsd/lib/libc/stdtime/
H A Dstrftime.c35 static char * _fmt(const char *, const struct tm *, char *, const char *,
76 const struct tm * __restrict t, locale_t loc) in strftime_l()
109 const struct tm * __restrict t) in strftime()
115 _fmt(const char *format, const struct tm * const t, char *pt, in _fmt()
299 struct tm tm; in _fmt() local
304 tm = *t; in _fmt()
305 mkt = timeoff(&tm, t->tm_gmtoff); in _fmt()
/freebsd/libexec/rpc.rstatd/
H A Drstat_proc.c161 struct timeval tm, btm; in updatestat() local
238 (void)gettimeofday(&tm, NULL); in updatestat()
239 stats_all.s1.v_intr -= hz*(tm.tv_sec - btm.tv_sec) + in updatestat()
240 hz*(tm.tv_usec - btm.tv_usec)/1000000; in updatestat()
281 (void)gettimeofday(&tm, NULL); in updatestat()
282 stats_all.s3.curtime.tv_sec = tm.tv_sec; in updatestat()
283 stats_all.s3.curtime.tv_usec = tm.tv_usec; in updatestat()
/freebsd/usr.bin/logins/
H A Dlogins.c296 struct tm *tm; in display_user() local
316 tm = gmtime(&pwd->pw_change); in display_user()
317 strftime(cbuf, sizeof(cbuf), pwd->pw_change ? "%F" : "0", tm); in display_user()
318 tm = gmtime(&pwd->pw_expire); in display_user()
319 strftime(ebuf, sizeof(ebuf), pwd->pw_expire ? "%F" : "0", tm); in display_user()
/freebsd/contrib/nvi/ex/
H A Dex_move.c34 MARK fm1, fm2, m, tm; in ex_copy() local
58 tm.lno = cmdp->lineno; in ex_copy()
59 tm.cno = 0; in ex_copy()
60 if (put(sp, &cb, NULL, &tm, &m, 1)) in ex_copy()
/freebsd/contrib/sendmail/libmilter/
H A Dmonitor.c60 smfi_set_max_exec_time(tm) in smfi_set_max_exec_time() argument
61 unsigned int tm; in smfi_set_max_exec_time()
63 Mon_exec_time = tm;
/freebsd/include/xlocale/
H A D_time.h45 const struct tm * __restrict, locale_t) __strftimelike(3, 0);
54 struct tm * __restrict, locale_t);
/freebsd/lib/libutil/
H A Dlogin_cap.h146 struct tm;
150 int in_ltm(const login_time_t *, struct tm *, time_t *);
151 int in_ltms(const login_time_t *, struct tm *, time_t *);
/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c240 struct tm *tm; in mkfs_msdos() local
618 tm = gmtime(&now); in mkfs_msdos()
622 tm = localtime(&now); in mkfs_msdos()
708 (u_int)tm->tm_mday) + in mkfs_msdos()
709 ((u_int)tm->tm_sec << 8 | in mkfs_msdos()
712 ((u_int)tm->tm_hour << 8 | in mkfs_msdos()
713 (u_int)tm->tm_min)); in mkfs_msdos()
749 x = (u_int)tm->tm_hour << 11 | in mkfs_msdos()
750 (u_int)tm->tm_min << 5 | in mkfs_msdos()
751 (u_int)tm->tm_sec >> 1; in mkfs_msdos()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dder-private.h55 struct tm *
58 struct tm */*tm*/);
/freebsd/usr.bin/who/
H A Dwho.c168 struct tm *tm; in row() local
193 tm = localtime(&t); in row()
194 strftime(buf, sizeof(buf), d_first ? "%e %b %R" : "%b %e %R", tm); in row()
/freebsd/usr.sbin/bhyve/
H A Drtc_pl031.c89 struct tm tm; in rtc_pl031_time() local
94 localtime_r(&t, &tm); in rtc_pl031_time()
95 t = timegm(&tm); in rtc_pl031_time()
/freebsd/contrib/lua/src/
H A Dldebug.c596 TMS tm = (TMS)0; /* (initial value avoids warnings) */ in funcnamefromcode() local
609 tm = TM_INDEX; in funcnamefromcode()
612 tm = TM_NEWINDEX; in funcnamefromcode()
615 tm = cast(TMS, GETARG_C(i)); in funcnamefromcode()
618 case OP_UNM: tm = TM_UNM; break; in funcnamefromcode()
619 case OP_BNOT: tm = TM_BNOT; break; in funcnamefromcode()
620 case OP_LEN: tm = TM_LEN; break; in funcnamefromcode()
621 case OP_CONCAT: tm = TM_CONCAT; break; in funcnamefromcode()
622 case OP_EQ: tm = TM_EQ; break; in funcnamefromcode()
626 case OP_CLOSE: case OP_RETURN: tm = TM_CLOSE; break; in funcnamefromcode()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dcddb4 # CDDB: file(1) magic for CDDB(tm) format CD text data files
12 0 search/1/w #\040xmcd CDDB(tm) format CD text data
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c441 struct tm *
442 localtime_r(const time_t *timep, struct tm *result) in localtime_r()
444 struct tm *tm = localtime(timep); in localtime_r() local
445 *result = *tm; in localtime_r()
/freebsd/usr.bin/at/
H A Dat.c464 struct tm runtime; in list_jobs()
646 struct tm *t; in ttime()
883 struct tm *tm = localtime(&timer); in main() local
884 fprintf(stderr, "%s\n", asctime(tm)); in main()
902 struct tm *tm = localtime(&timer); in main() local
903 fprintf(stderr, "%s\n", asctime(tm)); in main()
/freebsd/sys/dev/efidev/
H A Defidev.c78 struct efi_tm *tm = (struct efi_tm *)addr; in efidev_ioctl() local
80 error = efi_get_time(tm); in efidev_ioctl()
85 struct efi_tm *tm = (struct efi_tm *)addr; in efidev_ioctl() local
87 error = efi_set_time(tm); in efidev_ioctl()
/freebsd/usr.sbin/cron/cron/
H A Dexterns.h76 #define TZONE(tm) tzname[(tm).tm_isdst] argument
/freebsd/sbin/ipf/ipmon/
H A Dipmon.c127 static struct tm *get_tm(time_t);
607 static struct tm *
610 struct tm *tm; in get_tm() local
614 tm = localtime(&t); in get_tm()
615 return (tm); in get_tm()
624 struct tm *tm; in print_natlog() local
650 tm = get_tm(ipl->ipl_sec); in print_natlog()
812 struct tm *tm; in print_statelog() local
834 tm = get_tm(ipl->ipl_sec); in print_statelog()
1023 struct tm *tm; in print_ipflog() local
[all …]
/freebsd/contrib/tcpdump/
H A Dutil-print.c232 struct tm *tm; in ts_date_hmsfrac_print() local
242 tm = localtime(&Time); in ts_date_hmsfrac_print()
244 tm = gmtime(&Time); in ts_date_hmsfrac_print()
248 "%Y-%m-%d %H:%M:%S", tm); in ts_date_hmsfrac_print()
251 "%H:%M:%S", tm); in ts_date_hmsfrac_print()
417 const struct tm *timeptr) in nd_format_time()
/freebsd/contrib/ldns/
H A Dstr2host.c62 struct tm tm; in ldns_str2rdf_time() local
70 memset(&tm, 0, sizeof(tm)); in ldns_str2rdf_time()
73 …sscanf(time, "%4d%2d%2d%2d%2d%2d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, … in ldns_str2rdf_time()
75 tm.tm_year -= 1900; in ldns_str2rdf_time()
76 tm.tm_mon--; in ldns_str2rdf_time()
78 if (tm.tm_year < 70) { in ldns_str2rdf_time()
81 if (tm.tm_mon < 0 || tm.tm_mon > 11) { in ldns_str2rdf_time()
84 if (tm.tm_mday < 1 || tm.tm_mday > 31) { in ldns_str2rdf_time()
88 if (tm.tm_hour < 0 || tm.tm_hour > 23) { in ldns_str2rdf_time()
92 if (tm.tm_min < 0 || tm.tm_min > 59) { in ldns_str2rdf_time()
[all …]
/freebsd/sys/vm/
H A Dvm_object.c1327 vm_page_t m, tm; in vm_object_madvise() local
1386 tm = m; in vm_object_madvise()
1394 if (!vm_page_all_valid(tm) || vm_page_wired(tm)) in vm_object_madvise()
1415 vm_page_advise(tm, advice); in vm_object_madvise()
1416 vm_page_xunbusy(tm); in vm_object_madvise()
2373 vm_page_t m, tm; in vm_object_unwire() local
2416 tm = m; in vm_object_unwire()
2423 if (tm->object != tobject) in vm_object_unwire()
2427 tobject = tm->object; in vm_object_unwire()
2433 vm_page_unwire(tm, queue); in vm_object_unwire()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_flush_sessions.pod11 void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
16 B<ctx> to remove sessions expired at time B<tm>.
28 The parameter B<tm> specifies the time which should be used for the
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c150 struct tm t, gm; in cd9660_compute_gm_offset()
170 struct tm t; in cd9660_time_8426()
190 struct tm t; in cd9660_time_915()
/freebsd/contrib/dialog/
H A Dcalendar.c55 typedef int (*BOX_DRAW) (struct _box *, struct tm *);
212 days_in_month(struct tm *current, int offset /* -1, 0, 1 */ ) in days_in_month()
228 days_in_year(struct tm *current, int offset /* -1, 0, 1 */ ) in days_in_year()
330 day_cell_number(struct tm *current) in day_cell_number()
370 draw_day(BOX * data, struct tm *current) in draw_day()
456 draw_month(BOX * data, struct tm *current) in draw_month()
480 draw_year(BOX * data, struct tm *current) in draw_year()
650 trace_date(struct tm *current, struct tm *old) in trace_date()
723 struct tm current; in dialog_calendar()
951 struct tm old = current; in dialog_calendar()
/freebsd/sys/amd64/linux/
H A Dlinux_vdso_gtod.c131 __vdso_time_fallback(long *tm) in __vdso_time_fallback() argument
139 : "a"(LINUX_SYS_linux_time), "D"(tm) in __vdso_time_fallback()

12345678910>>...23