Lines Matching refs:tab
56 tab = NULL; in db_index()
82 if (tab != NULL) { in reset()
84 curr = tab[i]; in reset()
93 delete tab; // get rid of table itself in reset()
95 tab = NULL; in reset()
143 db_index_entry_p * oldtab = tab; in grow()
161 if ((tab = (db_index_entry_p*) in grow()
164 tab = oldtab; // restore previous table info in grow()
173 oldtab[i]->relocate(tab, table_size); in grow()
195 if (index_value == NULL || table_size == 0 || tab == NULL) { in lookup()
202 db_index_entry_p fst = tab[bucket ]; in lookup()
236 if (table_size == 0 || tab == NULL) { in remove()
244 fst = tab[bucket]; in remove()
247 else if (fst->remove(&tab[bucket], case_insens, hval, index_value, in remove()
276 if (tab == NULL) grow(); in add()
281 fst = tab[bucket]; in add()
284 recnum, tab[bucket])) == NULL) { in add()
290 tab[bucket] = newbucket; in add()
291 } else if (fst->add(&tab[bucket], case_insens, in add()
350 tab = NULL; in db_index()
356 tab = NULL; in db_index()
385 if (tab != NULL) { in print()
387 if (tab[i] != NULL) in print()
388 tab[i]->print_all(); in print()
407 tab = orig->tab; in move_xdr_db_index()
408 orig->tab = NULL; in move_xdr_db_index()