Lines Matching refs:root

75 	tab->root->accesses++;
77 last = &tab->root->last;
95 else HASH(tab->root, name, n);
104 if (!tab->root->local->compare)
109 if (tab->root->namesize)
111 register char* s3 = s1 + tab->root->namesize;
119 else if (tab->root->namesize)
121 if (!(*tab->root->local->compare)(hashname(b), name, tab->root->namesize)) goto found;
123 else if (!(*tab->root->local->compare)(hashname(b), name)) goto found;
125 tab->root->collisions++;
170 else if (!(tab->root->flags & HASH_BUCKET))
172 if (tab->root->local->free && b->value)
174 (*tab->root->local->free)(b->value);
189 if (tab->root->local->free && (tab->root->flags & HASH_BUCKET)) (*tab->root->local->free)((char*)b);
192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0);
197 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
209 else if (b->name && tab->root->namesize)
211 memcpy(b->name, value, tab->root->namesize);
231 if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, NiL, m, 0) : (char*)malloc(m)))
239 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
277 if (!tab->frozen && !(tab->flags & HASH_FIXED) && tab->buckets > tab->root->meanchain * tab->size)
306 m = tab->root->namesize ? tab->root->namesize : strlen(name) + 1;
307 if (tab->root->local->region)
309 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(tab->root->local->handle, NiL, n + m, 0)))
320 if (tab->root->local->region)
322 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(tab->root->local->handle, NiL, n, 0)))
358 if (tab->root->local->free && !(tab->root->flags & HASH_BUCKET) && b->value) (*tab->root->local->free)(b->value);
359 if (value && tab->root->local->alloc) value = (*tab->root->local->alloc)((unsigned int)integralof(value));