Lines Matching defs:tail
110 struct ares_addrinfo_cname *tail = ares_malloc_zero(sizeof(*tail));
113 if (tail == NULL) {
118 *head = tail;
119 return tail;
126 last->next = tail;
127 return tail;
131 struct ares_addrinfo_cname *tail)
135 *head = tail;
143 last->next = tail;
146 /* Allocate new addrinfo and append to the tail. */
150 struct ares_addrinfo_node *tail = ares_malloc_zero(sizeof(*tail));
153 if (tail == NULL) {
158 *head = tail;
159 return tail;
166 last->ai_next = tail;
167 return tail;
171 struct ares_addrinfo_node *tail)
175 *head = tail;
183 last->ai_next = tail;