Home
last modified time | relevance | path

Searched refs:LocalFileHeader (Results 1 – 3 of 3) sorted by relevance

/system/core/libziparchive/
Dzip_archive_common.h125 struct LocalFileHeader { struct
156 LocalFileHeader() = default; argument
157 DISALLOW_COPY_AND_ASSIGN(LocalFileHeader);
Dzip_writer.cc177 LocalFileHeader* dst) { in CopyFromFileEntry()
178 dst->lfh_signature = LocalFileHeader::kSignature; in CopyFromFileEntry()
236 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()
246 LocalFileHeader header = {}; in StartAlignedEntryWithTime()
459 LocalFileHeader header = {}; in FinishEntry()
Dzip_archive.cc455 if (lfh_start_bytes != LocalFileHeader::kSignature) { in ParseZipArchive()
588 if (local_header_offset + static_cast<off64_t>(sizeof(LocalFileHeader)) >= cd_offset) { in FindEntry()
593 uint8_t lfh_buf[sizeof(LocalFileHeader)]; in FindEntry()
600 const LocalFileHeader* lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry()
602 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()
655 const off64_t name_offset = local_header_offset + sizeof(LocalFileHeader); in FindEntry()
677 const off64_t data_offset = local_header_offset + sizeof(LocalFileHeader) + in FindEntry()