Searched refs:hash_table (Results 1 – 2 of 2) sorted by relevance
44 ZipString* hash_table; member52 hash_table(NULL) {} in ZipArchive()59 free(hash_table); in ~ZipArchive()
172 static int64_t EntryToIndex(const ZipString* hash_table, in EntryToIndex() argument179 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() argument203 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 …]