Home
last modified time | relevance | path

Searched refs:ZCBOR_ENCODE_FLAG (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
Dimg_gr_stub.c33 #define ZCBOR_ENCODE_FLAG(zse, label, value) \ macro
128 ZCBOR_ENCODE_FLAG(zse, "bootable", image_dummy_info[i].flags.bootable) && in img_read_response()
129 ZCBOR_ENCODE_FLAG(zse, "pending", image_dummy_info[i].flags.pending) && in img_read_response()
130 ZCBOR_ENCODE_FLAG(zse, "confirmed", image_dummy_info[i].flags.confirmed) && in img_read_response()
131 ZCBOR_ENCODE_FLAG(zse, "active", image_dummy_info[i].flags.active) && in img_read_response()
132 ZCBOR_ENCODE_FLAG(zse, "permanent", image_dummy_info[i].flags.permanent) && in img_read_response()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt_state.c38 #define ZCBOR_ENCODE_FLAG(zse, label, value) \ macro
43 #define ZCBOR_ENCODE_FLAG(zse, label, value) \ macro
461 ZCBOR_ENCODE_FLAG(zse, "bootable", !(flags & IMAGE_F_NON_BOOTABLE)) && in img_mgmt_state_encode_slot()
462 ZCBOR_ENCODE_FLAG(zse, "pending", state_flags & REPORT_SLOT_PENDING) && in img_mgmt_state_encode_slot()
463 ZCBOR_ENCODE_FLAG(zse, "confirmed", state_flags & REPORT_SLOT_CONFIRMED) && in img_mgmt_state_encode_slot()
464 ZCBOR_ENCODE_FLAG(zse, "active", state_flags & REPORT_SLOT_ACTIVE) && in img_mgmt_state_encode_slot()
465 ZCBOR_ENCODE_FLAG(zse, "permanent", state_flags & REPORT_SLOT_PERMANENT); in img_mgmt_state_encode_slot()