Lines Matching refs:offset

417   size_t offset = 0;  in TryReconstruction()  local
428 if (memcmp(buffer.data(), input_file_ptr_->data() + start_ + offset, compressed_size) != 0) { in TryReconstruction()
433 offset += compressed_size; in TryReconstruction()
437 if (offset != raw_data_len_) { in TryReconstruction()
499 size_t PatchChunk::WriteHeaderToFd(int fd, size_t offset, size_t index) const { in WriteHeaderToFd() argument
507 Write8(fd, static_cast<int64_t>(offset)); in WriteHeaderToFd()
508 return offset + data_.size(); in WriteHeaderToFd()
514 Write8(fd, static_cast<int64_t>(offset)); in WriteHeaderToFd()
522 return offset + data_.size(); in WriteHeaderToFd()
530 return offset; in WriteHeaderToFd()
533 return offset; in WriteHeaderToFd()
553 size_t offset = total_header_size; in WritePatchDataToFd() local
564 offset = patch_chunks[i].WriteHeaderToFd(patch_fd, offset, i); in WritePatchDataToFd()
699 [](auto& entry1, auto& entry2) { return entry1.second.offset < entry2.second.offset; }); in InitializeChunks()
715 entries_end = static_cast<size_t>(temp_entries.back().second.offset + in InitializeChunks()
731 static_cast<off64_t>(pos) == temp_entries[nextentry].second.offset) { in InitializeChunks()
747 raw_data_len = temp_entries[nextentry].second.offset - pos; in InitializeChunks()
770 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks()
785 ImageChunk curr(CHUNK_DEFLATE, entry->offset, &file_content_, compressed_len, entry_name); in AddZipEntryToChunks()
789 chunks_.emplace_back(CHUNK_NORMAL, entry->offset, &file_content_, compressed_len, entry_name); in AddZipEntryToChunks()