/Zephyr-latest/tests/subsys/mgmt/mcumgr/zcbor_bulk/src/ |
D | main.c | 44 size_t decoded = 0; in ZTEST() local 65 int rc = zcbor_map_decode_bulk(zsd, dm, ARRAY_SIZE(dm), &decoded); in ZTEST() 68 zassert_equal(decoded, ARRAY_SIZE(dm), "Expected %d got %d", in ZTEST() 69 ARRAY_SIZE(dm), decoded); in ZTEST() 85 size_t decoded = 0; in ZTEST() local 106 int rc = zcbor_map_decode_bulk(zsd, dm, ARRAY_SIZE(dm), &decoded); in ZTEST() 109 zassert_equal(decoded, ARRAY_SIZE(dm), "Expected %d got %d", in ZTEST() 110 ARRAY_SIZE(dm), decoded); in ZTEST() 126 size_t decoded = 1111; in ZTEST() local 145 int rc = zcbor_map_decode_bulk(zsd, dm, ARRAY_SIZE(dm), &decoded); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | main.c | 305 size_t decoded = 0; in ZTEST() local 343 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 346 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST() 366 size_t decoded = 0; in ZTEST() local 404 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 407 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST() 427 size_t decoded = 0; in ZTEST() local 466 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 469 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST() 489 size_t decoded = 0; in ZTEST() local [all …]
|
D | limited.c | 48 size_t decoded = 0; in ZTEST() local 86 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 89 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST() 109 size_t decoded = 0; in ZTEST() local 153 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 156 zassert_equal(decoded, 0, "Expected to receive 0 decoded zcbor element\n"); in ZTEST() 159 ok = zcbor_map_decode_bulk(zsd, error_decode, ARRAY_SIZE(error_decode), &decoded) == 0; in ZTEST() 162 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST()
|
D | build_date.c | 86 size_t decoded = 0; in ZTEST() local 126 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 129 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST() 162 size_t decoded = 0; in ZTEST() local 202 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 205 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element\n"); in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | main.c | 92 size_t decoded; in mcumgr_ret_decode() local 103 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 156 size_t decoded = 0; in ZTEST() local 196 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 198 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 218 size_t decoded = 0; in ZTEST() local 258 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 260 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 282 size_t decoded = 0; in ZTEST() local 323 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | main.c | 96 size_t decoded = 0; in parse_slot_entries() local 119 &decoded) == 0; in parse_slot_entries() 121 zassert_true((decoded == 2 || decoded == 3 || decoded == 4), in parse_slot_entries() 156 size_t decoded = 0; in parse_images_entries() local 171 &decoded) == 0; in parse_images_entries() 173 zassert_true((decoded == 2 || decoded == 3 || decoded == 4), in parse_images_entries() 205 size_t decoded = 0; in ZTEST() local 253 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 255 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 332 size_t decoded = 0; in ZTEST() local [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 116 size_t decoded = 0; in ZTEST() local 162 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 164 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 214 size_t decoded = 0; in ZTEST() local 263 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 265 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 317 size_t decoded = 0; in ZTEST() local 371 &decoded) == 0; in ZTEST() 373 zassert_not_equal(decoded, 0, in ZTEST() 388 zassert_equal(decoded, 2, "Expected to receive 2 decoded zcbor elements"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | main.c | 76 size_t decoded; in mcumgr_ret_decode() local 87 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 110 size_t decoded = 0; in ZTEST() local 159 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 162 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 197 size_t decoded = 0; in ZTEST() local 246 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 249 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 283 size_t decoded = 0; in ZTEST() local 332 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/ |
D | example_mgmt.c | 39 size_t decoded; in example_mgmt_test() local 48 &decoded) == 0; in example_mgmt_test() 81 size_t decoded; in example_mgmt_other() local 96 &decoded) == 0; in example_mgmt_other()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | img_gr_stub.c | 178 size_t decoded; in img_state_write_verify() local 187 decoded = 0; in img_state_write_verify() 192 rc = zcbor_map_decode_bulk(zsd, list_res_decode, ARRAY_SIZE(list_res_decode), &decoded); in img_state_write_verify() 227 size_t decoded, length, offset; in img_upload_init_verify() local 239 decoded = 0; in img_upload_init_verify() 247 rc = zcbor_map_decode_bulk(zsd, list_res_decode, ARRAY_SIZE(list_res_decode), &decoded); in img_upload_init_verify()
|
D | os_gr_stub.c | 79 size_t decoded; in os_echo_verify() local 88 rc = zcbor_map_decode_bulk(zsd, list_res_decode, ARRAY_SIZE(list_res_decode), &decoded); in os_echo_verify()
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/os_mgmt/ |
D | os_mgmt_callbacks.h | 43 const size_t *decoded; member
|
/Zephyr-latest/doc/services/debugging/ |
D | cs_trace_defmt.rst | 10 decoded offline by the host but deformatter can be used on-chip to decode the data during 16 Deformatter is initialized with a user callback. Data is decoded using
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 153 size_t decoded; in os_mgmt_echo() local 159 ok = zcbor_map_decode_bulk(zsd, echo_decode, ARRAY_SIZE(echo_decode), &decoded) == 0; in os_mgmt_echo() 369 size_t decoded; in os_mgmt_reset() local 385 (void)zcbor_map_decode_bulk(zsd, reset_decode, ARRAY_SIZE(reset_decode), &decoded); in os_mgmt_reset() 452 size_t decoded; in os_mgmt_bootloader_info() local 462 .decoded = &decoded, in os_mgmt_bootloader_info() 472 if (zcbor_map_decode_bulk(zsd, bootloader_info, ARRAY_SIZE(bootloader_info), &decoded)) { in os_mgmt_bootloader_info() 494 if (decoded == 0) { in os_mgmt_bootloader_info() 535 size_t decoded; in os_mgmt_info() local 569 if (zcbor_map_decode_bulk(zsd, fs_info_decode, ARRAY_SIZE(fs_info_decode), &decoded)) { in os_mgmt_info() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/src/ |
D | settings_mgmt.c | 38 size_t decoded; in settings_mgmt_read() local 57 &decoded) == 0; in settings_mgmt_read() 163 size_t decoded; in settings_mgmt_write() local 178 &decoded) == 0; in settings_mgmt_write() 265 size_t decoded; in settings_mgmt_delete() local 279 &decoded) == 0; in settings_mgmt_delete()
|
/Zephyr-latest/snippets/nordic-log-stm/ |
D | README.rst | 11 decoded and human-readable data is output on the UART.
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/ |
D | enum_mgmt.c | 220 size_t decoded = 0; in enum_mgmt_single() local 235 &decoded) == 0; in enum_mgmt_single() 310 size_t decoded = 0; in enum_mgmt_details() local 331 &decoded) == 0; in enum_mgmt_details() 374 &decoded) == 0; in enum_mgmt_details()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 374 size_t decoded = 0; in ZTEST() local 492 &decoded) == 0; in ZTEST() 494 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 539 size_t decoded = 0; in ZTEST() local 594 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 596 zassert_equal(decoded, 2, "Expected to receive 2 decoded zcbor elements"); in ZTEST() 633 size_t decoded = 0; in ZTEST() local 749 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 751 zassert_equal(decoded, 1, "Expected to receive 1 decoded zcbor element"); in ZTEST() 879 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_huffman.c | 334 const struct decode_elem *decoded; in http_hpack_huffman_decode() local 379 decoded = huffman_decode_bits(bits); in http_hpack_huffman_decode() 380 if (decoded == NULL) { in http_hpack_huffman_decode() 385 if (decoded == &eos) { in http_hpack_huffman_decode() 394 if (encoded_bits_len < decoded->bitlen) { in http_hpack_huffman_decode() 400 bits_needed += decoded->bitlen; in http_hpack_huffman_decode() 401 encoded_bits_len -= decoded->bitlen; in http_hpack_huffman_decode() 409 *buf = decoded->symbol; in http_hpack_huffman_decode()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/src/ |
D | os_mgmt_client.c | 93 size_t decoded; in echo_res_fn() local 109 ok = zcbor_map_decode_bulk(zsd, echo_response, ARRAY_SIZE(echo_response), &decoded) == 0; in echo_res_fn()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
D | img_mgmt_client.c | 55 size_t decoded; in image_state_res_fn() local 104 decoded = 0; in image_state_res_fn() 118 &decoded); in image_state_res_fn() 190 size_t decoded; in image_upload_res_fn() local 206 rc = zcbor_map_decode_bulk(zsd, upload_res_decode, ARRAY_SIZE(upload_res_decode), &decoded); in image_upload_res_fn() 224 size_t decoded; in erase_res_fn() local 238 rc = zcbor_map_decode_bulk(zsd, upload_res_decode, ARRAY_SIZE(upload_res_decode), &decoded); in erase_res_fn()
|
/Zephyr-latest/scripts/west_commands/ |
D | zcmake.py | 280 decoded = version_out.decode('utf-8') 281 lines = decoded.splitlines() 285 format(decoded) +
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 215 size_t decoded; in fs_mgmt_file_download() local 234 &decoded) == 0; in fs_mgmt_file_download() 361 size_t decoded = 0; in fs_mgmt_file_upload() local 383 &decoded) == 0; in fs_mgmt_file_upload() 578 size_t decoded; in fs_mgmt_file_status() local 596 ARRAY_SIZE(fs_status_decode), &decoded) == 0; in fs_mgmt_file_status() 665 size_t decoded; in fs_mgmt_file_hash_checksum() local 688 ARRAY_SIZE(fs_hash_checksum_decode), &decoded) == 0; in fs_mgmt_file_hash_checksum()
|
/Zephyr-latest/drivers/gnss/ |
D | Kconfig.luatos_air530z | 24 Maximum number of satellites that can be decoded from the
|
D | Kconfig.generic | 26 Maximum number of satellite that the driver that can be decoded from
|