Searched refs:total_size (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
H A D | hvb_ops.c | 108 int64_t total_size = GetImageSizeForHVB(fd, partition); in HvbReadFromPartition() local 109 if (total_size == -1) { in HvbReadFromPartition() 114 offset = total_size + offset; in HvbReadFromPartition()
|
/ohos5.0/build/scripts/ |
H A D | download_sdk.py | 40 def reporthook(data_download, data_size, total_size): argument 49 if progress != int(data_download * data_size * 1000 / total_size): 50 progress = int(data_download * data_size * 1000 / total_size)
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/ |
H A D | chunk.rs | 864 total_size: usize, field 890 total_size: 0, in new() 1171 self.total_size = self.hex_count as usize; in decode_special_char() 1175 if self.total_size == 0 { in decode_special_char() 1179 self.rest_size = self.total_size; in decode_special_char() 1212 self.total_size, in skip_trailer_ext() 1234 Self::sized_chunk(&buf[..0], None, self.total_size, ChunkState::MetaExt), in skip_chunk_ext() 1278 self.total_size, in skip_trailer_crlf() 1355 Self::sized_chunk(buf, None, self.total_size, ChunkState::Data), in decode_data() 1414 self.total_size = 0; in skip_last_crlf() [all …]
|
/ohos5.0/build/ |
H A D | prebuilts_config.py | 183 total_size = int(response.headers['Content-Length']) 186 print_process(chunk_size, downloaded_size, out_file, response, total_size) 194 def print_process(chunk_size, downloaded_size, out_file, response, total_size): argument 201 if total_size != 0: 202 progress = downloaded_size / total_size * 50
|