Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive_private.h110 ZipString* hash_table; member
120 hash_table(nullptr) {} in ZipArchive()
130 hash_table(nullptr) {} in ZipArchive()
137 free(hash_table); in ~ZipArchive()
Dzip_archive.cc175 static int64_t EntryToIndex(const ZipString* hash_table, in EntryToIndex() argument
182 while (hash_table[ent].name != NULL) { in EntryToIndex()
183 if (hash_table[ent] == name) { in EntryToIndex()
197 static int32_t AddToHash(ZipString *hash_table, const uint64_t hash_table_size, in AddToHash() argument
206 while (hash_table[ent].name != NULL) { in AddToHash()
207 if (hash_table[ent] == name) { in AddToHash()
215 hash_table[ent].name = name.name; in AddToHash()
216 hash_table[ent].name_length = name.name_length; in AddToHash()
374 archive->hash_table = reinterpret_cast<ZipString*>(calloc(archive->hash_table_size, in ParseZipArchive()
376 if (archive->hash_table == nullptr) { in ParseZipArchive()
[all …]