Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 3 of 3) sorted by relevance

/system/libziparchive/
Dzip_cd_entry_map.h93 uint16_t name_length : 12; member
104 uint16_t name_length; member
Dzip_cd_entry_map.cc26 return std::string_view{name, entry.name_length}; in ToStringView()
69 hash_table_[ent].name_length = static_cast<uint16_t>(name.size()); in AddToMap()
Dzip_archive.cc875 auto name_length = static_cast<uint16_t>(entryName.size()); in FindEntry() local
876 if (lfh->file_name_length != name_length) { in FindEntry()
878 std::string(entryName).c_str(), lfh->file_name_length, name_length); in FindEntry()
887 if (__builtin_add_overflow(name_offset, name_length, &name_end) || name_end > cd_offset) { in FindEntry()
900 if (name_length > std::size(static_buf)) { in FindEntry()
901 buffer.resize(name_length); in FindEntry()
904 const auto read_name = archive->mapped_zip.ReadAtOffset(name_buf, name_length, name_offset); in FindEntry()
909 if (memcmp(entryName.data(), read_name, name_length) != 0) { in FindEntry()