Lines Matching refs:sz
366 size_t sz = static_cast<size_t>(st.st_size); in MakePatch() local
368 patch_data->resize(sz); in MakePatch()
369 if (!android::base::ReadFully(patch_fd, patch_data->data(), sz)) { in MakePatch()
635 size_t sz = static_cast<size_t>(st.st_size); in ReadFile() local
636 file_content->resize(sz); in ReadFile()
637 if (!android::base::ReadFully(fd, file_content->data(), sz)) { in ReadFile()
1251 size_t sz = file_content_.size(); in Initialize() local
1253 while (pos < sz) { in Initialize()
1255 if (sz - pos >= 4 && get_unaligned<uint32_t>(file_content_.data() + pos) == 0x00088b1f) { in Initialize()
1260 if (sz - pos < GZIP_HEADER_LEN + GZIP_FOOTER_LEN) { in Initialize()
1261 chunks_.emplace_back(CHUNK_NORMAL, pos, &file_content_, sz - pos); in Initialize()
1277 strm.avail_in = sz - pos; in Initialize()
1307 raw_data_len = sz - strm.avail_in - pos; in Initialize()
1317 if (sz - footer_index < 4) { in Initialize()
1345 while (data_len + pos < sz) { in Initialize()
1346 if (data_len + pos + 4 <= sz && in Initialize()