Lines Matching refs:sentinel
333 addrinfo sentinel = {}; in android_getaddrinfofornetcontext() local
334 addrinfo* cur = &sentinel; in android_getaddrinfofornetcontext()
387 if (sentinel.ai_next) break; in android_getaddrinfofornetcontext()
402 freeaddrinfo(sentinel.ai_next); in android_getaddrinfofornetcontext()
405 *res = sentinel.ai_next; in android_getaddrinfofornetcontext()
429 addrinfo sentinel = {}; in resolv_getaddrinfo() local
430 addrinfo* cur = &sentinel; in resolv_getaddrinfo()
453 if ((*res = sentinel.ai_next)) return 0; in resolv_getaddrinfo()
456 freeaddrinfo(sentinel.ai_next); in resolv_getaddrinfo()
504 struct addrinfo sentinel; in explore_null() local
514 sentinel.ai_next = NULL; in explore_null()
515 cur = &sentinel; in explore_null()
544 *res = sentinel.ai_next; in explore_null()
548 freeaddrinfo(sentinel.ai_next); in explore_null()
559 struct addrinfo sentinel; in explore_numeric() local
569 sentinel.ai_next = NULL; in explore_numeric()
570 cur = &sentinel; in explore_numeric()
592 freeaddrinfo(sentinel.ai_next); in explore_numeric()
601 *res = sentinel.ai_next; in explore_numeric()
605 freeaddrinfo(sentinel.ai_next); in explore_numeric()
843 struct addrinfo sentinel = {}; in getanswer() local
861 cur = &sentinel; in getanswer()
1016 (void) get_canonname(pai, sentinel.ai_next, qname); in getanswer()
1018 (void) get_canonname(pai, sentinel.ai_next, canonname); in getanswer()
1020 return sentinel.ai_next; in getanswer()
1450 addrinfo sentinel = {}; in dns_getaddrinfo() local
1451 addrinfo* cur = &sentinel; in dns_getaddrinfo()
1461 if (sentinel.ai_next == NULL) { in dns_getaddrinfo()
1467 _rfc6724_sort(&sentinel, netcontext->app_mark, netcontext->uid); in dns_getaddrinfo()
1469 *rv = sentinel.ai_next; in dns_getaddrinfo()
1540 struct addrinfo sentinel = {}; in getCustomHosts() local
1542 res = &sentinel; in getCustomHosts()
1552 return sentinel.ai_next; in getCustomHosts()
1557 struct addrinfo sentinel = {}; in files_getaddrinfo() local
1561 cur = &sentinel; in files_getaddrinfo()
1573 *res = sentinel.ai_next; in files_getaddrinfo()
1574 return sentinel.ai_next != nullptr; in files_getaddrinfo()