Lines Matching defs:addr
26 const struct message_address *addr =
30 return addr;
39 struct message_address addr;
203 const struct message_address *addr;
218 &test->addr : &test->filled_addr;
219 addr = test_parse_address(test->input, fill_missing);
220 test_assert_idx(addr != NULL && addr->next == NULL &&
221 cmp_addr(addr, test_wanted_addr), i);
225 message_address_write(str, addr);
246 addr = test_parse_address(str_c(group), fill_missing);
248 test_assert_idx(addr != NULL &&
249 cmp_addr(addr, test_wanted_addr), i);
250 if (addr != NULL)
251 addr = addr->next;
253 test_assert_idx(addr == NULL, i);
269 addr = test_parse_address(str_c(group), fill_missing);
270 test_assert(addr != NULL && cmp_addr(addr, &group_prefix));
271 addr = addr->next;
273 test_assert_idx(addr != NULL &&
274 cmp_addr(addr, test_wanted_addr), i);
275 if (addr != NULL)
276 addr = addr->next;
278 test_assert_idx(addr != NULL && addr->next == NULL &&
279 cmp_addr(addr, &group_suffix), i);
287 addr = test_parse_address(str_c(group), FALSE);
289 message_address_write(str, addr);
290 test_assert(addr != NULL && cmp_addr(addr, &group_prefix));
291 addr = addr->next;
292 test_assert(addr != NULL && addr->next == NULL &&
293 cmp_addr(addr, &group_suffix));
301 struct message_address *addr;
310 input_dup, input_len, &addr);
312 *addr_r = addr;
321 struct message_address addr;
342 const struct message_address *addr;
355 test_wanted_addr = &test->addr;
356 ret = test_parse_path(test->input, &addr);
358 test_assert_idx(addr != NULL && addr->next == NULL &&
359 cmp_addr(addr, test_wanted_addr), i);
363 message_address_write(str, addr);