Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc310 ZipEntryName* hash_table; member
318 hash_table(NULL) {} in ZipArchive()
325 free(hash_table); in ~ZipArchive()
362 static int64_t EntryToIndex(const ZipEntryName* hash_table, in EntryToIndex() argument
369 while (hash_table[ent].name != NULL) { in EntryToIndex()
370 if (hash_table[ent].name_length == name.name_length && in EntryToIndex()
371 memcmp(hash_table[ent].name, name.name, name.name_length) == 0) { in EntryToIndex()
385 static int32_t AddToHash(ZipEntryName *hash_table, const uint64_t hash_table_size, in AddToHash() argument
394 while (hash_table[ent].name != NULL) { in AddToHash()
395 if (hash_table[ent].name_length == name.name_length && in AddToHash()
[all …]