Searched refs:tm_time (Results 1 – 1 of 1) sorted by relevance
41 static const char *consume_date(const char *s, struct tm *tm_time) in consume_date() argument72 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() argument110 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() argument123 s = consume_date(s, tm_time); in strptime()[all …]