Lines Matching defs:searchPtr
353 * searchPtr Area in which to keep state about search.
360 * The information in searchPtr is initialized so that successive
368 Hash_EnumFirst(Hash_Table *t, Hash_Search *searchPtr)
370 searchPtr->tablePtr = t;
371 searchPtr->nextIndex = 0;
372 searchPtr->hashEntryPtr = NULL;
373 return Hash_EnumNext(searchPtr);
383 * searchPtr Area used to keep state about search.
391 * The information in searchPtr is modified to advance to the
398 Hash_EnumNext(Hash_Search *searchPtr)
401 Hash_Table *t = searchPtr->tablePtr;
408 e = searchPtr->hashEntryPtr;
416 if (searchPtr->nextIndex >= t->size)
418 e = t->bucketPtr[searchPtr->nextIndex++];
420 searchPtr->hashEntryPtr = e;