Searched refs:time_str (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.6.0/subsys/shell/modules/ |
D | date_service.c | 88 static int get_h_m_s(const struct shell *sh, struct tm *t, char *time_str) in get_h_m_s() argument 92 if (*time_str == ':') { in get_h_m_s() 93 time_str++; in get_h_m_s() 96 t->tm_hour = strtol(time_str, &endptr, 10); in get_h_m_s() 97 if (endptr == time_str) { in get_h_m_s() 105 time_str = endptr + 1; in get_h_m_s() 111 if (*time_str == ':') { in get_h_m_s() 112 time_str++; in get_h_m_s() 115 t->tm_min = strtol(time_str, &endptr, 10); in get_h_m_s() 116 if (endptr == time_str) { in get_h_m_s() [all …]
|
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_cbor.c | 43 char time_str[sizeof("1970-01-01T00:00:00-00:00")] = { 0 }; in put_time() local 55 len = snprintk(time_str, sizeof(time_str), in put_time() 64 if (len < 0 || len > sizeof(time_str) - 1) { in put_time() 83 ret = zcbor_tstr_put_term(states, time_str, sizeof(time_str)); in put_time() 316 char time_str[sizeof("4294967295")] = { 0 }; in get_time_string() local 317 struct zcbor_string hndl = { .value = time_str, .len = sizeof(time_str) - 1 }; in get_time_string()
|
/Zephyr-Core-3.6.0/subsys/logging/ |
D | log_output.c | 259 char time_str[sizeof("1970-01-01T00:00:00")]; in timestamp_print() local 266 strftime(time_str, sizeof(time_str), "%FT%T", tm); in timestamp_print() 269 time_str, ms * 1000U + us); in timestamp_print()
|