Lines Matching refs:prev
191 db_index_entry_p fst, prev, curr; in lookup() local
205 prev = fst; in lookup()
209 prev->addresult(curr); in lookup()
210 prev = curr; in lookup()
216 prev->addresult(NULL); /* terminate the list -CM */ in lookup()
282 db_index_entry_p curr, prev, rp, save; in add() local
285 for (prev = curr = this; curr != NULL; curr = curr->next) { in add()
289 prev = curr; in add()
307 save = prev->next; in add()
308 prev->next = new db_index_entry(hval, i, recnum, prev->next); in add()
309 if (prev->next == NULL) { in add()
310 prev->next = save; // restore previous state in add()