Lines Matching refs:lfh
740 auto lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry() local
741 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()
750 if (lfh->file_name_length != nameLen) { in FindEntry()
752 std::string(entryName).c_str(), lfh->file_name_length, nameLen); in FindEntry()
756 if (name_offset > cd_offset - lfh->file_name_length) { in FindEntry()
771 uint64_t lfh_uncompressed_size = lfh->uncompressed_size; in FindEntry()
772 uint64_t lfh_compressed_size = lfh->compressed_size; in FindEntry()
781 const off64_t lfh_extra_field_offset = name_offset + lfh->file_name_length; in FindEntry()
782 const uint16_t lfh_extra_field_size = lfh->extra_field_length; in FindEntry()
797 local_extra_field.data(), lfh_extra_field_size, lfh->uncompressed_size, in FindEntry()
798 lfh->compressed_size, std::nullopt, &zip64_info); in FindEntry()
825 if ((lfh->gpb_flags & kGPBDDFlagMask) != (cdr->gpb_flags & kGPBDDFlagMask)) { in FindEntry()
827 cdr->gpb_flags, lfh->gpb_flags); in FindEntry()
832 if ((lfh->gpb_flags & kGPBDDFlagMask) == 0) { in FindEntry()
835 data->uncompressed_length != lfh_uncompressed_size || data->crc32 != lfh->crc32) { in FindEntry()
839 lfh_uncompressed_size, lfh->crc32); in FindEntry()
856 data->gpbf = lfh->gpb_flags; in FindEntry()
863 lfh->file_name_length + lfh->extra_field_length; in FindEntry()