Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c119 size_t downloaded_size; member
888 if ((hb_context->dl.downloaded_size + body_len) > in response_json_cb()
891 hb_context->dl.downloaded_size + body_len; in response_json_cb()
902 strncpy(hb_context->response_data + hb_context->dl.downloaded_size, in response_json_cb()
904 hb_context->dl.downloaded_size += body_len; in response_json_cb()
908 if (hb_context->dl.http_content_size != hb_context->dl.downloaded_size) { in response_json_cb()
911 hb_context->dl.downloaded_size); in response_json_cb()
916 hb_context->response_data[hb_context->dl.downloaded_size] = '\0'; in response_json_cb()
920 hb_context->response_data, hb_context->dl.downloaded_size, in response_json_cb()
929 hb_context->response_data, hb_context->dl.downloaded_size, in response_json_cb()
[all …]
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c69 int downloaded_size; member
453 ctx.downloaded_size = ctx.downloaded_size + payload_len; in install_update_cb()
466 ctx.downloaded_size == ctx.block.total_size)) { in install_update_cb()
478 if (ctx.downloaded_size != ctx.block.total_size) { in install_update_cb()
505 ctx.hash, ctx.downloaded_size)) { in install_update_cb()
549 ctx.downloaded_size = 0; in install_update()
554 while (ctx.downloaded_size != ctx.block.total_size) { in install_update()
593 ctx.downloaded_size = 0; in install_update()