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

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

Completed in 455 milliseconds