Home | History | Annotate | Download | only in vm

Lines Matching refs:pIter

187 INLINE void dvmHashIterNext(HashIter* pIter) {
188 int i = pIter->idx +1;
189 int lim = pIter->pHashTable->tableSize;
191 void* data = pIter->pHashTable->pEntries[i].data;
195 pIter->idx = i;
197 INLINE void dvmHashIterBegin(HashTable* pHashTable, HashIter* pIter) {
198 pIter->pHashTable = pHashTable;
199 pIter->idx = -1;
200 dvmHashIterNext(pIter);
202 INLINE bool dvmHashIterDone(HashIter* pIter) {
203 return (pIter->idx >= pIter->pHashTable->tableSize);
205 INLINE void* dvmHashIterData(HashIter* pIter) {
206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
207 return pIter->pHashTable->pEntries[pIter->idx].data;