Lines Matching refs:current_offset_
90 current_offset_(0), in ZipWriter()
105 current_offset_(writer.current_offset_), in ZipWriter()
117 current_offset_ = writer.current_offset_; in operator =()
224 file_entry.local_file_header_offset = current_offset_; in StartAlignedEntryWithTime()
249 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()
289 current_offset_ = offset; in StartAlignedEntryWithTime()
300 current_offset_ = last_entry.local_file_header_offset; in DiscardLastEntry()
301 if (fseeko(file_, current_offset_, SEEK_SET) != 0) { in DiscardLastEntry()
381 current_offset_ += len; in StoreBytes()
409 current_offset_ += write_bytes; in CompressBytes()
436 current_offset_ += write_bytes; in FlushCompressedBytes()
452 current_offset_ += write_bytes; in FlushCompressedBytes()
487 current_offset_ += sizeof(uint32_t) * dataDescriptor.size(); in FinishEntry()
501 if (fseeko(file_, current_offset_, SEEK_SET) != 0) { in FinishEntry()
516 off_t startOfCdr = current_offset_; in Finish()
543 current_offset_ += sizeof(cdr) + file.path.size(); in Finish()
554 if (current_offset_ > std::numeric_limits<uint32_t>::max()) { in Finish()
557 er.cd_size = static_cast<uint32_t>(current_offset_ - startOfCdr); in Finish()
564 current_offset_ += sizeof(er); in Finish()
569 if (ftruncate(fileno(file_), current_offset_) != 0) { in Finish()