Lines Matching refs:serv
212 char host[NI_MAXHOST] = "", serv[NI_MAXSERV] = "";
220 host, sizeof(host), serv, sizeof(serv),
234 /* VMS getnameinfo() has a bug, it doesn't fill in serv, which
236 * However, we initialise serv with the empty string (serv[0]
240 if (serv[0] == '\0') {
241 BIO_snprintf(serv, sizeof(serv), "%d",
248 *service = OPENSSL_strdup(serv);
254 char serv[6]; /* port is 16 bits => max 5 decimal digits */
255 BIO_snprintf(serv, sizeof(serv), "%d", ntohs(ap->s_in.sin_port));
256 *service = OPENSSL_strdup(serv);