Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/drivers/modem/
Dhl7800.c652 char *time_string);
3660 static bool valid_time_string(const char *time_string) in valid_time_string() argument
3669 if (time_string[i] != TIME_STRING_FORMAT[i]) { in valid_time_string()
3676 if ((time_string[i] == '+' || time_string[i] == '-') && in valid_time_string()
3677 (time_string[i + offset] == '"')) { in valid_time_string()
3704 char *time_string) in convert_time_string_to_struct() argument
3707 char *ptr = time_string; in convert_time_string_to_struct()
3726 if (time_string[TIME_STRING_PLUS_MINUS_INDEX] == '-') { in convert_time_string_to_struct()