Lines Matching refs:tab
58 tab = NULL; in db_index()
84 if (tab != NULL) { in reset()
86 curr = tab[i]; in reset()
95 delete tab; // get rid of table itself in reset()
97 tab = NULL; in reset()
145 db_index_entry_p * oldtab = tab; in grow()
163 if ((tab = (db_index_entry_p*) in grow()
166 tab = oldtab; // restore previous table info in grow()
175 oldtab[i]->relocate(tab, table_size); in grow()
197 if (index_value == NULL || table_size == 0 || tab == NULL) { in lookup()
204 db_index_entry_p fst = tab[bucket ]; in lookup()
238 if (table_size == 0 || tab == NULL) { in remove()
246 fst = tab[bucket]; in remove()
249 else if (fst->remove(&tab[bucket], case_insens, hval, index_value, in remove()
278 if (tab == NULL) grow(); in add()
283 fst = tab[bucket]; in add()
286 recnum, tab[bucket])) == NULL) { in add()
292 tab[bucket] = newbucket; in add()
293 } else if (fst->add(&tab[bucket], case_insens, in add()
351 tab = NULL; in db_index()
357 tab = NULL; in db_index()
386 if (tab != NULL) { in print()
388 if (tab[i] != NULL) in print()
389 tab[i]->print_all(); in print()
408 tab = orig->tab; in move_xdr_db_index()
409 orig->tab = NULL; in move_xdr_db_index()