Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_common.h123 struct LocalFileHeader { struct
153 LocalFileHeader() = default; argument
154 DISALLOW_COPY_AND_ASSIGN(LocalFileHeader);
Dzip_writer.cc173 LocalFileHeader* dst) { in CopyFromFileEntry()
174 dst->lfh_signature = LocalFileHeader::kSignature; in CopyFromFileEntry()
232 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()
242 LocalFileHeader header = {}; in StartAlignedEntryWithTime()
456 LocalFileHeader header = {}; in FinishEntry()
Dzip_archive.cc557 if (local_header_offset + static_cast<off64_t>(sizeof(LocalFileHeader)) >= cd_offset) { in FindEntry()
562 uint8_t lfh_buf[sizeof(LocalFileHeader)]; in FindEntry()
569 const LocalFileHeader *lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry()
571 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()
608 const off64_t name_offset = local_header_offset + sizeof(LocalFileHeader); in FindEntry()
629 const off64_t data_offset = local_header_offset + sizeof(LocalFileHeader) in FindEntry()