Searched refs:INVALID_SOCKET (Results 1 – 12 of 12) sorted by relevance
/system/core/libcutils/ |
D | socket_inaddr_any_server_windows.cpp | 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.cpp | 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()
|
D | sockets_test.cpp | 36 ASSERT_NE(INVALID_SOCKET, server); in TestConnectedSockets() 37 ASSERT_NE(INVALID_SOCKET, client); in TestConnectedSockets() 86 if (server != INVALID_SOCKET) { in TEST() 94 EXPECT_EQ(-1, socket_get_local_port(INVALID_SOCKET)); in TEST() 109 ASSERT_NE(INVALID_SOCKET, server); in TEST() 131 ASSERT_NE(INVALID_SOCKET, server); in TEST() 143 EXPECT_EQ(-1, socket_send_buffers(INVALID_SOCKET, nullptr, 0)); in TEST()
|
/system/chre/host/common/ |
D | socket_client.cc | 37 std::atomic_init(&mSockFd, INVALID_SOCKET); in SocketClient() 68 if (mSockFd != INVALID_SOCKET && shutdown(mSockFd, SHUT_RDWR) != 0) { in disconnect() 80 return (mSockFd != INVALID_SOCKET); in isConnected() 86 if (mSockFd == INVALID_SOCKET) { in sendMessage() 146 while (!mGracefulShutdown && (mSockFd != INVALID_SOCKET || reconnect())) { in receiveThread() 166 mSockFd = INVALID_SOCKET; in receiveThread() 239 if (mSockFd != INVALID_SOCKET) { in tryConnect()
|
D | socket_server.cc | 73 if (mSockFd == INVALID_SOCKET && allowSocketCreation) { in run() 80 if (mSockFd == INVALID_SOCKET) { in run()
|
/system/core/fastboot/ |
D | socket.cpp | 43 if (sock_ != INVALID_SOCKET) { in Close() 45 sock_ = INVALID_SOCKET; in Close() 89 if (sock_ == INVALID_SOCKET) { in WaitForRecv() 242 if (handler == INVALID_SOCKET) { in Accept() 252 if (sock != INVALID_SOCKET) { in NewClient() 257 if (sock != INVALID_SOCKET) { in NewClient() 272 if (sock != INVALID_SOCKET) { in NewServer() 277 if (sock != INVALID_SOCKET) { in NewServer()
|
D | socket.h | 113 cutils_socket_t sock_ = INVALID_SOCKET;
|
D | socket_mock.cpp | 33 SocketMock::SocketMock() : Socket(INVALID_SOCKET) {} in SocketMock()
|
/system/core/libcutils/include/cutils/ |
D | sockets.h | 40 #define INVALID_SOCKET (-1) macro
|
/system/core/libcutils/include_vndk/cutils/ |
D | sockets.h | 40 #define INVALID_SOCKET (-1) macro
|
/system/chre/host/common/include/chre_host/ |
D | socket_server.h | 91 int mSockFd = INVALID_SOCKET;
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 661 f->fh_socket = INVALID_SOCKET; in _fh_socket_init() 665 if (f->fh_socket != INVALID_SOCKET) { in _fh_socket_close() 671 f->fh_socket = INVALID_SOCKET; in _fh_socket_close() 821 if (s == INVALID_SOCKET) { in network_loopback_client() 871 if (s == INVALID_SOCKET) { in _network_server() 975 if (s == INVALID_SOCKET) { in network_connect() 1080 if (fh->fh_socket == INVALID_SOCKET) { in adb_socket_accept()
|