Home
last modified time | relevance | path

Searched refs:naddrttls (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares__addrinfo2hostent.c207 size_t *naddrttls) in ares__addrinfo2addrttl() argument
217 if (ai == NULL || naddrttls == NULL) { in ares__addrinfo2addrttl()
233 *naddrttls = 0; in ares__addrinfo2addrttl()
248 if (*naddrttls >= req_naddrttls) { in ares__addrinfo2addrttl()
254 addr6ttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl()
256 addr6ttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl()
260 &addr6ttls[*naddrttls].ip6addr, in ares__addrinfo2addrttl()
265 addrttls[*naddrttls].ttl = cname_ttl; in ares__addrinfo2addrttl()
267 addrttls[*naddrttls].ttl = next->ai_ttl; in ares__addrinfo2addrttl()
270 &addrttls[*naddrttls].ipaddr, in ares__addrinfo2addrttl()
[all …]
Dares_parse_aaaa_reply.c58 int *naddrttls) in ares_parse_aaaa_reply() argument
69 if (naddrttls) { in ares_parse_aaaa_reply()
70 req_naddrttls = (size_t)*naddrttls; in ares_parse_aaaa_reply()
71 *naddrttls = 0; in ares_parse_aaaa_reply()
92 *naddrttls = (int)temp_naddrttls; in ares_parse_aaaa_reply()
Dares_parse_a_reply.c56 int *naddrttls) in ares_parse_a_reply() argument
67 if (naddrttls) { in ares_parse_a_reply()
68 req_naddrttls = (size_t)*naddrttls; in ares_parse_a_reply()
69 *naddrttls = 0; in ares_parse_a_reply()
90 *naddrttls = (int)temp_naddrttls; in ares_parse_a_reply()
Dares_private.h441 size_t *naddrttls);
/third_party/node/src/
Dcares_wrap.cc193 size_t naddrttls) { in AddrTTLToArray() argument
194 MaybeStackBuffer<Local<Value>, 8> ttls(naddrttls); in AddrTTLToArray()
195 for (size_t i = 0; i < naddrttls; i++) in AddrTTLToArray()
198 return Array::New(env->isolate(), ttls.out(), naddrttls); in AddrTTLToArray()
208 int* naddrttls = nullptr) { in ParseGeneralReply() argument
221 naddrttls); in ParseGeneralReply()
228 naddrttls); in ParseGeneralReply()
909 int naddrttls = arraysize(addrttls); in Parse() local
918 &naddrttls); in Parse()
924 CHECK_EQ(static_cast<uint32_t>(naddrttls), a_count); in Parse()
[all …]
/third_party/cares/include/
Dares.h649 int *naddrttls);
655 int *naddrttls);
/third_party/node/deps/cares/include/
Dares.h681 int *naddrttls);
686 int *naddrttls);
/third_party/node/deps/cares/
DCHANGES2965 - ares_parse_{a,aaaa}_reply could return larger *naddrttls than passed in
2968 the *naddrttls response would be larger than the actual number of elements in