/external/chromium_org/extensions/browser/api/sockets_udp/ |
sockets_udp_api.cc | 202 int net_result = socket->Bind(params_->address, params_->port); local 203 if (net_result == net::OK) { 208 if (net_result != net::OK) 209 error_ = net::ErrorToString(net_result); 210 results_ = sockets_udp::Bind::Results::Create(net_result); 268 void SocketsUdpSendFunction::OnCompleted(int net_result) { 269 if (net_result >= net::OK) { 270 SetSendResult(net::OK, net_result); 272 SetSendResult(net_result, -1); 276 void SocketsUdpSendFunction::SetSendResult(int net_result, int bytes_sent) 384 int net_result = socket->JoinGroup(params_->address); local 416 int net_result = socket->LeaveGroup(params_->address); local 442 int net_result = socket->SetMulticastTimeToLive(params_->ttl); local 468 int net_result = socket->SetMulticastLoopbackMode(params_->enabled); local [all...] |
sockets_udp_api.h | 124 void OnCompleted(int net_result); 125 void SetSendResult(int net_result, int bytes_sent);
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_tcp_server_socket_message_filter.cc | 138 int net_result = socket_->Accept( local 144 if (net_result != net::ERR_IO_PENDING) 145 OnAcceptCompleted(reply_context, net_result); 177 int net_result = net::OK; local 180 net_result = socket_->Open(ip_end_point.GetFamily()); 181 if (net_result != net::OK) 183 net_result = socket_->SetDefaultOptionsForServer(); 184 if (net_result != net::OK) 186 net_result = socket_->Bind(ip_end_point); 187 if (net_result != net::OK [all...] |
pepper_tcp_socket.cc | 90 int net_result = resolver_->Resolve( local 96 if (net_result != net::ERR_IO_PENDING) 97 OnResolveCompleted(net_result); 160 int net_result = socket_->Connect(base::Bind( local 162 if (net_result != net::ERR_IO_PENDING) 163 OnSSLHandshakeCompleted(net_result); 186 int net_result = socket_->Read( local 190 if (net_result != net::ERR_IO_PENDING) 191 OnReadCompleted(net_result); 254 int net_result = net::OK local 285 int net_result = socket_->Connect( local 532 int net_result = socket_->Write( local [all...] |
pepper_tcp_socket_message_filter.cc | 308 int net_result = ssl_socket_->Connect( local 312 if (net_result != net::ERR_IO_PENDING) 313 OnSSLHandshakeCompleted(reply_context, net_result); 334 int net_result = net::ERR_FAILED; local 337 net_result = 345 net_result = ssl_socket_->Read( 352 if (net_result != net::ERR_IO_PENDING) 353 OnReadCompleted(reply_context, net_result); 424 int net_result = socket_->Accept( local 430 if (net_result != net::ERR_IO_PENDING 476 int net_result = net::ERR_UNEXPECTED; local 578 int net_result = resolver_->Resolve( local 626 int net_result = net::ERR_FAILED; local 693 int net_result = net::OK; local [all...] |
pepper_udp_socket_message_filter.cc | 141 int net_result = net::ERR_UNEXPECTED; local 147 net_result = socket_->SetSendBufferSize(integer_value); 153 net_result = socket_->SetReceiveBufferSize(integer_value); 156 return (net_result == net::OK) ? PP_OK : PP_ERROR_FAILED; 218 int net_result = socket_->RecvFrom( local 225 if (net_result != net::ERR_IO_PENDING) 226 OnRecvFromCompleted(context->MakeReplyMessageContext(), net_result); 356 int net_result = socket_->SendTo( local 363 if (net_result != net::ERR_IO_PENDING) 364 OnSendToCompleted(context, net_result); [all...] |
pepper_tcp_server_socket_message_filter.h | 73 int net_result); 75 int net_result);
|
pepper_tcp_socket_message_filter.h | 114 int net_result); 118 int net_result); 120 int net_result); 122 int net_result); 124 int net_result); 126 int net_result);
|
pepper_udp_socket_message_filter.h | 86 int net_result); 88 int net_result);
|
pepper_host_resolver_message_filter.h | 69 void OnLookupFinished(int net_result,
|
pepper_host_resolver_message_filter.cc | 185 int net_result, 188 if (net_result != net::OK) { 189 SendResolveError(NetErrorToPepperError(net_result), context);
|
/external/chromium_org/extensions/browser/api/sockets_tcp/ |
sockets_tcp_api.cc | 208 int net_result = (success ? net::OK : net::ERR_FAILED); local 209 if (net_result != net::OK) 210 error_ = net::ErrorToString(net_result); 211 results_ = sockets_tcp::SetKeepAlive::Results::Create(net_result); 232 int net_result = (success ? net::OK : net::ERR_FAILED); local 233 if (net_result != net::OK) 234 error_ = net::ErrorToString(net_result); 235 results_ = sockets_tcp::SetNoDelay::Results::Create(net_result); 297 void SocketsTcpConnectFunction::OnCompleted(int net_result) { 298 if (net_result == net::OK) [all...] |
sockets_tcp_api.h | 148 void OnCompleted(int net_result); 185 void OnCompleted(int net_result); 186 void SetSendResult(int net_result, int bytes_sent);
|
/external/chromium_org/extensions/browser/api/sockets_tcp_server/ |
sockets_tcp_server_api.cc | 193 int net_result = socket->Listen( local 199 if (net_result != net::OK) 200 error_ = net::ErrorToString(net_result); 202 if (net_result == net::OK) { 207 results_ = sockets_tcp_server::Listen::Results::Create(net_result);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_socket_win.cc | 221 int net_result = local 223 if (net_result != net::OK) { 225 std::string(net::ErrorToString(net_result)));
|
bluetooth_socket_chromeos.cc | 493 int net_result = tcp_socket()->AdoptConnectedSocket(fd->value(), local 495 if (net_result != net::OK) { 497 << std::string(net::ErrorToString(net_result));
|