Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc309 uint32_t hash_table_size; member
317 hash_table_size(0), in ZipArchive()
363 const uint32_t hash_table_size, in EntryToIndex() argument
368 uint32_t ent = hash & (hash_table_size - 1); in EntryToIndex()
375 ent = (ent + 1) & (hash_table_size - 1); in EntryToIndex()
385 static int32_t AddToHash(ZipEntryName *hash_table, const uint64_t hash_table_size, in AddToHash() argument
388 uint32_t ent = hash & (hash_table_size - 1); in AddToHash()
401 ent = (ent + 1) & (hash_table_size - 1); in AddToHash()
567 archive->hash_table_size = RoundUpPower2(1 + (num_entries * 4) / 3); in ParseZipArchive()
568 archive->hash_table = reinterpret_cast<ZipEntryName*>(calloc(archive->hash_table_size, in ParseZipArchive()
[all …]