Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DZip.c91 static void dumpEntry(const ZipEntry* pEntry)
93 LOGI(" %p '%.*s'\n", pEntry->fileName,pEntry->fileNameLen,pEntry->fileName);
94 LOGI(" off=%ld comp=%ld uncomp=%ld how=%d\n", pEntry->offset,
95 pEntry->compLen, pEntry->uncompLen, pEntry->compression);
146 static void addEntryToHashTable(HashTable* pHash, ZipEntry* pEntry) in addEntryToHashTable() argument
148 unsigned int itemHash = computeHash(pEntry->fileName, pEntry->fileNameLen); in addEntryToHashTable()
152 itemHash, pEntry, hashcmpZipEntry, true); in addEntryToHashTable()
153 if (found != pEntry) { in addEntryToHashTable()
250 ZipEntry* pEntry; in parseZipArchive() local
323 pEntry = &pArchive->pEntries[target]; in parseZipArchive()
[all …]
DHash.c181 HashEntry* pEntry; in mzHashTableLookup() local
190 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; in mzHashTableLookup()
192 while (pEntry->data != NULL) { in mzHashTableLookup()
193 if (pEntry->data != HASH_TOMBSTONE && in mzHashTableLookup()
194 pEntry->hashValue == itemHash && in mzHashTableLookup()
195 (*cmpFunc)(pEntry->data, item) == 0) in mzHashTableLookup()
201 pEntry++; in mzHashTableLookup()
202 if (pEntry == pEnd) { /* wrap around to start */ in mzHashTableLookup()
205 pEntry = pHashTable->pEntries; in mzHashTableLookup()
209 if (pEntry->data == NULL) { in mzHashTableLookup()
[all …]
DZip.h88 INLINE long mzGetZipEntryOffset(const ZipEntry* pEntry) { in mzGetZipEntryOffset() argument
89 return pEntry->offset; in mzGetZipEntryOffset()
91 INLINE long mzGetZipEntryUncompLen(const ZipEntry* pEntry) { in mzGetZipEntryUncompLen() argument
92 return pEntry->uncompLen; in mzGetZipEntryUncompLen()
113 const ZipEntry *pEntry, ProcessZipEntryContentsFunction processFunction,
119 bool mzReadZipEntry(const ZipArchive* pArchive, const ZipEntry* pEntry,
126 const ZipEntry *pEntry, int fd);
133 const ZipEntry *pEntry, unsigned char* buffer);