Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 5 of 5) sorted by relevance

/mcuboot-latest/boot/boot_serial/src/
Dzcbor_bulk.c15 bool ok; in zcbor_map_decode_bulk() local
23 ok = true; in zcbor_map_decode_bulk()
30 ok = zcbor_tstr_decode(zsd, &key); in zcbor_map_decode_bulk()
32 while (ok && map_count < map_size) { in zcbor_map_decode_bulk()
63 if (!found && ok) { in zcbor_map_decode_bulk()
64 ok = zcbor_any_skip(zsd, NULL); in zcbor_map_decode_bulk()
66 } while (ok); in zcbor_map_decode_bulk()
Dboot_serial.c446 bool ok; in bs_set() local
463 ok = zcbor_map_decode_bulk(zsd, image_set_state_decode, ARRAY_SIZE(image_set_state_decode), in bs_set()
466 if (!ok) { in bs_set()
599 bool ok = true; in bs_slot_info() local
615 ok = zcbor_map_start_encode(cbor_state, CBOR_ENTRIES_SLOT_INFO_IMAGE_MAP) && in bs_slot_info()
621 if (!ok) { in bs_slot_info()
626 ok = zcbor_map_start_encode(cbor_state, CBOR_ENTRIES_SLOT_INFO_SLOTS_MAP) && in bs_slot_info()
630 if (!ok) { in bs_slot_info()
638 ok = zcbor_tstr_put_lit(cbor_state, "rc") && in bs_slot_info()
642 ok = zcbor_tstr_put_lit(cbor_state, "size") && in bs_slot_info()
[all …]
/mcuboot-latest/docs/
Dtestplan-zephyr.md51 ## Testing that mark ok works
Dreadme-zephyr.md126 the image to mark the primary slot as "image ok" before the next reboot,
/mcuboot-latest/sim/src/
Dimage.rs2267 let mut ok = vec![dev.erased_val(); align]; in mark_permanent_upgrade() localVariable
2268 ok[0] = 1u8; in mark_permanent_upgrade()
2270 dev.write(off, &ok).unwrap(); in mark_permanent_upgrade()