Searched refs:LocalFileHeader (Results 1 – 4 of 4) sorted by relevance
129 struct LocalFileHeader { struct159 LocalFileHeader() = default; argument162 DISALLOW_COPY_AND_ASSIGN(LocalFileHeader);
177 LocalFileHeader* dst) { in CopyFromFileEntry()178 dst->lfh_signature = LocalFileHeader::kSignature; in CopyFromFileEntry()249 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime()270 LocalFileHeader header = {}; in StartAlignedEntryWithTime()494 LocalFileHeader header = {}; in FinishEntry()
587 if (lfh_start_bytes != LocalFileHeader::kSignature) { in ParseZipArchive()782 if (__builtin_add_overflow(local_header_offset, sizeof(LocalFileHeader), &local_header_end) || in FindEntry()789 uint8_t lfh_buf[sizeof(LocalFileHeader)]; in FindEntry()796 auto lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry()797 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()812 if (__builtin_add_overflow(local_header_offset, sizeof(LocalFileHeader), &name_offset)) { in FindEntry()924 const off64_t data_offset = local_header_offset + sizeof(LocalFileHeader) + in FindEntry()
1020 LocalFileHeader lfh = {}; in ConstructLocalFileHeader()1021 lfh.lfh_signature = LocalFileHeader::kSignature; in ConstructLocalFileHeader()1027 reinterpret_cast<uint8_t*>(&lfh) + sizeof(LocalFileHeader)); in ConstructLocalFileHeader()