Searched refs:hostlen (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getnameinfo.c | 98 socklen_t hostlen 143 socklen_t hostlen, in getnameinfo() argument 153 return getnameinfo_inet(sa, salen, host, hostlen, in getnameinfo() 156 return getnameinfo_link(sa, salen, host, hostlen, in getnameinfo() 174 socklen_t hostlen, in getnameinfo_inet() argument 286 if (host == NULL || hostlen == 0) { in getnameinfo_inet() 307 hostlen, flags)) != 0) in getnameinfo_inet() 317 if (numaddrlen + 1 > hostlen) /* don't forget terminator */ in getnameinfo_inet() 319 strlcpy(host, numaddr, hostlen); in getnameinfo_inet() 338 if (strlen(hp->h_name) + 1 > hostlen) { in getnameinfo_inet() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | getnameinfo.c | 97 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument 101 size_t hostlen; 178 if (host == NULL || hostlen == 0) { 184 if (strlen(numaddr) > hostlen) 200 if (strlen(hp->h_name) > hostlen) { 216 if (strlen(numaddr) > hostlen)
|