Searched refs:tm_time (Results 1 – 1 of 1) sorted by relevance
39 static const char *consume_date(const char *s, struct tm *tm_time) in consume_date() argument70 tm_time->tm_year = atoi(year) - 1900; in consume_date()71 tm_time->tm_mon = atoi(month) - 1; in consume_date()72 tm_time->tm_mday = atoi(day); in consume_date()77 static const char *consume_time(const char *s, struct tm *tm_time) in consume_time() argument108 tm_time->tm_hour = atoi(hour); in consume_time()109 tm_time->tm_min = atoi(minute); in consume_time()110 tm_time->tm_sec = atoi(second); in consume_time()115 static char *strptime(const char *s, const char *format, struct tm *tm_time) in strptime() argument121 s = consume_date(s, tm_time); in strptime()[all …]