Searched refs:output_length (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 538 uint16_t output_length = 0; in os_mgmt_info() local 557 .output_length = &output_length, in os_mgmt_info() 658 rc = snprintf(output, (sizeof(output) - output_length), "Zephyr"); in os_mgmt_info() 660 if (rc < 0 || rc >= (sizeof(output) - output_length)) { in os_mgmt_info() 663 output_length += (uint16_t)rc; in os_mgmt_info() 673 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 677 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 681 rc = snprintf(&output[output_length], (sizeof(output) - output_length), in os_mgmt_info() 685 if (rc < 0 || rc >= (sizeof(output) - output_length)) { in os_mgmt_info() 688 output_length += (uint16_t)rc; in os_mgmt_info() [all …]
|
/Zephyr-latest/tests/subsys/secure_storage/psa/crypto/src/ |
D | main.c | 104 size_t output_length; in ZTEST() local 108 ciphertext, sizeof(ciphertext), &output_length); in ZTEST() 110 zassert_equal(output_length, sizeof(ciphertext)); in ZTEST() 114 ret = psa_cipher_decrypt(ID, ALG, ciphertext, output_length, in ZTEST() 115 decrypted_text, sizeof(decrypted_text), &output_length); in ZTEST() 117 zassert_equal(output_length, sizeof(plaintext)); in ZTEST()
|
/Zephyr-latest/modules/mbedtls/ |
D | zephyr_entropy.c | 60 uint8_t *output, size_t output_size, size_t *output_length) in mbedtls_psa_external_get_random() argument 71 *output_length = output_size; in mbedtls_psa_external_get_random()
|
/Zephyr-latest/tests/subsys/logging/log_switch_format/src/ |
D | mock_backend.c | 30 size_t output_length = length; in char_out() local 44 return output_length; in char_out()
|
/Zephyr-latest/tests/subsys/logging/log_syst/src/ |
D | mock_backend.c | 29 size_t output_length = length; in char_out() local 40 return output_length; in char_out()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt_hash_checksum_sha256.c | 115 size_t output_length; in hash_finish() local 117 return psa_hash_finish(ctx, output, SHA256_DIGEST_SIZE, &output_length); in hash_finish()
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/ |
D | os_mgmt.h | 104 uint16_t *output_length; member
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | main.c | 142 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-latest/drivers/modem/ |
D | hl7800.c | 2636 size_t output_length; in profile_handler() local 2650 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in profile_handler() 2655 if (output_length >= SIZE_WITHOUT_NUL("E?")) { in profile_handler() 2701 size_t output_length; in on_cmd_atcmdinfo_pdp_authentication_cfg() local 2711 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in on_cmd_atcmdinfo_pdp_authentication_cfg() 2714 if (output_length > 0) { in on_cmd_atcmdinfo_pdp_authentication_cfg() 2767 size_t output_length; in on_cmd_atcmdinfo_pdp_context() local 2777 output_length = net_buf_linearize(line, SIZE_WITHOUT_NUL(line), in on_cmd_atcmdinfo_pdp_context() 2780 if (output_length > 0) { in on_cmd_atcmdinfo_pdp_context()
|