Searched defs:hash_table_size (Results 1 - 2 of 2) sorted by relevance

/system/core/libziparchive/
H A Dzip_archive_private.h43 uint32_t hash_table_size; member in struct:ZipArchive
51 hash_table_size(0),
H A Dzip_archive.cc173 const uint32_t hash_table_size,
177 // NOTE: (hash_table_size - 1) is guaranteed to be non-negative.
178 uint32_t ent = hash & (hash_table_size - 1);
184 ent = (ent + 1) & (hash_table_size - 1);
194 static int32_t AddToHash(ZipString *hash_table, const uint64_t hash_table_size, argument
197 uint32_t ent = hash & (hash_table_size - 1);
209 ent = (ent + 1) & (hash_table_size - 1);
380 archive->hash_table_size = RoundUpPower2(1 + (num_entries * 4) / 3);
381 archive->hash_table = reinterpret_cast<ZipString*>(calloc(archive->hash_table_size,
428 archive->hash_table_size, entry_nam
172 EntryToIndex(const ZipString* hash_table, const uint32_t hash_table_size, const ZipString& name) argument
[all...]

Completed in 44 milliseconds