Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc142 static int64_t EntryToIndex(const ZipStringOffset* hash_table, const uint32_t hash_table_size, in EntryToIndex() argument
147 uint32_t ent = hash & (hash_table_size - 1); in EntryToIndex()
152 ent = (ent + 1) & (hash_table_size - 1); in EntryToIndex()
162 static int32_t AddToHash(ZipStringOffset* hash_table, const uint64_t hash_table_size, in AddToHash() argument
165 uint32_t ent = hash & (hash_table_size - 1); in AddToHash()
177 ent = (ent + 1) & (hash_table_size - 1); in AddToHash()
198 hash_table_size(0), in ZipArchive()
214 hash_table_size(0), in ZipArchive()
376 archive->hash_table_size = RoundUpPower2(1 + (num_entries * 4) / 3); in ParseZipArchive()
378 reinterpret_cast<ZipStringOffset*>(calloc(archive->hash_table_size, sizeof(ZipStringOffset))); in ParseZipArchive()
[all …]
Dzip_archive_private.h176 uint32_t hash_table_size; member