/bionic/libc/dns/net/ |
getnameinfo.c | 175 char numaddr[512]; local 293 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 296 numaddrlen = strlen(numaddr); 299 strlcpy(host, numaddr, hostlen); 358 char numaddr[512]; local 364 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL) 367 numaddrlen = strlen(numaddr); 370 strlcpy(host, numaddr, hostlen) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
getnameinfo.c | 118 char numaddr[512];
local 181 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
184 if (strlen(numaddr) > hostlen)
186 strcpy(host, numaddr);
213 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
216 if (strlen(numaddr) > hostlen)
218 strcpy(host, numaddr);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnameinfo.c | 188 char numaddr[512];
local 313 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
316 numaddrlen = strlen(numaddr);
319 strlcpy(host, numaddr, hostlen);
380 char numaddr[512];
local 386 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL)
389 numaddrlen = strlen(numaddr);
392 strlcpy(host, numaddr, hostlen); [all...] |
/external/python/cpython2/Modules/ |
getnameinfo.c | 110 char numaddr[512]; local 173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 176 if (strlen(numaddr) > hostlen) 178 strcpy(host, numaddr); 205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 208 if (strlen(numaddr) > hostlen) 210 strcpy(host, numaddr);
|
/external/python/cpython3/Modules/ |
getnameinfo.c | 110 char numaddr[512]; local 173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 176 if (strlen(numaddr) > hostlen) 178 strcpy(host, numaddr); 205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 208 if (strlen(numaddr) > hostlen) 210 strcpy(host, numaddr);
|