Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
Dpeer_connection_client.cc174 bool PeerConnectionClient::SendToPeer(int peer_id, const std::string& message) { in SendToPeer() argument
180 if (!is_connected() || peer_id == -1) in SendToPeer()
189 my_id_, peer_id, message.length()); in SendToPeer()
195 bool PeerConnectionClient::SendHangUp(int peer_id) { in SendHangUp() argument
196 return SendToPeer(peer_id, kByeMessage); in SendHangUp()
272 void PeerConnectionClient::OnMessageFromPeer(int peer_id, in OnMessageFromPeer() argument
276 callback_->OnPeerDisconnected(peer_id); in OnMessageFromPeer()
278 callback_->OnMessageFromPeer(peer_id, message); in OnMessageFromPeer()
352 size_t peer_id = 0, eoh = 0; in OnRead() local
353 bool ok = ParseServerResponse(control_data_, content_length, &peer_id, in OnRead()
[all …]
Dpeer_connection_client.h47 virtual void OnPeerDisconnected(int peer_id) = 0;
48 virtual void OnMessageFromPeer(int peer_id, const std::string& message) = 0;
80 bool SendToPeer(int peer_id, const std::string& message);
81 bool SendHangUp(int peer_id);
96 void OnMessageFromPeer(int peer_id, const std::string& message);
120 size_t* peer_id, size_t* eoh);
Dconductor.cc213 void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { in OnMessageFromPeer() argument
214 ASSERT(peer_id_ == peer_id || peer_id_ == -1); in OnMessageFromPeer()
219 peer_id_ = peer_id; in OnMessageFromPeer()
226 } else if (peer_id != peer_id_) { in OnMessageFromPeer()
315 void Conductor::ConnectToPeer(int peer_id) { in ConnectToPeer() argument
317 ASSERT(peer_id != -1); in ConnectToPeer()
326 peer_id_ = peer_id; in ConnectToPeer()
Dconductor.h104 virtual void OnMessageFromPeer(int peer_id, const std::string& message);
118 virtual void ConnectToPeer(int peer_id);
Dmain_wnd.cc325 LRESULT peer_id = ::SendMessage(listbox_, LB_GETITEMDATA, sel, 0); in OnDefaultAction() local
326 if (peer_id != -1 && callback_) { in OnDefaultAction()
327 callback_->ConnectToPeer(peer_id); in OnDefaultAction()
Dmain_wnd.h47 virtual void ConnectToPeer(int peer_id) = 0;
/external/chromium_org/ui/views/controls/webview/
Dwebview.h118 virtual void OnChannelConnected(int32 peer_id) OVERRIDE {} in OnChannelConnected() argument
/external/chromium/net/socket/
Dssl_client_socket_mac.cc867 std::string peer_id(host_and_port_.ToString()); in InitializeSSLContext() local
868 peer_id += std::string(reinterpret_cast<char*>(ai->ai_addr), in InitializeSSLContext()
872 status = SSLSetPeerID(ssl_context_, peer_id.data(), peer_id.length()); in InitializeSSLContext()
Dssl_client_socket_nss.cc1036 std::string peer_id = host_and_port_.ToString(); in InitializeSSLPeerName() local
1037 SECStatus rv = SSL_SetSockPeerID(nss_fd_, const_cast<char*>(peer_id.c_str())); in InitializeSSLPeerName()
1039 LogFailedNSSFunction(net_log_, "SSL_SetSockPeerID", peer_id.c_str()); in InitializeSSLPeerName()
/external/openssh/
Djpake.c424 const u_char *peer_id, u_int peer_id_len, in jpake_check_confirm() argument
433 jpake_confirm_hash(k, peer_id, peer_id_len, sess_id, sess_id_len, in jpake_check_confirm()
Dmonitor_wrap.c1428 const u_char *peer_id, u_int peer_id_len, in mm_jpake_check_confirm() argument
/external/chromium_org/net/socket/
Dssl_client_socket_nss.cc3331 std::string peer_id = host_and_port_.ToString(); in InitializeSSLPeerName() local
3337 peer_id += "/" + ssl_session_cache_shard_; in InitializeSSLPeerName()
3339 SECStatus rv = SSL_SetSockPeerID(nss_fd_, const_cast<char*>(peer_id.c_str())); in InitializeSSLPeerName()
3341 LogFailedNSSFunction(net_log_, "SSL_SetSockPeerID", peer_id.c_str()); in InitializeSSLPeerName()
/external/chromium_org/content/browser/renderer_host/
Drender_message_filter.cc368 void RenderMessageFilter::OnChannelConnected(int32 peer_id) { in OnChannelConnected() argument