Home
last modified time | relevance | path

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

/external/chromium_org/tools/android/forwarder2/
Dcommand.cc61 StringPiece port_str(command_buffer, kPortStringSize); in ReadCommand() local
62 if (!StringToInt(port_str, port_out)) { in ReadCommand()
64 << port_str; in ReadCommand()
/external/chromium_org/net/http/
Dhttp_stream_factory.cc110 const std::string port_str = base::IntToString(endpoint->port()); in ApplyHostMappingRules() local
111 replacements.SetPort(port_str.c_str(), url::Component(0, port_str.size())); in ApplyHostMappingRules()
/external/chromium_org/remoting/signaling/
Djingle_info_request.cc75 std::string port_str = server->Attr(buzz::QN_JINGLE_INFO_UDP); in OnResponse() local
76 if (host != buzz::STR_EMPTY && port_str != buzz::STR_EMPTY) { in OnResponse()
78 if (!base::StringToInt(port_str, &port)) { in OnResponse()
/external/chromium_org/third_party/boringssl/src/crypto/bio/
Dsocket_helper.c39 const char *port_str) { in bio_ip_and_port_to_socket_and_addr() argument
49 ret = getaddrinfo(hostname, port_str, &hint, &result); in bio_ip_and_port_to_socket_and_addr()
Dinternal.h86 const char *port_str);
Dconnect.c523 int BIO_set_conn_port(BIO *bio, const char *port_str) { in BIO_set_conn_port() argument
524 return BIO_ctrl(bio, BIO_C_SET_CONNECT, 1, (void*) port_str); in BIO_set_conn_port()
/external/chromium_org/sync/tools/testserver/
Drun_sync_testserver.cc62 std::string port_str = command_line->GetSwitchValueASCII(switch_name); in GetPortFromSwitch() local
63 if (!base::StringToInt(port_str, &port_int)) { in GetPortFromSwitch()
/external/lldb/source/Core/
DConnectionFileDescriptor.cpp53 std::string &port_str, in DecodeHostAndPort() argument
62 regex_match.GetMatchAtIndex (host_and_port, 2, port_str)) in DecodeHostAndPort()
64 port = Args::StringToSInt32 (port_str.c_str(), INT32_MIN); in DecodeHostAndPort()
74 port_str.clear(); in DecodeHostAndPort()
1272 std::string port_str; in ConnectTCP() local
1274 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr)) in ConnectTCP()
1347 std::string port_str; in ConnectUDP() local
1349 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr)) in ConnectUDP()
1388 int err = ::getaddrinfo (host_str.c_str(), port_str.c_str(), &hints, &service_info_list); in ConnectUDP()
1394 port_str.c_str(), in ConnectUDP()
/external/chromium_org/storage/common/database/
Ddatabase_identifier.cc87 base::StringPiece port_str(identifier.begin() + last_underscore + 1, in Parse() local
90 if (!base::StringToInt(port_str, &port) || port < 0 || port >= 1 << 16) in Parse()
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc214 std::string port_str = base::IntToString(port); in SetURL() local
215 replacements.SetPort(port_str.c_str(), url::Component(0, port_str.length())); in SetURL()
/external/chromium_org/content/shell/browser/
Dshell_devtools_delegate.cc103 std::string port_str = in CreateSocketFactory() local
105 if (base::StringToInt(port_str, &temp_port) && in CreateSocketFactory()
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_channel_api.cc286 const std::string& port_str = path.substr(colon + 1); in ParseChannelUrl() local
287 VLOG(2) << "IP: " << ip_address_str << " Port: " << port_str; in ParseChannelUrl()
289 if (!base::StringToInt(port_str, &port)) in ParseChannelUrl()
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
Dmain_wnd.cc342 std::string port_str(GetWindowText(edit2_)); in OnDefaultAction() local
343 int port = port_str.length() ? atoi(port_str.c_str()) : 0; in OnDefaultAction()
/external/opencv/
Dcvjni.cpp46 jstring port_str, in Java_org_siprop_opencv_OpenCV_createSocketCapture() argument
55 const char *port_chars = env->GetStringUTFChars(port_str, 0); in Java_org_siprop_opencv_OpenCV_createSocketCapture()
64 env->ReleaseStringUTFChars(port_str, port_chars); in Java_org_siprop_opencv_OpenCV_createSocketCapture()
Dcvjni.h70 jstring port_str,
/external/chromium_org/remoting/protocol/
Djingle_messages.cc54 const std::string& port_str = element->Attr(QName(kEmptyNamespace, "port")); in ParseCandidate() local
70 if (name.empty() || address.empty() || !base::StringToInt(port_str, &port) || in ParseCandidate()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dbio.h550 OPENSSL_EXPORT int BIO_set_conn_port(BIO *bio, const char *port_str);
/external/chromium_org/chrome/browser/
Dchrome_browser_main.cc482 std::string port_str = in LaunchDevToolsHandlerIfNeeded() local
485 if (base::StringToInt(port_str, &port) && port >= 0 && port < 65535) { in LaunchDevToolsHandlerIfNeeded()
/external/qemu/net/
Dnet.c782 static void net_slirp_redir_rm(Monitor *mon, const char *port_str) in net_slirp_redir_rm() argument
786 const char *p = port_str; in net_slirp_redir_rm()
793 if (!port_str || !port_str[0]) in net_slirp_redir_rm()
Dnet-android.c885 static void net_slirp_redir_rm(Monitor *mon, const char *port_str) in net_slirp_redir_rm() argument
889 const char *p = port_str; in net_slirp_redir_rm()
896 if (!port_str || !port_str[0]) in net_slirp_redir_rm()