• Home
  • Raw
  • Download

Lines Matching refs:ai_next

208         struct addrinfo* next = ai->ai_next;  in freeaddrinfo()
283 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in validateHints()
374 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
376 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
380 while (cur->ai_next) cur = cur->ai_next; in android_getaddrinfofornetcontext()
386 if (sentinel.ai_next) break; in android_getaddrinfofornetcontext()
401 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
404 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
446 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
448 while (cur->ai_next) cur = cur->ai_next; in resolv_getaddrinfo()
452 if ((*res = sentinel.ai_next)) return 0; in resolv_getaddrinfo()
455 freeaddrinfo(sentinel.ai_next); in resolv_getaddrinfo()
483 for (addrinfo* cur = result; cur; cur = cur->ai_next) { in explore_fqdn()
513 sentinel.ai_next = NULL; in explore_null()
535 GET_AI(cur->ai_next, afd, afd->a_addrany); in explore_null()
536 GET_PORT(cur->ai_next, servname); in explore_null()
538 GET_AI(cur->ai_next, afd, afd->a_loopback); in explore_null()
539 GET_PORT(cur->ai_next, servname); in explore_null()
541 cur = cur->ai_next; in explore_null()
543 *res = sentinel.ai_next; in explore_null()
547 freeaddrinfo(sentinel.ai_next); in explore_null()
568 sentinel.ai_next = NULL; in explore_numeric()
581 GET_AI(cur->ai_next, afd, pton); in explore_numeric()
582 GET_PORT(cur->ai_next, servname); in explore_numeric()
589 error = get_canonname(pai, cur->ai_next, canonname); in explore_numeric()
591 freeaddrinfo(sentinel.ai_next); in explore_numeric()
595 while (cur->ai_next) cur = cur->ai_next; in explore_numeric()
600 *res = sentinel.ai_next; in explore_numeric()
604 freeaddrinfo(sentinel.ai_next); in explore_numeric()
653 for (cur = *res; cur; cur = cur->ai_next) { in explore_numeric_scope()
1003 cur->ai_next = get_ai(&ai, afd, (const char*) cp); in getanswer()
1004 if (cur->ai_next == NULL) had_error++; in getanswer()
1005 while (cur && cur->ai_next) cur = cur->ai_next; in getanswer()
1015 (void) get_canonname(pai, sentinel.ai_next, qname); in getanswer()
1017 (void) get_canonname(pai, sentinel.ai_next, canonname); in getanswer()
1019 return sentinel.ai_next; in getanswer()
1352 cur = list_sentinel->ai_next; in _rfc6724_sort()
1355 cur = cur->ai_next; in _rfc6724_sort()
1367 for (i = 0, cur = list_sentinel->ai_next; i < nelem; ++i, cur = cur->ai_next) { in _rfc6724_sort()
1383 list_sentinel->ai_next = elems[0].ai; in _rfc6724_sort()
1385 elems[i].ai->ai_next = elems[i + 1].ai; in _rfc6724_sort()
1387 elems[nelem - 1].ai->ai_next = NULL; in _rfc6724_sort()
1452 cur->ai_next = ai; in dns_getaddrinfo()
1453 while (cur && cur->ai_next) cur = cur->ai_next; in dns_getaddrinfo()
1457 if (ai) cur->ai_next = ai; in dns_getaddrinfo()
1459 if (sentinel.ai_next == NULL) { in dns_getaddrinfo()
1467 *rv = sentinel.ai_next; in dns_getaddrinfo()
1522 for (res = res0; res; res = res->ai_next) { in _gethtent()
1545 res->ai_next = res0; in getCustomHosts()
1550 return sentinel.ai_next; in getCustomHosts()
1562 cur->ai_next = p; in files_getaddrinfo()
1563 while (cur && cur->ai_next) cur = cur->ai_next; in files_getaddrinfo()
1568 cur->ai_next = p; in files_getaddrinfo()
1571 *res = sentinel.ai_next; in files_getaddrinfo()
1572 return sentinel.ai_next != nullptr; in files_getaddrinfo()