Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 – 5 of 5) sorted by relevance

/dalvik/vm/
DHash.c56 pHashTable->tableSize = dexRoundUpPower2(initialSize); in dvmHashTableCreate()
60 (HashEntry*) malloc(pHashTable->tableSize * sizeof(HashEntry)); in dvmHashTableCreate()
66 memset(pHashTable->pEntries, 0, pHashTable->tableSize * sizeof(HashEntry)); in dvmHashTableCreate()
79 for (i = 0; i < pHashTable->tableSize; i++, pEnt++) { in dvmHashTableClear()
115 for (count = i = 0; i < pHashTable->tableSize; i++) { in countTombStones()
145 for (i = 0; i < pHashTable->tableSize; i++) { in resizeHash()
163 pHashTable->tableSize = newSize; in resizeHash()
182 assert(pHashTable->tableSize > 0); in dvmHashTableLookup()
187 pEntry = &pHashTable->pEntries[itemHash & (pHashTable->tableSize-1)]; in dvmHashTableLookup()
188 pEnd = &pHashTable->pEntries[pHashTable->tableSize]; in dvmHashTableLookup()
[all …]
DHash.h74 int tableSize; /* must be power of 2 */ member
132 return sizeof(HashTable) + pHashTable->tableSize * sizeof(HashEntry); in dvmHashTableMemUsage()
189 int lim = pIter->pHashTable->tableSize; in dvmHashIterNext()
203 return (pIter->idx >= pIter->pHashTable->tableSize); in dvmHashIterDone()
206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize); in dvmHashIterData()
/dalvik/vm/analysis/
DVerifySubs.c201 int switchCount, tableSize; in dvmCheckSwitchTargets() local
242 tableSize = offsetToTargets + switchCount*2; in dvmCheckSwitchTargets()
252 if (curOffset + offsetToSwitch + tableSize > insnCount) { in dvmCheckSwitchTargets()
255 curOffset, offsetToSwitch, curOffset + offsetToSwitch + tableSize, in dvmCheckSwitchTargets()
DDexVerify.c276 int valueCount, valueWidth, tableSize; in checkArrayData() local
306 tableSize = 4 + (valueWidth * valueCount + 1) / 2; in checkArrayData()
309 if (curOffset + offsetToArrayData + tableSize > insnCount) { in checkArrayData()
314 curOffset + offsetToArrayData + tableSize, in checkArrayData()
/dalvik/dx/src/com/android/dx/dex/file/
DCatchStructs.java202 int tableSize = table.size(); in writeTo() local
203 for (int i = 0; i < tableSize; i++) { in writeTo()