HelenOS sources

tm                491 kernel/arch/amd64/src/smp/apic.c 	lvt_tm_t tm;
tm                493 kernel/arch/amd64/src/smp/apic.c 	tm.value = l_apic[LVT_Tm];
tm                494 kernel/arch/amd64/src/smp/apic.c 	tm.vector = VECTOR_CLK;
tm                495 kernel/arch/amd64/src/smp/apic.c 	tm.mode = TIMER_PERIODIC;
tm                496 kernel/arch/amd64/src/smp/apic.c 	tm.masked = false;
tm                497 kernel/arch/amd64/src/smp/apic.c 	l_apic[LVT_Tm] = tm.value;
tm                545 kernel/arch/amd64/src/smp/apic.c 	lvt_tm_t tm;
tm                546 kernel/arch/amd64/src/smp/apic.c 	tm.value = l_apic[LVT_Tm];
tm                548 kernel/arch/amd64/src/smp/apic.c 	    tm.vector, delivs_str[tm.delivs], mask_str[tm.masked],
tm                549 kernel/arch/amd64/src/smp/apic.c 	    tm_mode_str[tm.mode]);
tm                554 kernel/arch/amd64/src/smp/apic.c 	    tm.vector, delmod_str[lint.delmod], delivs_str[lint.delivs],
tm                560 kernel/arch/amd64/src/smp/apic.c 	    tm.vector, delmod_str[lint.delmod], delivs_str[lint.delivs],
tm                491 kernel/arch/ia32/src/smp/apic.c 	lvt_tm_t tm;
tm                493 kernel/arch/ia32/src/smp/apic.c 	tm.value = l_apic[LVT_Tm];
tm                494 kernel/arch/ia32/src/smp/apic.c 	tm.vector = VECTOR_CLK;
tm                495 kernel/arch/ia32/src/smp/apic.c 	tm.mode = TIMER_PERIODIC;
tm                496 kernel/arch/ia32/src/smp/apic.c 	tm.masked = false;
tm                497 kernel/arch/ia32/src/smp/apic.c 	l_apic[LVT_Tm] = tm.value;
tm                545 kernel/arch/ia32/src/smp/apic.c 	lvt_tm_t tm;
tm                546 kernel/arch/ia32/src/smp/apic.c 	tm.value = l_apic[LVT_Tm];
tm                548 kernel/arch/ia32/src/smp/apic.c 	    tm.vector, delivs_str[tm.delivs], mask_str[tm.masked],
tm                549 kernel/arch/ia32/src/smp/apic.c 	    tm_mode_str[tm.mode]);
tm                554 kernel/arch/ia32/src/smp/apic.c 	    tm.vector, delmod_str[lint.delmod], delivs_str[lint.delivs],
tm                560 kernel/arch/ia32/src/smp/apic.c 	    tm.vector, delmod_str[lint.delmod], delivs_str[lint.delivs],
tm                221 kernel/arch/sparc64/include/arch/mm/sun4u/tlb.h 		unsigned tm : 1;	/**< I-TLB miss. */
tm                433 kernel/arch/sparc64/src/mm/sun4u/tlb.c 	    "w=%d, ow=%d, fv=%d\n", sfsr.nf, sfsr.asi, sfsr.tm, sfsr.ft,
tm                456 kernel/arch/sparc64/src/mm/sun4u/tlb.c 	    "w=%d, ow=%d, fv=%d\n", sfsr.nf, sfsr.asi, sfsr.tm, sfsr.ft,
tm                 41 uspace/app/date/date.c static errno_t read_date_from_arg(char *wdate, struct tm *t);
tm                 42 uspace/app/date/date.c static errno_t read_time_from_arg(char *wdate, struct tm *t);
tm                 43 uspace/app/date/date.c static errno_t tm_sanity_check(struct tm *t);
tm                 63 uspace/app/date/date.c 	struct tm     t;
tm                200 uspace/app/date/date.c read_date_from_arg(char *wdate, struct tm *t)
tm                235 uspace/app/date/date.c read_time_from_arg(char *wtime, struct tm *t)
tm                281 uspace/app/date/date.c tm_sanity_check(struct tm *t)
tm                138 uspace/app/taskbar/clock.c 	struct tm tm;
tm                142 uspace/app/taskbar/clock.c 	rc = time_utc2tm(ts.tv_sec, &tm);
tm                146 uspace/app/taskbar/clock.c 	snprintf(buf, bsize, "%02d:%02d:%02d", tm.tm_hour, tm.tm_min,
tm                147 uspace/app/taskbar/clock.c 	    tm.tm_sec);
tm                454 uspace/drv/block/ahci/ahci_hw.h 		unsigned int tm : 1;
tm                 83 uspace/drv/time/cmos-rtc/cmos-rtc.c static errno_t  rtc_time_get(ddf_fun_t *fun, struct tm *t);
tm                 84 uspace/drv/time/cmos-rtc/cmos-rtc.c static errno_t  rtc_time_set(ddf_fun_t *fun, struct tm *t);
tm                318 uspace/drv/time/cmos-rtc/cmos-rtc.c rtc_time_get(ddf_fun_t *fun, struct tm *t)
tm                442 uspace/drv/time/cmos-rtc/cmos-rtc.c rtc_time_set(ddf_fun_t *fun, struct tm *t)
tm                 49 uspace/lib/c/generic/device/clock_dev.c clock_dev_time_get(async_sess_t *sess, struct tm *t)
tm                 80 uspace/lib/c/generic/device/clock_dev.c clock_dev_time_set(async_sess_t *sess, struct tm *t)
tm                261 uspace/lib/c/generic/time.c static time_t secs_since_epoch(const struct tm *tm)
tm                263 uspace/lib/c/generic/time.c 	return days_since_epoch(tm->tm_year, tm->tm_mon, tm->tm_mday) *
tm                264 uspace/lib/c/generic/time.c 	    SECS_PER_DAY + tm->tm_hour * SECS_PER_HOUR +
tm                265 uspace/lib/c/generic/time.c 	    tm->tm_min * SECS_PER_MIN + tm->tm_sec;
tm                293 uspace/lib/c/generic/time.c static int normalize_tm_ts(struct tm *tm, const struct timespec *ts)
tm                298 uspace/lib/c/generic/time.c 	time_t nsec = tm->tm_nsec + ts->tv_nsec;
tm                299 uspace/lib/c/generic/time.c 	time_t sec = tm->tm_sec + ts->tv_sec;
tm                300 uspace/lib/c/generic/time.c 	time_t min = tm->tm_min;
tm                301 uspace/lib/c/generic/time.c 	time_t hour = tm->tm_hour;
tm                302 uspace/lib/c/generic/time.c 	time_t day = tm->tm_mday - 1;
tm                303 uspace/lib/c/generic/time.c 	time_t mon = tm->tm_mon;
tm                304 uspace/lib/c/generic/time.c 	time_t year = tm->tm_year;
tm                353 uspace/lib/c/generic/time.c 	tm->tm_yday = day_of_year(year, mon, day + 1);
tm                354 uspace/lib/c/generic/time.c 	tm->tm_wday = day_of_week(year, mon, day + 1);
tm                357 uspace/lib/c/generic/time.c 	tm->tm_nsec = (int) nsec;
tm                358 uspace/lib/c/generic/time.c 	tm->tm_sec = (int) sec;
tm                359 uspace/lib/c/generic/time.c 	tm->tm_min = (int) min;
tm                360 uspace/lib/c/generic/time.c 	tm->tm_hour = (int) hour;
tm                361 uspace/lib/c/generic/time.c 	tm->tm_mday = (int) day + 1;
tm                362 uspace/lib/c/generic/time.c 	tm->tm_mon = (int) mon;
tm                366 uspace/lib/c/generic/time.c 		tm->tm_year = (year < 0) ? ((int) INT_MIN) : ((int) INT_MAX);
tm                370 uspace/lib/c/generic/time.c 	tm->tm_year = (int) year;
tm                374 uspace/lib/c/generic/time.c static int normalize_tm_time(struct tm *tm, time_t time)
tm                381 uspace/lib/c/generic/time.c 	return normalize_tm_ts(tm, &ts);
tm                408 uspace/lib/c/generic/time.c static int wbyear(const struct tm *tm)
tm                410 uspace/lib/c/generic/time.c 	int day = tm->tm_yday - wbyear_offset(tm->tm_year);
tm                414 uspace/lib/c/generic/time.c 		return tm->tm_year - 1;
tm                417 uspace/lib/c/generic/time.c 	if (day > 364 + is_leap_year(tm->tm_year)) {
tm                419 uspace/lib/c/generic/time.c 		return tm->tm_year + 1;
tm                423 uspace/lib/c/generic/time.c 	return tm->tm_year;
tm                436 uspace/lib/c/generic/time.c static int sun_week_number(const struct tm *tm)
tm                438 uspace/lib/c/generic/time.c 	int first_day = (7 - day_of_week(tm->tm_year, 0, 1)) % 7;
tm                440 uspace/lib/c/generic/time.c 	return (tm->tm_yday - first_day + 7) / 7;
tm                456 uspace/lib/c/generic/time.c static int iso_week_number(const struct tm *tm)
tm                458 uspace/lib/c/generic/time.c 	int day = tm->tm_yday - wbyear_offset(tm->tm_year);
tm                465 uspace/lib/c/generic/time.c 	if (day > 364 + is_leap_year(tm->tm_year)) {
tm                484 uspace/lib/c/generic/time.c static int mon_week_number(const struct tm *tm)
tm                486 uspace/lib/c/generic/time.c 	int first_day = (1 - day_of_week(tm->tm_year, 0, 1)) % 7;
tm                488 uspace/lib/c/generic/time.c 	return (tm->tm_yday - first_day + 7) / 7;
tm                636 uspace/lib/c/generic/time.c 	struct tm time;
tm                738 uspace/lib/c/generic/time.c time_t mktime(struct tm *tm)
tm                743 uspace/lib/c/generic/time.c 	normalize_tm_time(tm, 0);
tm                744 uspace/lib/c/generic/time.c 	return secs_since_epoch(tm);
tm                763 uspace/lib/c/generic/time.c 		consumed = strftime(ptr, remaining, fmt, tm); \
tm                786 uspace/lib/c/generic/time.c     const char *restrict format, const struct tm *restrict tm)
tm                790 uspace/lib/c/generic/time.c 	assert(tm != NULL);
tm                845 uspace/lib/c/generic/time.c 			APPEND("%s", wday_abbr[tm->tm_wday]);
tm                848 uspace/lib/c/generic/time.c 			APPEND("%s", wday[tm->tm_wday]);
tm                851 uspace/lib/c/generic/time.c 			APPEND("%s", mon_abbr[tm->tm_mon]);
tm                854 uspace/lib/c/generic/time.c 			APPEND("%s", mon[tm->tm_mon]);
tm                861 uspace/lib/c/generic/time.c 			APPEND("%02d", (1900 + tm->tm_year) / 100);
tm                864 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_mday);
tm                870 uspace/lib/c/generic/time.c 			APPEND("%2d", tm->tm_mday);
tm                876 uspace/lib/c/generic/time.c 			APPEND("%02d", wbyear(tm) % 100);
tm                879 uspace/lib/c/generic/time.c 			APPEND("%d", wbyear(tm));
tm                885 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_hour);
tm                888 uspace/lib/c/generic/time.c 			APPEND("%02d", TO_12H(tm->tm_hour));
tm                891 uspace/lib/c/generic/time.c 			APPEND("%03d", tm->tm_yday);
tm                894 uspace/lib/c/generic/time.c 			APPEND("%2d", tm->tm_hour);
tm                897 uspace/lib/c/generic/time.c 			APPEND("%2d", TO_12H(tm->tm_hour));
tm                900 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_mon);
tm                903 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_min);
tm                909 uspace/lib/c/generic/time.c 			APPEND("%s", tm->tm_hour < 12 ? "AM" : "PM");
tm                912 uspace/lib/c/generic/time.c 			APPEND("%s", tm->tm_hour < 12 ? "am" : "PM");
tm                921 uspace/lib/c/generic/time.c 			APPEND("%lld", secs_since_epoch(tm));
tm                924 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_sec);
tm                933 uspace/lib/c/generic/time.c 			APPEND("%d", (tm->tm_wday == 0) ? 7 : tm->tm_wday);
tm                936 uspace/lib/c/generic/time.c 			APPEND("%02d", sun_week_number(tm));
tm                939 uspace/lib/c/generic/time.c 			APPEND("%02d", iso_week_number(tm));
tm                942 uspace/lib/c/generic/time.c 			APPEND("%d", tm->tm_wday);
tm                945 uspace/lib/c/generic/time.c 			APPEND("%02d", mon_week_number(tm));
tm                956 uspace/lib/c/generic/time.c 			APPEND("%02d", tm->tm_year % 100);
tm                959 uspace/lib/c/generic/time.c 			APPEND("%d", 1900 + tm->tm_year);
tm                993 uspace/lib/c/generic/time.c errno_t time_utc2tm(const time_t time, struct tm *restrict result)
tm               1025 uspace/lib/c/generic/time.c 	struct tm tm;
tm               1026 uspace/lib/c/generic/time.c 	errno_t ret = time_utc2tm(time, &tm);
tm               1030 uspace/lib/c/generic/time.c 	time_tm2str(&tm, buf);
tm               1043 uspace/lib/c/generic/time.c void time_tm2str(const struct tm *restrict timeptr, char *restrict buf)
tm               1075 uspace/lib/c/generic/time.c errno_t time_ts2tm(const struct timespec *ts, struct tm *restrict result)
tm               1105 uspace/lib/c/generic/time.c errno_t time_local2tm(const time_t time, struct tm *restrict result)
tm               1129 uspace/lib/c/generic/time.c 	struct tm loctime;
tm                 46 uspace/lib/c/include/device/clock_dev.h extern errno_t clock_dev_time_get(async_sess_t *, struct tm *);
tm                 47 uspace/lib/c/include/device/clock_dev.h extern errno_t clock_dev_time_set(async_sess_t *, struct tm *);
tm                 84 uspace/lib/c/include/time.h extern time_t mktime(struct tm *);
tm                 93 uspace/lib/c/include/time.h extern char *asctime(const struct tm *);
tm                 99 uspace/lib/c/include/time.h extern struct tm *gmtime(const time_t *);
tm                102 uspace/lib/c/include/time.h extern struct tm *localtime(const time_t *);
tm                106 uspace/lib/c/include/time.h     const struct tm *__restrict__);
tm                152 uspace/lib/c/include/time.h extern errno_t time_utc2tm(const time_t, struct tm *);
tm                154 uspace/lib/c/include/time.h extern void time_tm2str(const struct tm *, char *);
tm                155 uspace/lib/c/include/time.h extern errno_t time_ts2tm(const struct timespec *, struct tm *);
tm                156 uspace/lib/c/include/time.h extern errno_t time_local2tm(const time_t, struct tm *);
tm                 72 uspace/lib/drv/generic/remote_clock_dev.c 	struct tm t;
tm                100 uspace/lib/drv/generic/remote_clock_dev.c 	async_data_read_finalize(&data, &t, sizeof(struct tm));
tm                114 uspace/lib/drv/generic/remote_clock_dev.c 	struct tm t;
tm                132 uspace/lib/drv/generic/remote_clock_dev.c 	async_data_write_finalize(&data, &t, sizeof(struct tm));
tm                 42 uspace/lib/drv/include/ops/clock_dev.h 	errno_t (*time_get)(ddf_fun_t *, struct tm *);
tm                 43 uspace/lib/drv/include/ops/clock_dev.h 	errno_t (*time_set)(ddf_fun_t *, struct tm *);
tm                 46 uspace/lib/posix/include/libc/device/clock_dev.h extern errno_t clock_dev_time_get(async_sess_t *, struct tm *);
tm                 47 uspace/lib/posix/include/libc/device/clock_dev.h extern errno_t clock_dev_time_set(async_sess_t *, struct tm *);
tm                 84 uspace/lib/posix/include/libc/time.h extern time_t mktime(struct tm *);
tm                 93 uspace/lib/posix/include/libc/time.h extern char *asctime(const struct tm *);
tm                 99 uspace/lib/posix/include/libc/time.h extern struct tm *gmtime(const time_t *);
tm                102 uspace/lib/posix/include/libc/time.h extern struct tm *localtime(const time_t *);
tm                106 uspace/lib/posix/include/libc/time.h     const struct tm *__restrict__);
tm                152 uspace/lib/posix/include/libc/time.h extern errno_t time_utc2tm(const time_t, struct tm *);
tm                154 uspace/lib/posix/include/libc/time.h extern void time_tm2str(const struct tm *, char *);
tm                155 uspace/lib/posix/include/libc/time.h extern errno_t time_ts2tm(const struct timespec *, struct tm *);
tm                156 uspace/lib/posix/include/libc/time.h extern errno_t time_local2tm(const time_t, struct tm *);
tm                 73 uspace/lib/posix/include/posix/time.h extern struct tm *gmtime_r(const time_t *__restrict__ timer,
tm                 74 uspace/lib/posix/include/posix/time.h     struct tm *__restrict__ result);
tm                 75 uspace/lib/posix/include/posix/time.h extern struct tm *gmtime(const time_t *__restrict__ timep);
tm                 76 uspace/lib/posix/include/posix/time.h extern struct tm *localtime_r(const time_t *__restrict__ timer,
tm                 77 uspace/lib/posix/include/posix/time.h     struct tm *__restrict__ result);
tm                 78 uspace/lib/posix/include/posix/time.h extern struct tm *localtime(const time_t *__restrict__ timep);
tm                 81 uspace/lib/posix/include/posix/time.h extern char *asctime_r(const struct tm *__restrict__ timeptr,
tm                 83 uspace/lib/posix/include/posix/time.h extern char *asctime(const struct tm *__restrict__ timeptr);
tm                 86 uspace/lib/posix/src/time.c struct tm *gmtime_r(const time_t *restrict timer,
tm                 87 uspace/lib/posix/src/time.c     struct tm *restrict result)
tm                104 uspace/lib/posix/src/time.c struct tm *gmtime(const time_t *restrict timep)
tm                106 uspace/lib/posix/src/time.c 	static struct tm result;
tm                118 uspace/lib/posix/src/time.c struct tm *localtime_r(const time_t *restrict timer,
tm                119 uspace/lib/posix/src/time.c     struct tm *restrict result)
tm                134 uspace/lib/posix/src/time.c struct tm *localtime(const time_t *restrict timep)
tm                136 uspace/lib/posix/src/time.c 	static struct tm result;
tm                150 uspace/lib/posix/src/time.c char *asctime_r(const struct tm *restrict timeptr,
tm                166 uspace/lib/posix/src/time.c char *asctime(const struct tm *restrict timeptr)
HelenOS homepage, sources at GitHub