Searched refs:time_string (Results 1 – 2 of 2) sorted by relevance
59 static int32_t time_string_to_seconds(const uint8_t *time_string) in time_string_to_seconds() argument66 time_hh = ((time_string[TIME_HH_OFFSET] - '0') * 10) + in time_string_to_seconds()67 (time_string[TIME_HH_OFFSET + 1] - '0'); in time_string_to_seconds()68 time_mm = ((time_string[TIME_MM_OFFSET] - '0') * 10) + in time_string_to_seconds()69 (time_string[TIME_MM_OFFSET + 1] - '0'); in time_string_to_seconds()70 time_ss = ((time_string[TIME_SS_OFFSET] - '0') * 10) + in time_string_to_seconds()71 (time_string[TIME_SS_OFFSET + 1] - '0'); in time_string_to_seconds()
637 char *time_string);3519 static bool valid_time_string(const char *time_string) in valid_time_string() argument3528 if (time_string[i] != TIME_STRING_FORMAT[i]) { in valid_time_string()3535 if ((time_string[i] == '+' || time_string[i] == '-') && in valid_time_string()3536 (time_string[i + offset] == '"')) { in valid_time_string()3563 char *time_string) in convert_time_string_to_struct() argument3566 char *ptr = time_string; in convert_time_string_to_struct()3585 if (time_string[TIME_STRING_PLUS_MINUS_INDEX] == '-') { in convert_time_string_to_struct()