Lines Matching refs:pIter
156 INLINE void mzHashIterNext(HashIter* pIter) {
157 int i = pIter->idx +1;
158 int lim = pIter->pHashTable->tableSize;
160 void* data = pIter->pHashTable->pEntries[i].data;
164 pIter->idx = i;
166 INLINE void mzHashIterBegin(HashTable* pHashTable, HashIter* pIter) {
167 pIter->pHashTable = pHashTable;
168 pIter->idx = -1;
169 mzHashIterNext(pIter);
171 INLINE bool mzHashIterDone(HashIter* pIter) {
172 return (pIter->idx >= pIter->pHashTable->tableSize);
174 INLINE void* mzHashIterData(HashIter* pIter) {
175 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
176 return pIter->pHashTable->pEntries[pIter->idx].data;