Home
last modified time | relevance | path

Searched refs:numserv (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetnameinfo.c117 char numserv[512]; local
147 sprintf(numserv, "%d", ntohs(port));
148 if (strlen(numserv) > servlen)
150 strcpy(serv, numserv);
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnameinfo.c187 char numserv[512]; in getnameinfo_inet() local
242 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet()
243 if (strlen(numserv) + 1 > servlen) in getnameinfo_inet()
245 strlcpy(serv, numserv, servlen); in getnameinfo_inet()