Searched refs:INVALID_SOCKET (Results 1 – 9 of 9) sorted by relevance
/system/core/libcutils/ |
D | socket_inaddr_any_server_windows.c | 39 return INVALID_SOCKET; in socket_inaddr_any_server() 43 if (sock == INVALID_SOCKET) { in socket_inaddr_any_server() 44 return INVALID_SOCKET; in socket_inaddr_any_server() 58 return INVALID_SOCKET; in socket_inaddr_any_server() 69 return INVALID_SOCKET; in socket_inaddr_any_server() 75 return INVALID_SOCKET; in socket_inaddr_any_server()
|
D | socket_network_client_windows.c | 35 return INVALID_SOCKET; in socket_network_client() 50 return INVALID_SOCKET; in socket_network_client() 56 if (sock == INVALID_SOCKET) { in socket_network_client() 58 return INVALID_SOCKET; in socket_network_client() 64 return INVALID_SOCKET; in socket_network_client()
|
/system/core/libcutils/tests/ |
D | sockets_test.cpp | 34 ASSERT_NE(INVALID_SOCKET, server); in TestConnectedSockets() 35 ASSERT_NE(INVALID_SOCKET, client); in TestConnectedSockets() 103 if (server != INVALID_SOCKET) { in TEST() 111 EXPECT_EQ(-1, socket_get_local_port(INVALID_SOCKET)); in TEST() 126 ASSERT_NE(INVALID_SOCKET, server); in TEST() 148 ASSERT_NE(INVALID_SOCKET, server); in TEST() 161 ASSERT_NE(INVALID_SOCKET, sock); in TEST() 171 ASSERT_NE(INVALID_SOCKET, server); in TEST() 186 EXPECT_EQ(-1, socket_send_buffers(INVALID_SOCKET, nullptr, 0)); in TEST()
|
/system/core/fastboot/ |
D | socket.cpp | 43 if (sock_ != INVALID_SOCKET) { in Close() 45 sock_ = INVALID_SOCKET; in Close() 87 if (sock_ == INVALID_SOCKET) { in WaitForRecv() 240 if (handler == INVALID_SOCKET) { in Accept() 250 if (sock != INVALID_SOCKET) { in NewClient() 255 if (sock != INVALID_SOCKET) { in NewClient() 270 if (sock != INVALID_SOCKET) { in NewServer() 275 if (sock != INVALID_SOCKET) { in NewServer()
|
D | socket.h | 114 cutils_socket_t sock_ = INVALID_SOCKET;
|
D | socket_mock.cpp | 33 SocketMock::SocketMock() : Socket(INVALID_SOCKET) {} in SocketMock()
|
/system/bt/udrv/ulinux/ |
D | uipc_linux.h | 22 #define INVALID_SOCKET (SOCKET)(-1) macro
|
/system/core/include/cutils/ |
D | sockets.h | 39 #define INVALID_SOCKET (-1) macro
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 713 f->fh_socket = INVALID_SOCKET; in _fh_socket_init() 718 if (f->fh_socket != INVALID_SOCKET) { in _fh_socket_close() 733 f->fh_socket = INVALID_SOCKET; in _fh_socket_close() 859 if (s == INVALID_SOCKET) { in network_loopback_client() 913 if (s == INVALID_SOCKET) { in _network_server() 1018 if (s == INVALID_SOCKET) { in network_connect() 1069 if (fh->fh_socket == INVALID_SOCKET) { in adb_socket_accept()
|