Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DHash.c62 pHashTable->numEntries = pHashTable->numDeadEntries = 0; in mzHashTableCreate()
95 pHashTable->numEntries = 0; in mzHashTableClear()
213 pHashTable->numEntries++; in mzHashTableLookup()
218 if ((pHashTable->numEntries+pHashTable->numDeadEntries) * LOAD_DENOM in mzHashTableLookup()
230 assert(pHashTable->numEntries < pHashTable->tableSize); in mzHashTableLookup()
260 pHashTable->numEntries--; in mzHashTableRemove()
353 int numEntries, minProbe, maxProbe, totalProbe; in mzHashTableProbeCount() local
356 numEntries = maxProbe = totalProbe = 0; in mzHashTableProbeCount()
367 numEntries++; in mzHashTableProbeCount()
377 minProbe, maxProbe, totalProbe, numEntries, pHashTable->tableSize, in mzHashTableProbeCount()
[all …]
DZip.c191 unsigned int i, numEntries, cdOffset; in parseZipArchive() local
229 numEntries = get2LE(ptr + ENDSUB); in parseZipArchive()
232 LOGVV("numEntries=%d cdOffset=%d\n", numEntries, cdOffset); in parseZipArchive()
233 if (numEntries == 0 || cdOffset >= pArchive->length) { in parseZipArchive()
235 numEntries, cdOffset, pArchive->length); in parseZipArchive()
242 pArchive->numEntries = numEntries; in parseZipArchive()
243 pArchive->pEntries = (ZipEntry*) calloc(numEntries, sizeof(ZipEntry)); in parseZipArchive()
244 pArchive->pHash = mzHashTableCreate(mzHashSize(numEntries), NULL); in parseZipArchive()
249 for (i = 0; i < numEntries; i++) { in parseZipArchive()
395 for (i = 0; i < numEntries; i++) { in parseZipArchive()
[all …]
DHash.h67 int numEntries; /* current #of "live" entries */ member
105 return pHashTable->numEntries; in mzHashTableNumEntries()
DZip.h49 unsigned int numEntries; member