Searched refs:tm (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | test_printf.c | 508 const struct rtc_time tm = { in time_and_date() local 519 test("(%pt?)", "%pt", &tm); in time_and_date() 520 test("2018-11-26T05:35:43", "%ptR", &tm); in time_and_date() 521 test("0118-10-26T05:35:43", "%ptRr", &tm); in time_and_date() 522 test("05:35:43|2018-11-26", "%ptRt|%ptRd", &tm, &tm); in time_and_date() 523 test("05:35:43|0118-10-26", "%ptRtr|%ptRdr", &tm, &tm); in time_and_date() 524 test("05:35:43|2018-11-26", "%ptRttr|%ptRdtr", &tm, &tm); in time_and_date() 525 test("05:35:43 tr|2018-11-26 tr", "%ptRt tr|%ptRd tr", &tm, &tm); in time_and_date()
|
D | vsprintf.c | 1819 char *date_str(char *buf, char *end, const struct rtc_time *tm, bool r) in date_str() argument 1821 int year = tm->tm_year + (r ? 0 : 1900); in date_str() 1822 int mon = tm->tm_mon + (r ? 0 : 1); in date_str() 1834 return number(buf, end, tm->tm_mday, default_dec02_spec); in date_str() 1838 char *time_str(char *buf, char *end, const struct rtc_time *tm, bool r) in time_str() argument 1840 buf = number(buf, end, tm->tm_hour, default_dec02_spec); in time_str() 1845 buf = number(buf, end, tm->tm_min, default_dec02_spec); in time_str() 1850 return number(buf, end, tm->tm_sec, default_dec02_spec); in time_str() 1854 char *rtc_str(char *buf, char *end, const struct rtc_time *tm, in rtc_str() argument 1862 if (check_pointer(&buf, end, tm, spec)) in rtc_str() [all …]
|
/lib/zstd/common/ |
D | cpu.h | 156 D(tm, 29)
|