Home
last modified time | relevance | path

Searched refs:mHashTableSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/utils/
DZipFileRO.cpp78 if (ent < 0 || ent >= mHashTableSize || mHashTable[ent].name == NULL) { in entryToIndex()
217 mHashTableSize = roundUpPower2(1 + ((numEntries * 4) / 3)); in parseZipArchive()
218 mHashTable = (HashEntry*) calloc(1, sizeof(HashEntry) * mHashTableSize); in parseZipArchive()
290 int ent = hash & (mHashTableSize-1); in addToHash()
296 ent = (ent + 1) & (mHashTableSize-1); in addToHash()
311 int ent = hash & (mHashTableSize-1); in findEntryByName()
321 ent = (ent + 1) & (mHashTableSize-1); in findEntryByName()
341 for (int ent = 0; ent < mHashTableSize; ent++) { in findEntryByIndex()
/frameworks/base/include/utils/
DZipFileRO.h61 : mFd(-1), mFileMap(NULL), mHashTableSize(-1), mHashTable(NULL) in ZipFileRO()
216 int mHashTableSize; variable