Searched refs:portname (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | file.c | 1078 *portname; /* Port "name" (number or service) */ in cupsFileOpen() local 1129 if ((portname = strrchr(hostname, ':')) != NULL) in cupsFileOpen() 1130 *portname++ = '\0'; in cupsFileOpen() 1138 if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) in cupsFileOpen()
|
/external/libevent/ |
D | http.c | 3680 char *hostname = NULL, *portname = NULL; in evhttp_get_request_connection() local 3682 name_from_addr(sa, salen, &hostname, &portname); in evhttp_get_request_connection() 3683 if (hostname == NULL || portname == NULL) { in evhttp_get_request_connection() 3685 if (portname) mm_free(portname); in evhttp_get_request_connection() 3690 __func__, hostname, portname, EV_SOCK_ARG(fd))); in evhttp_get_request_connection() 3694 http->base, NULL, hostname, atoi(portname)); in evhttp_get_request_connection() 3696 mm_free(portname); in evhttp_get_request_connection()
|