Searched refs:portname (Results 1 – 7 of 7) sorted by relevance
/external/libcups/backend/ |
D | network.c | 52 char portname[32], /* Port number as string */ in backendLookup() local 62 snprintf(portname, sizeof(portname), "%d", port); in backendLookup() 67 while ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) in backendLookup()
|
/external/libpcap/ |
D | sockutils.c | 546 const char *hostname, const char *portname) in get_gai_errstring() argument 550 if (hostname != NULL && portname != NULL) in get_gai_errstring() 552 hostname, portname); in get_gai_errstring() 556 else if (portname != NULL) in get_gai_errstring() 558 portname); in get_gai_errstring()
|
/external/libcups/scheduler/ |
D | conf.c | 1709 *portname; /* Port number or name */ in get_address() local 1730 if ((portname = strrchr(buffer, ':')) != NULL && !strchr(portname, ']')) in get_address() 1732 *portname++ = '\0'; in get_address() 1737 for (portname = buffer; isdigit(*portname & 255); portname ++); in get_address() 1739 if (*portname) in get_address() 1746 portname = defpname; in get_address() 1755 portname = buffer; in get_address() 1767 if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) in get_address()
|
/external/curl/tests/server/ |
D | mqttd.c | 861 const char *portname = ".mqttd.port"; in main() local 885 portname = argv[arg++]; in main() 984 wroteportfile = write_portfile(portname, (int)port); in main()
|
D | sws.c | 1875 const char *portname = ".http.port"; in main() local 1911 portname = argv[arg++]; in main() 2194 wrotepidfile = write_portfile(portname, port); in main()
|
/external/libcups/cups/ |
D | file.c | 1080 *portname; /* Port "name" (number or service) */ in cupsFileOpen() local 1131 if ((portname = strrchr(hostname, ':')) != NULL) in cupsFileOpen() 1132 *portname++ = '\0'; in cupsFileOpen() 1140 if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portname)) == NULL) in cupsFileOpen()
|
/external/libevent/ |
D | http.c | 4229 char *hostname = NULL, *portname = NULL; in evhttp_get_request_connection() local 4239 name_from_addr(sa, salen, &hostname, &portname); in evhttp_get_request_connection() 4240 if (hostname == NULL || portname == NULL) { in evhttp_get_request_connection() 4242 if (portname) mm_free(portname); in evhttp_get_request_connection() 4247 __func__, hostname, portname, EV_SOCK_ARG(fd))); in evhttp_get_request_connection() 4254 http->base, NULL, bev, hostname, atoi(portname)); in evhttp_get_request_connection() 4256 mm_free(portname); in evhttp_get_request_connection()
|