Searched refs:naddrs (Results 1 – 8 of 8) sorted by relevance
/glibc-2.36/posix/ |
D | tst-rfc3484-3.c | 86 #define naddrs (sizeof (addrs) / sizeof (addrs[0])) macro 87 static struct addrinfo ais[naddrs]; 88 static struct sort_result results[naddrs]; 89 static size_t order[naddrs]; 91 static const int expected[naddrs] = 128 for (int i = 0; i < naddrs; ++i) in do_test() 143 struct sort_result_combo combo = { .results = results, .nresults = naddrs }; in do_test() 144 qsort_r (order, naddrs, sizeof (order[0]), rfc3484_sort, &combo); in do_test() 147 for (int i = 0; i < naddrs; ++i) in do_test()
|
D | tst-rfc3484.c | 87 #define naddrs (sizeof (addrs) / sizeof (addrs[0])) macro 88 static struct addrinfo ais[naddrs]; 89 static struct sort_result results[naddrs]; 90 static size_t order[naddrs]; 92 static int expected[naddrs] = 120 for (int i = 0; i < naddrs; ++i) in do_test() 135 struct sort_result_combo combo = { .results = results, .nresults = naddrs }; in do_test() 136 qsort_r (order, naddrs, sizeof (order[0]), rfc3484_sort, &combo); in do_test() 139 for (int i = 0; i < naddrs; ++i) in do_test()
|
/glibc-2.36/nscd/ |
D | aicache.c | 39 .naddrs = 0, 103 int naddrs = 0; in addhstaiX() local 143 ++naddrs; in addhstaiX() 155 total = sizeof (*dataset) + naddrs + addrslen + canonlen; in addhstaiX() 254 ++naddrs; in addhstaiX() 326 total = sizeof (*dataset) + naddrs + addrslen + canonlen; in addhstaiX() 370 dataset->resp.naddrs = naddrs; in addhstaiX()
|
D | nscd_getai.c | 108 size_t datalen = ai_resp.naddrs + ai_resp.addrslen + ai_resp.canonlen; in __nscd_getai() 128 resultbuf->naddrs = ai_resp.naddrs; in __nscd_getai() 132 resultbuf->canon = (char *) (resultbuf->family + resultbuf->naddrs); in __nscd_getai()
|
D | cachedumper.c | 261 (long) ai->naddrs, (long) ai->addrslen, in nscd_print_cache() 266 cp = families + ai->naddrs; in nscd_print_cache() 269 for (i = 0; i < ai->naddrs; i++) in nscd_print_cache()
|
D | nscd-client.h | 138 nscd_ssize_t naddrs; member 147 int naddrs; member
|
/glibc-2.36/sysdeps/posix/ |
D | getaddrinfo.c | 508 struct gaih_addrtuple *addrfree = calloc (air->naddrs, sizeof (*addrfree)); in get_nscd_addresses() 509 struct gaih_addrtuple *at = calloc (air->naddrs, sizeof (*at)); in get_nscd_addresses() 519 for (int i = 0; i < air->naddrs; ++i) in get_nscd_addresses() 1039 unsigned int *naddrs) in generate_addrinfo() argument 1109 ++*naddrs; in generate_addrinfo() 1117 unsigned int *naddrs, struct scratch_buffer *tmpbuf) in gaih_inet() argument 1184 result = generate_addrinfo (req, &res, st, pai, naddrs); in gaih_inet() 2373 unsigned int naddrs = 0; in getaddrinfo() local 2377 last_i = gaih_inet (name, pservice, hints, end, &naddrs, &tmpbuf); in getaddrinfo() 2394 if (naddrs > 1) in getaddrinfo()
|
/glibc-2.36/sunrpc/ |
D | pmap_rmt.c | 168 getbroadcastnets (struct in_addr *addrs, int naddrs) in libc_hidden_nolink_sunrpc() 180 while (run != NULL && i < naddrs) in libc_hidden_nolink_sunrpc()
|