Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DHash.c64 pHashTable->pEntries = in mzHashTableCreate()
66 if (pHashTable->pEntries == NULL) { in mzHashTableCreate()
82 pEnt = pHashTable->pEntries; in mzHashTableClear()
107 free(pHashTable->pEntries); in mzHashTableFree()
120 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones()
149 void* data = pHashTable->pEntries[i].data; in resizeHash()
151 int hashValue = pHashTable->pEntries[i].hashValue; in resizeHash()
164 free(pHashTable->pEntries); in resizeHash()
165 pHashTable->pEntries = pNewEntries; in resizeHash()
190 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; in mzHashTableLookup()
[all …]
DHash.h69 HashEntry* pEntries; /* array on heap */ member
160 void* data = pIter->pHashTable->pEntries[i].data; in mzHashIterNext()
176 return pIter->pHashTable->pEntries[pIter->idx].data; in mzHashIterData()
DZip.c243 pArchive->pEntries = (ZipEntry*) calloc(numEntries, sizeof(ZipEntry)); in parseZipArchive()
245 if (pArchive->pEntries == NULL || pArchive->pHash == NULL) in parseZipArchive()
293 if (pArchive->pEntries[mid].fileNameLen < fileNameLen) { in parseZipArchive()
294 diffLen = pArchive->pEntries[mid].fileNameLen; in parseZipArchive()
298 diff = strncmp(pArchive->pEntries[mid].fileName, fileName, in parseZipArchive()
301 diff = pArchive->pEntries[mid].fileNameLen - fileNameLen; in parseZipArchive()
319 memmove(pArchive->pEntries + target + 1, in parseZipArchive()
320 pArchive->pEntries + target, in parseZipArchive()
323 pEntry = &pArchive->pEntries[target]; in parseZipArchive()
325 pEntry = &pArchive->pEntries[0]; in parseZipArchive()
[all …]
DZip.h50 ZipEntry* pEntries; member