Home
last modified time | relevance | path

Searched refs:output_length (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c452 uint16_t output_length = 0; in os_mgmt_info() local
471 .output_length = &output_length, in os_mgmt_info()
572 rc = snprintf(output, (sizeof(output) - output_length), "Zephyr"); in os_mgmt_info()
574 if (rc < 0 || rc >= (sizeof(output) - output_length)) { in os_mgmt_info()
577 output_length += (uint16_t)rc; in os_mgmt_info()
587 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
591 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
595 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info()
599 if (rc < 0 || rc >= (sizeof(output) - output_length)) { in os_mgmt_info()
602 output_length += (uint16_t)rc; in os_mgmt_info()
[all …]
/Zephyr-Core-3.5.0/tests/subsys/logging/log_switch_format/src/
Dmock_backend.c30 size_t output_length = length; in char_out() local
44 return output_length; in char_out()
/Zephyr-Core-3.5.0/tests/subsys/logging/log_syst/src/
Dmock_backend.c29 size_t output_length = length; in char_out() local
40 return output_length; in char_out()
/Zephyr-Core-3.5.0/include/zephyr/mgmt/mcumgr/grp/os_mgmt/
Dos_mgmt.h95 uint16_t *output_length; member
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dmain.c142 int_rc = snprintf(&append_data->output[*append_data->output_length], in os_mgmt_info_custom_os_callback()
143 (append_data->buffer_size - *append_data->output_length), in os_mgmt_info_custom_os_callback()
148 int_rc >= (append_data->buffer_size - *append_data->output_length)) { in os_mgmt_info_custom_os_callback()
154 *append_data->output_length += (uint16_t)int_rc; in os_mgmt_info_custom_os_callback()
197 int_rc = snprintf(&append_data->output[*append_data->output_length], in os_mgmt_info_custom_cmd_callback()
198 (append_data->buffer_size - *append_data->output_length), in os_mgmt_info_custom_cmd_callback()
203 int_rc >= (append_data->buffer_size - *append_data->output_length)) { in os_mgmt_info_custom_cmd_callback()
209 *append_data->output_length += (uint16_t)int_rc; in os_mgmt_info_custom_cmd_callback()
/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c2562 size_t output_length; in profile_handler() local
2576 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in profile_handler()
2581 if (output_length >= SIZE_WITHOUT_NUL("E?")) { in profile_handler()
2627 size_t output_length; in on_cmd_atcmdinfo_pdp_authentication_cfg() local
2637 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in on_cmd_atcmdinfo_pdp_authentication_cfg()
2640 if (output_length > 0) { in on_cmd_atcmdinfo_pdp_authentication_cfg()
2689 size_t output_length; in on_cmd_atcmdinfo_pdp_context() local
2699 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in on_cmd_atcmdinfo_pdp_context()
2702 if (output_length > 0) { in on_cmd_atcmdinfo_pdp_context()