Home
last modified time | relevance | path

Searched refs:hash_table (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
148 while (hash_table[ent].name_offset != 0) { in EntryToIndex()
149 if (isZipStringEqual(start, name, hash_table[ent])) { in EntryToIndex()
162 static int32_t AddToHash(ZipStringOffset* hash_table, const uint64_t hash_table_size, in AddToHash() argument
171 while (hash_table[ent].name_offset != 0) { in AddToHash()
172 if (isZipStringEqual(start, name, hash_table[ent])) { in AddToHash()
179 hash_table[ent].name_offset = GetOffset(name.name, start); in AddToHash()
180 hash_table[ent].name_length = name.name_length; in AddToHash()
199 hash_table(nullptr) { in ZipArchive()
215 hash_table(nullptr) {} in ZipArchive()
[all …]
Dzip_archive_private.h177 ZipStringOffset* hash_table; member