/system/core/libcutils/ |
socket_network_client_windows.c | 44 char port_str[16]; local 45 snprintf(port_str, sizeof(port_str), "%d", port); 46 if (getaddrinfo(host, port_str, &hints, &address) != 0 || address == NULL) {
|
socket_network_client_unix.c | 53 char port_str[16]; local 54 snprintf(port_str, sizeof(port_str), "%d", port); 57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs);
|
/system/core/base/ |
parsenetaddress.cpp | 35 std::string port_str; local 43 port_str = address.substr(address.rfind("]:") + 2); 54 port_str = pieces[1]; 65 if (sscanf(port_str.c_str(), "%d", port) != 1 || *port <= 0 || 67 *error = StringPrintf("bad port number '%s' in '%s'", port_str.c_str(),
|
/external/libvncserver/libvncclient/ |
sockets.c | 544 char port_str[8]; local 546 snprintf(port_str, 8, "%d", port); 556 if ((rv = getaddrinfo(address, port_str, &hints, &servinfo)) != 0) {
|
/external/libvncserver/libvncserver/ |
sockets.c | 899 char port_str[8]; 901 snprintf(port_str, 8, "%d", port); 908 if ((rv = getaddrinfo(iface, port_str, &hints, &servinfo)) != 0) { 972 char port_str[8]; local 974 snprintf(port_str, 8, "%d", port); 980 if ((rv = getaddrinfo(host, port_str, &hints, &servinfo)) != 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 381 char port_str[40]; local 450 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); 452 wpa_s->conf->ctrl_interface = os_strdup(port_str);
|
/system/update_engine/common/ |
http_fetcher_unittest.cc | 82 string port_str = (port ? base::StringPrintf(":%hu", port) : ""); local 83 return base::StringPrintf("http://127.0.0.1%s%s", port_str.c_str(), 157 string port_str = line.substr(listening_msg_prefix_len); local 158 port_str.resize(port_str.find('\n')); 159 EXPECT_TRUE(base::StringToUint(port_str, &port_)); [all...] |
/external/curl/tests/server/ |
sws.c | 1963 char port_str[11]; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 2843 char port_str[40], *tmp; local [all...] |
/system/core/adb/ |
sysdeps_win32.cpp | 850 char port_str[16]; local 851 snprintf(port_str, sizeof(port_str), "%d", port); 862 if (getaddrinfo(host.c_str(), port_str, &hints, &addrinfo_ptr) != 0) { 865 host.c_str(), port_str, 894 *error = android::base::StringPrintf("cannot connect to %s:%s: %s", host.c_str(), port_str, 897 port_str, error->c_str()); [all...] |