Lines Matching defs:port_name
815 const char* port_name = strchr(host_and_port, ':');
816 if (port_name != NULL) {
817 int to_copy = MIN(sizeof(host_name)-1, port_name - host_and_port);
822 port_name++;
827 port_name = host_and_port;
829 // Make sure that port_name is not empty.
830 if (port_name[0] == '\0') {
833 return sock_address_list_create(actual_host_name, port_name, flags);