Lines Matching defs:list
43 dns_element_t *list;
85 portlist->list = NULL;
96 find_port(dns_element_t *list, unsigned int len, in_port_t port) {
103 if (list[xtry].port == port)
104 return (&list[xtry]);
105 if (port > list[xtry].port) {
138 el = find_port(portlist->list, portlist->active, port);
157 if (portlist->list != NULL) {
158 memmove(el, portlist->list,
160 isc_mem_put(portlist->mctx, portlist->list,
163 portlist->list = el;
166 portlist->list[portlist->active].port = port;
168 portlist->list[portlist->active].flags = DNS_PL_INET;
170 portlist->list[portlist->active].flags = DNS_PL_INET6;
172 qsort(portlist->list, portlist->active, sizeof(*el), compare);
188 el = find_port(portlist->list, portlist->active, port);
195 *el = portlist->list[portlist->active];
197 qsort(portlist->list, portlist->active,
214 el = find_port(portlist->list, portlist->active, port);
249 if (portlist->list != NULL)
250 isc_mem_put(portlist->mctx, portlist->list,
252 sizeof(*portlist->list));