Home
last modified time | relevance | path

Searched refs:tm_time (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/drivers/rtc/
Drtc_shell.c41 static const char *consume_date(const char *s, struct tm *tm_time) in consume_date() argument
72 tm_time->tm_year = atoi(year) - 1900; in consume_date()
73 tm_time->tm_mon = atoi(month) - 1; in consume_date()
74 tm_time->tm_mday = atoi(day); in consume_date()
79 static const char *consume_time(const char *s, struct tm *tm_time) in consume_time() argument
110 tm_time->tm_hour = atoi(hour); in consume_time()
111 tm_time->tm_min = atoi(minute); in consume_time()
112 tm_time->tm_sec = atoi(second); in consume_time()
117 static char *strptime(const char *s, const char *format, struct tm *tm_time) in strptime() argument
123 s = consume_date(s, tm_time); in strptime()
[all …]