Lines Matching refs:lfh
796 auto lfh = reinterpret_cast<const LocalFileHeader*>(lfh_buf); in FindEntry() local
797 if (lfh->lfh_signature != LocalFileHeader::kSignature) { in FindEntry()
806 if (lfh->file_name_length != name_length) { in FindEntry()
808 std::string(entryName).c_str(), lfh->file_name_length, name_length); in FindEntry()
833 uint64_t lfh_uncompressed_size = lfh->uncompressed_size; in FindEntry()
834 uint64_t lfh_compressed_size = lfh->compressed_size; in FindEntry()
843 const off64_t lfh_extra_field_offset = name_offset + lfh->file_name_length; in FindEntry()
844 const uint16_t lfh_extra_field_size = lfh->extra_field_length; in FindEntry()
859 local_extra_field.data(), lfh_extra_field_size, lfh->uncompressed_size, in FindEntry()
860 lfh->compressed_size, std::nullopt, &zip64_info); in FindEntry()
887 if ((lfh->gpb_flags & kGPBDDFlagMask) != (cdr->gpb_flags & kGPBDDFlagMask)) { in FindEntry()
889 cdr->gpb_flags, lfh->gpb_flags); in FindEntry()
894 if ((lfh->gpb_flags & kGPBDDFlagMask) == 0) { in FindEntry()
897 data->uncompressed_length != lfh_uncompressed_size || data->crc32 != lfh->crc32) { in FindEntry()
901 lfh_uncompressed_size, lfh->crc32); in FindEntry()
918 data->gpbf = lfh->gpb_flags; in FindEntry()
925 lfh->file_name_length + lfh->extra_field_length; in FindEntry()