Lines Matching defs:time_str
374 key_str2time(char *time_str, char *day_str, char *month_str, char *year_str)
401 /* Check hour field of time_str. */
402 colon = strchr (time_str, ':');
408 hour = strtoul (time_str, &endptr, 10);
412 /* Check min field of time_str. */
413 time_str = colon + 1;
414 colon = strchr (time_str, ':');
415 if (*time_str == '\0' || colon == NULL)
420 min = strtoul (time_str, &endptr, 10);
424 /* Check sec field of time_str. */
425 time_str = colon + 1;
426 if (*time_str == '\0')
430 sec = strtoul (time_str, &endptr, 10);