Home
last modified time | relevance | path

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

/mcuboot-latest/boot/mbed/include/utils/
DDataShare.cpp58 int DataShare::get_next(uint16_t *type, mbed::Span<uint8_t> buf, uint16_t *actual_size) { in get_next() argument
73 *actual_size = *PTR_TO_UINT16((SHARED_DATA_ENTRY_BASE + working_offset)); in get_next()
77 if((size_t)buf.size() < *actual_size) { in get_next()
82 …buf.data(), (const uint8_t*)PTR_TO_UINT8((SHARED_DATA_ENTRY_BASE + working_offset)), *actual_size); in get_next()
84 working_offset += *actual_size; in get_next()
DDataShare.h73 int get_next(uint16_t *type, mbed::Span<uint8_t> buf, uint16_t *actual_size);