/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | main.c | 96 struct zcbor_map_decode_key_val output_decode[] = { in mcumgr_ret_decode() local 103 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 106 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "group") && in mcumgr_ret_decode() 107 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "rc")) { in mcumgr_ret_decode() 160 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 196 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 199 zassert_false(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 201 zassert_true(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 203 zassert_false(zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 222 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | main.c | 80 struct zcbor_map_decode_key_val output_decode[] = { in mcumgr_ret_decode() local 87 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode() 90 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "group") && in mcumgr_ret_decode() 91 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), "rc")) { in mcumgr_ret_decode() 115 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 159 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 165 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 170 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 175 zcbor_map_decode_bulk_key_found(output_decode, ARRAY_SIZE(output_decode), in ZTEST() 202 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | main.c | 106 struct zcbor_map_decode_key_val output_decode[] = { in parse_slot_entries() local 118 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), in parse_slot_entries() 124 slot_data->slot_received = zcbor_map_decode_bulk_key_found(output_decode, in parse_slot_entries() 125 ARRAY_SIZE(output_decode), in parse_slot_entries() 127 slot_data->size_received = zcbor_map_decode_bulk_key_found(output_decode, in parse_slot_entries() 128 ARRAY_SIZE(output_decode), in parse_slot_entries() 131 output_decode, in parse_slot_entries() 132 ARRAY_SIZE(output_decode), in parse_slot_entries() 134 slot_data->test2_received = zcbor_map_decode_bulk_key_found(output_decode, in parse_slot_entries() 135 ARRAY_SIZE(output_decode), in parse_slot_entries() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | main.c | 307 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 343 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 368 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 404 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 429 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 466 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 491 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 528 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 553 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 589 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|
D | limited.c | 50 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 86 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 112 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 153 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
|
D | build_date.c | 90 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 126 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 166 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 202 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 118 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 162 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 219 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 263 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 325 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 370 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), in ZTEST() 414 struct zcbor_map_decode_key_val output_decode[] = { in parse_details_entries() local 439 while (i < ARRAY_SIZE(output_decode)) { in parse_details_entries() 440 output_decode[i].found = false; in parse_details_entries() 444 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), in parse_details_entries() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 377 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 447 zcbor_map_decode_bulk_reset(output_decode, ARRAY_SIZE(output_decode)); in ZTEST() 491 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), in ZTEST() 542 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 594 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 635 struct zcbor_map_decode_key_val output_decode[] = { in ZTEST() local 706 zcbor_map_decode_bulk_reset(output_decode, ARRAY_SIZE(output_decode)); in ZTEST() 749 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() 836 zcbor_map_decode_bulk_reset(output_decode, ARRAY_SIZE(output_decode)); in ZTEST() 879 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST() [all …]
|