Searched refs:LocalFileHeader (Results 1 – 5 of 5) sorted by relevance
127 struct LocalFileHeader { struct158 LocalFileHeader() = default; argument159 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()
548 if (lfh_start_bytes != LocalFileHeader::kSignature) { in ParseZipArchive()728 if (local_header_offset + static_cast<off64_t>(sizeof(LocalFileHeader)) >= cd_offset) { in FindEntry()733 uint8_t lfh_buf[sizeof(LocalFileHeader)]; in FindEntry()740 auto lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry()741 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()755 const off64_t name_offset = local_header_offset + sizeof(LocalFileHeader); in FindEntry()862 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()
298 struct LocalFileHeader { in CalculateLocalFileEntrySize() struct327 LocalFileHeader() = default; in CalculateLocalFileEntrySize()328 DISALLOW_COPY_AND_ASSIGN(LocalFileHeader); in CalculateLocalFileEntrySize()330 static constexpr int kLocalFileHeaderSize = sizeof(LocalFileHeader); in CalculateLocalFileEntrySize()333 const LocalFileHeader* lfh; in CalculateLocalFileEntrySize()342 FileRegion lfhMapped(fd_, localFileHeaderOffset, sizeof(LocalFileHeader)); in CalculateLocalFileEntrySize()343 lfh = reinterpret_cast<const LocalFileHeader*>(lfhMapped.data()); in CalculateLocalFileEntrySize()