Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dmacasyncsocket.cc40 state_(CS_CLOSED), in MacAsyncSocket()
111 if (state_ != CS_CLOSED) { in Connect()
275 state_ = CS_CLOSED; in Close()
329 state_(CS_CLOSED), in MacAsyncSocket()
431 this_socket->state_ = CS_CLOSED; in MacAsyncSocketCallBack()
458 this_socket->state_ = CS_CLOSED; in MacAsyncSocketCallBack()
Dsocket_unittest.cc200 EXPECT_EQ(AsyncSocket::CS_CLOSED, client->GetState()); in ConnectInternal()
317 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal()
351 WAIT_(client->GetState() == AsyncSocket::CS_CLOSED, kTimeout, in ConnectWithDnsLookupFailInternal()
359 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal()
380 EXPECT_EQ(AsyncSocket::CS_CLOSED, client->GetState()); in ConnectWithClosedSocketInternal()
453 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseDuringConnectInternal()
488 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, accepted->GetState(), kTimeout); in ClientCloseDuringConnectInternal()
530 EXPECT_EQ(AsyncSocket::CS_CLOSED, accepted->GetState()); in ServerCloseInternal()
543 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ServerCloseInternal()
604 EXPECT_EQ(AsyncSocket::CS_CLOSED, accepted->GetState()); in CloseInClosedCallbackInternal()
[all …]
Dvirtualsocket_unittest.cc249 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in ConnectTest()
335 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in ConnectToNonListenerTest()
369 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in CloseDuringConnectTest()
391 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in CloseDuringConnectTest()
423 EXPECT_EQ(accepted->GetState(), AsyncSocket::CS_CLOSED); in CloseDuringConnectTest()
469 EXPECT_EQ(a->GetState(), AsyncSocket::CS_CLOSED); in CloseTest()
474 EXPECT_EQ(b->GetState(), AsyncSocket::CS_CLOSED); in CloseTest()
751 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in CrossFamilyConnectionTest()
781 EXPECT_EQ(client->GetState(), AsyncSocket::CS_CLOSED); in CrossFamilyConnectionTest()
Dwin32socketserver.cc230 : socket_(INVALID_SOCKET), error_(0), state_(CS_CLOSED), connect_time_(0), in Win32Socket()
320 if (state_ != CS_CLOSED) { in Connect()
511 state_ = CS_CLOSED; in Close()
634 state_ = CS_CLOSED; in OnSocketNotify()
671 state_ = CS_CLOSED; in OnSocketNotify()
Dssladapter_unittest.cc118 if (socket->GetState() != rtc::AsyncSocket::CS_CLOSED) { in OnSSLAdapterCloseEvent()
289 ASSERT_EQ(rtc::AsyncSocket::CS_CLOSED, client_->GetState()); in TestHandshake()
312 EXPECT_EQ_WAIT(rtc::AsyncSocket::CS_CLOSED, client_->GetState(), in TestHandshake()
Dsocketstream.cc54 case Socket::CS_CLOSED: in GetState()
Dvirtualsocketserver.cc104 state_(CS_CLOSED), in VirtualSocket()
234 state_ = CS_CLOSED; in Close()
313 ASSERT(CS_CLOSED == state_); in Listen()
414 if (CS_CLOSED != state_) { in OnMessage()
416 state_ = CS_CLOSED; in OnMessage()
Dphysicalsocketserver.cc101 state_((s == INVALID_SOCKET) ? CS_CLOSED : CS_CONNECTED), in PhysicalSocket()
183 if (state_ != CS_CLOSED) { in Connect()
395 state_ = CS_CLOSED; in Close()
620 state_ = CS_CLOSED; in CheckSignalClose()
683 state_ = CS_CLOSED; in OnPreEvent()
Dphysicalsocketserver_unittest.cc134 EXPECT_EQ(AsyncSocket::CS_CLOSED, client1->GetState()); in ConnectInternalAcceptError()
140 EXPECT_EQ(AsyncSocket::CS_CLOSED, client2->GetState()); in ConnectInternalAcceptError()
Dsocket.h164 CS_CLOSED, enumerator
Dsslsocketfactory.cc74 return detect_ ? CS_CONNECTING : CS_CLOSED; in GetState()
Dasynctcpsocket.cc95 case Socket::CS_CLOSED: in GetState()
Dsocketadapters.cc297 return CS_CLOSED; in GetState()
553 return CS_CLOSED; in GetState()
Dnatsocketfactory.cc223 return connected_ ? CS_CONNECTED : CS_CLOSED; in GetState()
Dtestutils.h319 return (Socket::CS_CLOSED == socket_->GetState()); in IsClosed()
/external/webrtc/webrtc/examples/peerconnection/client/
Dpeer_connection_client.cc162 ASSERT(control_socket_->GetState() == rtc::Socket::CS_CLOSED); in SendToPeer()
184 control_socket_->GetState() != rtc::Socket::CS_CLOSED; in IsSendingMessage()
191 if (hanging_get_->GetState() != rtc::Socket::CS_CLOSED) in SignOut()
194 if (control_socket_->GetState() == rtc::Socket::CS_CLOSED) { in SignOut()
228 ASSERT(control_socket_->GetState() == rtc::Socket::CS_CLOSED); in ConnectControlSocket()
376 ASSERT(hanging_get_->GetState() == rtc::Socket::CS_CLOSED); in OnRead()
420 if (hanging_get_->GetState() == rtc::Socket::CS_CLOSED && in OnHangingGetRead()