Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_private.h44 ZipString* hash_table; member
52 hash_table(NULL) {} in ZipArchive()
59 free(hash_table); in ~ZipArchive()
Dzip_archive.cc172 static int64_t EntryToIndex(const ZipString* hash_table, in EntryToIndex() argument
179 while (hash_table[ent].name != NULL) { in EntryToIndex()
180 if (hash_table[ent] == name) { in EntryToIndex()
194 static int32_t AddToHash(ZipString *hash_table, const uint64_t hash_table_size, in AddToHash() argument
203 while (hash_table[ent].name != NULL) { in AddToHash()
204 if (hash_table[ent] == name) { in AddToHash()
212 hash_table[ent].name = name.name; in AddToHash()
213 hash_table[ent].name_length = name.name_length; in AddToHash()
374 archive->hash_table = reinterpret_cast<ZipString*>(calloc(archive->hash_table_size, in ParseZipArchive()
417 const int add_result = AddToHash(archive->hash_table, in ParseZipArchive()
[all …]