Lines Matching refs:data

271   return input_file_ptr_->data() + start_;  in GetRawData()
276 return uncompressed_data_.data(); in DataForPatch()
301 void ImageChunk::SetUncompressedData(std::vector<uint8_t> data) { in SetUncompressedData() argument
302 uncompressed_data_ = std::move(data); in SetUncompressedData()
369 if (!android::base::ReadFully(patch_fd, patch_data->data(), sz)) { in MakePatch()
409 strm.next_in = uncompressed_data_.data(); in TryReconstruction()
420 strm.next_out = buffer.data(); in TryReconstruction()
428 if (memcmp(buffer.data(), input_file_ptr_->data() + start_ + offset, compressed_size) != 0) { in TryReconstruction()
444 PatchChunk::PatchChunk(const ImageChunk& tgt, const ImageChunk& src, std::vector<uint8_t> data) in PatchChunk() argument
453 data_(std::move(data)) {} in PatchChunk()
527 if (!android::base::WriteFully(fd, data_.data(), data_.size())) { in WriteHeaderToFd()
572 if (!android::base::WriteFully(patch_fd, patch.data_.data(), patch.data_.size())) { in WritePatchDataToFd()
637 if (!android::base::ReadFully(fd, file_content->data(), sz)) { in ReadFile()
658 int err = OpenArchiveFromMemory(const_cast<uint8_t*>(file_content_.data()), zipfile_size, in Initialize()
779 int ret = ExtractToMemory(handle, entry, uncompressed_data.data(), uncompressed_len); in AddZipEntryToChunks()
1254 if (sz - pos >= 4 && get_unaligned<uint32_t>(file_content_.data() + pos) == 0x00088b1f) { in Initialize()
1277 strm.next_in = file_content_.data() + pos; in Initialize()
1292 strm.next_out = uncompressed_data.data() + uncompressed_len; in Initialize()
1320 size_t footer_size = get_unaligned<uint32_t>(file_content_.data() + footer_index); in Initialize()
1346 get_unaligned<uint32_t>(file_content_.data() + pos + data_len) == 0x00088b1f) { in Initialize()
1505 if (!android::base::ReadFully(fd, bonus_data.data(), bonus_size)) { in imgdiff()