Searched refs:sz (Results 1 – 2 of 2) sorted by relevance
366 size_t sz = static_cast<size_t>(st.st_size); in MakePatch() local368 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() local636 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() local1253 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()[all …]
90 size_t sz = range.second - range.first; in PushBack() local91 if (blocks_ >= SIZE_MAX - sz) { in PushBack()97 blocks_ += sz; in PushBack()