Home
last modified time | relevance | path

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

/AliOS-Things-master/components/ota/ota_agent/download/
A Dota_download_http.c205 int ota_rx_size = 0; in ota_download_image_header() local
296 if (ota_rx_size + tmp_size <= off_size) { in ota_download_image_header()
301 ota_rx_size += tmp_size; in ota_download_image_header()
310 ota_rx_size += tmp_size; in ota_download_image_header()
314 ota_rx_size += tmp_size; in ota_download_image_header()
320 ota_rx_size += tmp_size; in ota_download_image_header()
335 ota_rx_size = 0; in ota_download_image_header()
365 int ota_rx_size = 0; in ota_download_start() local
427 while (ota_file_size == 0 || ota_rx_size < ota_file_size) { in ota_download_start()
450 ota_rx_size += client_data.content_block_len; in ota_download_start()
[all …]
A Dota_download_file2fs_http.c43 int ota_rx_size = 0; in ota_download_store_fs_start() local
112 while (ota_file_size == 0 || ota_rx_size < ota_file_size) { in ota_download_store_fs_start()
134 ota_rx_size += client_data.content_block_len; in ota_download_store_fs_start()
136 off_size = ota_rx_size; in ota_download_store_fs_start()
138 percent = ((long)(ota_rx_size >> 6) * 100) / (long)(ota_file_size >> 6); in ota_download_store_fs_start()
147 … OTA_LOG_I(" in fs recv data(%d/%d) off:%d\r\n", ota_rx_size, ota_file_size, off_size); in ota_download_store_fs_start()
158 ota_rx_size = 0; in ota_download_store_fs_start()

Completed in 6 milliseconds