Searched refs:tms (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c70 struct tm tms; local
73 (void)memset(&tms, 0, sizeof(tms));
74 tms.tm_year = ~0;
77 t = mktime(&tms);
89 struct tm tms; local
93 (void)memset(&tms, 0, sizeof(tms));
95 tms.tm_year = 1970 - 1900;
96 tms
[all...]
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c81 static int validate_tm_struct(struct tm * tms) argument
85 if (!tms)
88 TM_CHECK(tms->tm_sec < 0 || tms->tm_sec > 60, "second"); /* + Leap sec */
89 TM_CHECK(tms->tm_min < 0 || tms->tm_min > 59, "minute");
90 TM_CHECK(tms->tm_hour < 0 || tms->tm_hour > 23, "hour");
91 TM_CHECK(tms->tm_mday < 1 || tms
110 struct tm tms; local
156 struct tm tms; local
[all...]
/freebsd-13-stable/sys/sys/
H A Dtimes.h50 struct tms { struct
61 clock_t times(struct tms *);
/freebsd-13-stable/contrib/apr-util/test/
H A Dtestdate.c123 struct tm *tms; local
126 tms = gmtime(&ls);
128 sprintf(ts, "%s, %.2d %s %d %.2d:%.2d:%.2d GMT", days[tms->tm_wday],
129 tms->tm_mday, month_snames[tms->tm_mon], tms->tm_year + 1900,
130 tms->tm_hour, tms->tm_min, tms->tm_sec);
/freebsd-13-stable/lib/libc/gen/
H A Dtimes.c49 struct tms *tp;
H A Dsem_new.c352 } tms; local
361 tms.timeout._clockid = clock_id;
362 tms.timeout._flags = (flags & TIMER_ABSTIME) ? UMTX_ABSTIME : 0;
363 tms.timeout._timeout = *rqtp;
364 tm_p = &tms;
365 tm_size = sizeof(tms);
370 *rmtp = tms.remain;
/freebsd-13-stable/contrib/tcsh/
H A Dsh.decls.h426 extern void prusage (struct tms *, struct tms *,
429 extern void prusage (struct tms *, struct tms *,
H A Dsh.time.c46 struct tms times0;
127 struct tms times_dol;
284 prusage(struct tms *bs, struct tms *es, time_t e, time_t b)
287 prusage(struct tms *bs, struct tms *es, clock_t e, clock_t b)
355 * the tms stuff is not very precise, so we fudge it.
H A Dsh.proc.c106 static struct tms zru = {0, 0, 0, 0}, lru = {0, 0, 0, 0};
108 static struct tms zru = {0L, 0L, 0L, 0L}, lru = {0L, 0L, 0L, 0L};
162 struct tms proctimes;
834 struct tms tmptimes;
1282 struct tms zts, rts;
H A Dsh.h621 EXTERN struct tms shtimes; /* shell and child times for process timing */
/freebsd-13-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_macinfo.c111 Dwarf_MacroSet ms, tms; local
116 STAILQ_FOREACH_SAFE(ms, &dbg->dbg_mslist, ms_next, tms) {
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.cpp87 unsigned struct_tms_sz = sizeof(struct tms);
H A Dsanitizer_platform_limits_solaris.cpp87 unsigned struct_tms_sz = sizeof(struct tms);
H A Dsanitizer_platform_limits_freebsd.cpp121 unsigned struct_tms_sz = sizeof(struct tms);
H A Dsanitizer_platform_limits_posix.cpp194 unsigned struct_tms_sz = sizeof(struct tms);
H A Dsanitizer_platform_limits_netbsd.cpp400 unsigned struct_tms_sz = sizeof(struct tms);
H A Dsanitizer_common_interceptors.inc5206 INTERCEPTOR(__sanitizer_clock_t, times, void *tms) {
5208 COMMON_INTERCEPTOR_ENTER(ctx, times, tms);
5212 __sanitizer_clock_t res = REAL(times)(tms);
5213 if (res != (__sanitizer_clock_t)-1 && tms)
5214 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, tms, struct_tms_sz);
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_misc.c647 struct l_times_argv tms; local
660 tms.tms_utime = CONVTCK(utime);
661 tms.tms_stime = CONVTCK(stime);
663 tms.tms_cutime = CONVTCK(cutime);
664 tms.tms_cstime = CONVTCK(cstime);
666 if ((error = copyout(&tms, args->buf, sizeof(tms))))
/freebsd-13-stable/crypto/openssl/apps/
H A Dapps.c2273 struct tms rus;
2303 struct tms rus;
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp1739 struct tms buffer;
/freebsd-13-stable/contrib/ncurses/ncurses/tty/
H A Dtty_update.c736 struct tms before, after;
/freebsd-13-stable/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c58 { struct tms junk; clock_t newTicks = (clock_t) times(&junk);

Completed in 300 milliseconds