Lines Matching refs:elt
23 typedef struct elt {
27 LINK(struct elt) link;
93 elt_t *elt, *nelt;
100 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
101 nelt = NEXT(elt, link);
103 (symtab->undefine_action)(elt->key,
104 elt->type,
105 elt->value,
107 isc_mem_put(symtab->mctx, elt, sizeof(*elt));
165 elt_t *elt;
170 FIND(symtab, key, type, bucket, elt);
172 if (elt == NULL)
176 *value = elt->value;
200 elt_t *elt, *nelt;
202 for (elt = HEAD(symtab->table[i]); elt != NULL; elt = nelt) {
205 nelt = NEXT(elt, link);
207 UNLINK(symtab->table[i], elt, link);
208 hv = hash(elt->key, symtab->case_sensitive);
209 APPEND(newtable[hv % newsize], elt, link);
226 elt_t *elt;
232 FIND(symtab, key, type, bucket, elt);
234 if (exists_policy != isc_symexists_add && elt != NULL) {
238 UNLINK(symtab->table[bucket], elt, link);
240 (symtab->undefine_action)(elt->key, elt->type,
241 elt->value,
244 elt = (elt_t *)isc_mem_get(symtab->mctx, sizeof(*elt));
245 if (elt == NULL)
247 ISC_LINK_INIT(elt, link);
258 DE_CONST(key, elt->key);
259 elt->type = type;
260 elt->value = value;
265 PREPEND(symtab->table[bucket], elt, link);
276 elt_t *elt;
281 FIND(symtab, key, type, bucket, elt);
283 if (elt == NULL)
287 (symtab->undefine_action)(elt->key, elt->type,
288 elt->value, symtab->undefine_arg);
289 UNLINK(symtab->table[bucket], elt, link);
290 isc_mem_put(symtab->mctx, elt, sizeof(*elt));