Searched refs:LocalFileHeader (Results 1 – 3 of 3) sorted by relevance
125 struct LocalFileHeader { struct156 LocalFileHeader() = default; argument157 DISALLOW_COPY_AND_ASSIGN(LocalFileHeader);
177 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()
455 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()