Searched refs:resolved_port (Results 1 – 2 of 2) sorted by relevance
263 int socket_spec_listen(std::string_view spec, std::string* error, int* resolved_port) { in socket_spec_listen() argument282 if (result >= 0 && resolved_port) { in socket_spec_listen()283 *resolved_port = adb_socket_get_local_port(result); in socket_spec_listen()323 if (serverfd >= 0 && resolved_port) { in socket_spec_listen()325 *resolved_port = addr.svm_port; in socket_spec_listen()
1777 std::string resolved_port; in adb_commandline() local1778 if (ReadProtocolString(fd, &resolved_port, &error_message) && !resolved_port.empty()) { in adb_commandline()1779 printf("%s\n", resolved_port.c_str()); in adb_commandline()