Searched refs:naddrttls (Results 1 – 10 of 10) sorted by relevance
/third_party/cares/ |
D | ares_parse_a_reply.c | 52 struct ares_addrttl *addrttls, int *naddrttls) in ares_parse_a_reply() argument 72 if (naddrttls) in ares_parse_a_reply() 74 *naddrttls = 0; in ares_parse_a_reply() 113 *naddrttls = (naddrs > *naddrttls) ? *naddrttls : naddrs; in ares_parse_a_reply() 169 if (naddrttls && i < *naddrttls) in ares_parse_a_reply() 199 if (naddrttls) in ares_parse_a_reply() 201 *naddrttls = naddrs; in ares_parse_a_reply()
|
D | ares_parse_aaaa_reply.c | 54 int *naddrttls) in ares_parse_aaaa_reply() argument 74 if (naddrttls) in ares_parse_aaaa_reply() 76 *naddrttls = 0; in ares_parse_aaaa_reply() 170 if (naddrttls && i < *naddrttls) in ares_parse_aaaa_reply() 201 if (naddrttls) in ares_parse_aaaa_reply() 204 *naddrttls = (naddrs > *naddrttls) ? *naddrttls : naddrs; in ares_parse_aaaa_reply()
|
D | ares.h | 632 int *naddrttls); 638 int *naddrttls);
|
/third_party/node/deps/cares/src/lib/ |
D | ares__addrinfo2hostent.c | 199 struct ares_addr6ttl *addr6ttls, int *naddrttls) in ares__addrinfo2addrttl() argument 208 if (ai == NULL || naddrttls == NULL) in ares__addrinfo2addrttl() 220 *naddrttls = 0; in ares__addrinfo2addrttl() 235 if (*naddrttls < req_naddrttls) in ares__addrinfo2addrttl() 240 addr6ttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl() 242 addr6ttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl() 244 memcpy(&addr6ttls[*naddrttls].ip6addr, in ares__addrinfo2addrttl() 251 addrttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl() 253 addrttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl() 254 memcpy(&addrttls[*naddrttls].ipaddr, in ares__addrinfo2addrttl() [all …]
|
D | ares_parse_aaaa_reply.c | 48 int *naddrttls) in ares_parse_aaaa_reply() argument 55 if (naddrttls) in ares_parse_aaaa_reply() 57 req_naddrttls = *naddrttls; in ares_parse_aaaa_reply() 58 *naddrttls = 0; in ares_parse_aaaa_reply() 81 addrttls, naddrttls); in ares_parse_aaaa_reply()
|
D | ares_parse_a_reply.c | 46 int *naddrttls) in ares_parse_a_reply() argument 53 if (naddrttls) in ares_parse_a_reply() 55 req_naddrttls = *naddrttls; in ares_parse_a_reply() 56 *naddrttls = 0; in ares_parse_a_reply() 79 NULL, naddrttls); in ares_parse_a_reply()
|
D | ares_private.h | 411 struct ares_addr6ttl *addr6ttls, int *naddrttls);
|
/third_party/node/src/ |
D | cares_wrap.cc | 191 size_t naddrttls) { in AddrTTLToArray() argument 192 MaybeStackBuffer<Local<Value>, 8> ttls(naddrttls); in AddrTTLToArray() 193 for (size_t i = 0; i < naddrttls; i++) in AddrTTLToArray() 196 return Array::New(env->isolate(), ttls.out(), naddrttls); in AddrTTLToArray() 206 int* naddrttls = nullptr) { in ParseGeneralReply() argument 219 naddrttls); in ParseGeneralReply() 226 naddrttls); in ParseGeneralReply() 908 int naddrttls = arraysize(addrttls); in Parse() local 917 &naddrttls); in Parse() 923 CHECK_EQ(static_cast<uint32_t>(naddrttls), a_count); in Parse() [all …]
|
/third_party/node/deps/cares/include/ |
D | ares.h | 650 int *naddrttls); 656 int *naddrttls);
|
/third_party/node/deps/cares/ |
D | CHANGES | 533 - ares_parse_{a,aaaa}_reply could return larger *naddrttls than passed in 536 the *naddrttls response would be larger than the actual number of elements in
|