Searched refs:zsd (Results 1 – 3 of 3) sorted by relevance
/mcuboot-3.4.0/boot/boot_serial/src/ |
D | zcbor_bulk.c | 12 int zcbor_map_decode_bulk(zcbor_state_t *zsd, struct zcbor_map_decode_key_val *map, in zcbor_map_decode_bulk() argument 18 if (!zcbor_map_start_decode(zsd)) { in zcbor_map_decode_bulk() 30 ok = zcbor_tstr_decode(zsd, &key); in zcbor_map_decode_bulk() 43 if (!dptr->decoder(zsd, dptr->value_ptr)) { in zcbor_map_decode_bulk() 64 ok = zcbor_any_skip(zsd, NULL); in zcbor_map_decode_bulk() 68 return zcbor_map_end_decode(zsd) ? 0 : -EBADMSG; in zcbor_map_decode_bulk()
|
D | boot_serial.c | 430 zcbor_state_t zsd[4]; in bs_set() local 431 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1); in bs_set() 440 ok = zcbor_map_decode_bulk(zsd, image_set_state_decode, ARRAY_SIZE(image_set_state_decode), in bs_set() 638 zcbor_state_t zsd[4]; in bs_upload() local 639 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1); in bs_upload() 648 ok = zcbor_map_decode_bulk(zsd, image_upload_decode, ARRAY_SIZE(image_upload_decode), in bs_upload() 873 zcbor_state_t zsd[4]; in bs_echo() local 874 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1); in bs_echo() 876 if (!zcbor_map_start_decode(zsd)) { in bs_echo() 881 ok = zcbor_tstr_decode(zsd, &key); in bs_echo() [all …]
|
D | zcbor_bulk.h | 107 int zcbor_map_decode_bulk(zcbor_state_t *zsd, struct zcbor_map_decode_key_val *map,
|