Searched refs:downloaded_size (Results 1 – 2 of 2) sorted by relevance
72 size_t downloaded_size; member693 if ((hb_context.dl.downloaded_size + body_len) > response_buffer_size) { in response_cb()706 strncpy(hb_context.response_data + hb_context.dl.downloaded_size, in response_cb()708 hb_context.dl.downloaded_size += body_len; in response_cb()712 if (hb_context.dl.http_content_size != hb_context.dl.downloaded_size) { in response_cb()715 hb_context.dl.downloaded_size); in response_cb()720 hb_context.response_data[hb_context.dl.downloaded_size] = '\0'; in response_cb()722 hb_context.dl.downloaded_size, in response_cb()752 if ((hb_context.dl.downloaded_size + body_len) > response_buffer_size) { in response_cb()765 strncpy(hb_context.response_data + hb_context.dl.downloaded_size, in response_cb()[all …]
74 int downloaded_size; member462 ctx.downloaded_size = ctx.downloaded_size + payload_len; in install_update_cb()476 (ctx.downloaded_size == ctx.block.total_size ? in install_update_cb()481 ctx.downloaded_size == ctx.block.total_size) < 0) { in install_update_cb()493 if (ctx.downloaded_size != ctx.block.total_size) { in install_update_cb()519 fic.clen = ctx.downloaded_size; in install_update_cb()571 ctx.downloaded_size = 0; in install_update()576 while (ctx.downloaded_size != ctx.block.total_size) { in install_update()615 ctx.downloaded_size = 0; in install_update()