Lines Matching refs:np
130 db_index_entry_p np, next_np, *hp;
132 for (np = this; np != NULL; np = next_np) {
133 next_np = np->next;
134 hp = &new_tab[np->hashval % hashsize];
135 np->next = *hp;
136 *hp = np;
145 db_index_entry_p np;
147 for (np = this; np != NULL; np = np->next) {
148 if ((np->hashval == hval) &&
149 (np->key->equal(i, casein)) && l == location) {
154 if (np != NULL)
155 return (np->next);
168 db_index_entry_p np;
170 for (np = this; np != NULL; np = np->next) {
171 if (np->hashval == hval && np->key->equal(i, casein) &&
172 np->location == recnum) {
176 if (np) np->next_result = NULL; /* should only be 1 */
177 return (np);
235 db_index_entry_p np, dp;
238 for (dp = np = this; np != NULL; np = np->next) {
239 if (np->hashval == hval && np->key->equal(i, casein) &&
240 np->location == recnum) {
243 dp = np;
247 if (np == NULL) return FALSE; // cannot delete if it is not there
249 if (dp == np) {
250 *head = np->next; // deleting head of bucket
252 dp->next = np->next; // deleting interior link
254 delete np;
335 db_index_entry *np;
336 for (np = this; np != NULL; np = np->next) {
337 np->print();
345 db_index_entry *np;
346 for (np = this; np != NULL; np = np->next_result) {
347 np->print();