Home | History | Annotate | Download | only in minzip

Lines Matching refs:pIter

152 INLINE void mzHashIterNext(HashIter* pIter) {
153 int i = pIter->idx +1;
154 int lim = pIter->pHashTable->tableSize;
156 void* data = pIter->pHashTable->pEntries[i].data;
160 pIter->idx = i;
162 INLINE void mzHashIterBegin(HashTable* pHashTable, HashIter* pIter) {
163 pIter->pHashTable = pHashTable;
164 pIter->idx = -1;
165 mzHashIterNext(pIter);
167 INLINE bool mzHashIterDone(HashIter* pIter) {
168 return (pIter->idx >= pIter->pHashTable->tableSize);
170 INLINE void* mzHashIterData(HashIter* pIter) {
171 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize);
172 return pIter->pHashTable->pEntries[pIter->idx].data;