Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dbuild_date.c59 static int32_t time_string_to_seconds(const uint8_t *time_string) in time_string_to_seconds() argument
66 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()
/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c637 char *time_string);
3519 static bool valid_time_string(const char *time_string) in valid_time_string() argument
3528 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() argument
3566 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()