Home
last modified time | relevance | path

Searched refs:port_value (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/
Dsocket_spec.cpp83 int port_value; in parse_tcp_socket_spec() local
87 if (android::base::ParseInt(&spec[4], &port_value)) { in parse_tcp_socket_spec()
90 if (port_value < 0 || port_value > 65535) { in parse_tcp_socket_spec()
91 *error = StringPrintf("bad port number '%d'", port_value); in parse_tcp_socket_spec()
96 port_value = -1; in parse_tcp_socket_spec()
100 if (!android::base::ParseNetAddress(addr, &hostname_value, &port_value, serial, error)) { in parse_tcp_socket_spec()
104 if (port_value == -1) { in parse_tcp_socket_spec()
116 *port = port_value; in parse_tcp_socket_spec()
157 int port_value = port ? *port : 0; in socket_spec_connect() local
158 if (!parse_tcp_socket_spec(address, &hostname, &port_value, serial, error)) { in socket_spec_connect()
[all …]