Lines Matching defs:elt
32 typedef struct elt {
36 LINK(struct elt) link;
102 elt_t *elt, *nelt;
109 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
110 nelt = NEXT(elt, link);
112 (symtab->undefine_action)(elt->key,
113 elt->type,
114 elt->value,
116 isc_mem_put(symtab->mctx, elt, sizeof(*elt));
174 elt_t *elt;
179 FIND(symtab, key, type, bucket, elt);
181 if (elt == NULL)
185 *value = elt->value;
209 elt_t *elt, *nelt;
211 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
214 nelt = NEXT(elt, link);
216 UNLINK(symtab->table[i], elt, link);
217 hv = hash(elt->key, symtab->case_sensitive);
218 APPEND(newtable[hv % newsize], elt, link);
235 elt_t *elt;
241 FIND(symtab, key, type, bucket, elt);
243 if (exists_policy != isc_symexists_add && elt != NULL) {
247 UNLINK(symtab->table[bucket], elt, link);
249 (symtab->undefine_action)(elt->key, elt->type,
250 elt->value,
253 elt = (elt_t *)isc_mem_get(symtab->mctx, sizeof(*elt));
254 if (elt == NULL)
256 ISC_LINK_INIT(elt, link);
267 DE_CONST(key, elt->key);
268 elt->type = type;
269 elt->value = value;
274 PREPEND(symtab->table[bucket], elt, link);
285 elt_t *elt;
290 FIND(symtab, key, type, bucket, elt);
292 if (elt == NULL)
296 (symtab->undefine_action)(elt->key, elt->type,
297 elt->value, symtab->undefine_arg);
298 UNLINK(symtab->table[bucket], elt, link);
299 isc_mem_put(symtab->mctx, elt, sizeof(*elt));