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