Lines Matching refs:len
71 size_t len, num, i; in _hf_gethtbyname2() local
85 if ((ptr = buf = (char*) malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2()
119 HENT_SCOPY(hent.h_name, hp->h_name, ptr, len); in _hf_gethtbyname2()
122 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], ptr, len); in _hf_gethtbyname2()
129 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr, len); in _hf_gethtbyname2()
145 len = info->buflen; in _hf_gethtbyname2()
150 HENT_ARRAY(hp->h_aliases, anum, ptr, len); in _hf_gethtbyname2()
151 HENT_ARRAY(hp->h_addr_list, num, ptr, len); in _hf_gethtbyname2()
154 HENT_COPY(hp->h_addr_list[i], addr_ptrs[i], hp->h_length, ptr, len); in _hf_gethtbyname2()
158 HENT_COPY(ptr, NAT64_PAD, sizeof(NAT64_PAD), ptr, len); in _hf_gethtbyname2()
163 HENT_SCOPY(hp->h_name, hent.h_name, ptr, len); in _hf_gethtbyname2()
166 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2()
179 int _hf_gethtbyaddr(const unsigned char* uaddr, int len, int af, getnamaddr* info) { in _hf_gethtbyaddr() argument
180 info->hp->h_length = len; in _hf_gethtbyaddr()