/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/ |
_socket_types.h | 16 #define INVALID_SOCKET (SOCKET)(~0)
|
/system/core/libcutils/ |
socket_inaddr_any_server_windows.c | 39 return INVALID_SOCKET; 43 if (sock == INVALID_SOCKET) { 44 return INVALID_SOCKET; 58 return INVALID_SOCKET; 69 return INVALID_SOCKET; 75 return INVALID_SOCKET;
|
socket_network_client_windows.c | 35 return INVALID_SOCKET; 50 return INVALID_SOCKET; 56 if (sock == INVALID_SOCKET) { 58 return INVALID_SOCKET; 64 return INVALID_SOCKET;
|
/system/bt/udrv/ulinux/ |
uipc_linux.h | 22 #define INVALID_SOCKET (SOCKET)(-1)
|
/external/libxml2/ |
nanoftp.c | 488 ret->controlFd = INVALID_SOCKET; 515 if (ctxt->controlFd != INVALID_SOCKET) closesocket(ctxt->controlFd); 516 ctxt->controlFd = INVALID_SOCKET; 571 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); 623 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET; 624 ctxt->controlFd = INVALID_SOCKET; 652 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); 741 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); 830 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); 958 if (ctxt->controlFd == INVALID_SOCKET) { [all...] |
nanohttp.c | 103 #define INVALID_SOCKET (-1) 197 if (s != INVALID_SOCKET) { 401 ret->fd = INVALID_SOCKET; 438 if (ctxt->fd != INVALID_SOCKET) closesocket(ctxt->fd); 439 ctxt->fd = INVALID_SOCKET; 878 if (s == INVALID_SOCKET) { 883 return INVALID_SOCKET; 924 return INVALID_SOCKET; 939 return INVALID_SOCKET; 952 return INVALID_SOCKET; [all...] |
/system/core/libcutils/tests/ |
sockets_test.cpp | 34 ASSERT_NE(INVALID_SOCKET, server); 35 ASSERT_NE(INVALID_SOCKET, client); 103 if (server != INVALID_SOCKET) { 111 EXPECT_EQ(-1, socket_get_local_port(INVALID_SOCKET)); 126 ASSERT_NE(INVALID_SOCKET, server); 148 ASSERT_NE(INVALID_SOCKET, server); 161 ASSERT_NE(INVALID_SOCKET, sock); 171 ASSERT_NE(INVALID_SOCKET, server); 186 EXPECT_EQ(-1, socket_send_buffers(INVALID_SOCKET, nullptr, 0));
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
data_socket.h | 30 #ifndef INVALID_SOCKET 31 #define INVALID_SOCKET static_cast<NativeSocket>(-1) 39 SocketBase() : socket_(INVALID_SOCKET) { } 44 bool valid() const { return socket_ != INVALID_SOCKET; }
|
data_socket.cc | 61 if (socket_ != INVALID_SOCKET) { 63 socket_ = INVALID_SOCKET; 289 if (client == INVALID_SOCKET)
|
/external/autotest/client/tests/kvm/deps/ |
finish.cpp | 66 if (ListenSocket == INVALID_SOCKET) 94 SOCKET ListenSocket = INVALID_SOCKET, ClientSocket = INVALID_SOCKET; 115 if (ClientSocket == INVALID_SOCKET) {
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_wrapper.h | 30 #ifndef INVALID_SOCKET 31 #define INVALID_SOCKET (SOCKET)(~0)
|
udp_socket_posix.cc | 73 if(_socket != INVALID_SOCKET) 76 _socket = INVALID_SOCKET; 169 return _socket != INVALID_SOCKET; 257 _socket = INVALID_SOCKET; 271 if (_socket == INVALID_SOCKET)
|
udp_socket_wrapper.cc | 107 if (sl->GetFd() != INVALID_SOCKET && sl->GetFd() < FD_SETSIZE)
|
/system/core/fastboot/ |
socket.cpp | 43 if (sock_ != INVALID_SOCKET) { 45 sock_ = INVALID_SOCKET; 87 if (sock_ == INVALID_SOCKET) { 240 if (handler == INVALID_SOCKET) { 250 if (sock != INVALID_SOCKET) { 255 if (sock != INVALID_SOCKET) { 270 if (sock != INVALID_SOCKET) { 275 if (sock != INVALID_SOCKET) {
|
socket.h | 114 cutils_socket_t sock_ = INVALID_SOCKET;
|
/external/dbus/dbus/ |
dbus-sockets-win.h | 44 #define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET)
|
/external/libxml2/include/libxml/ |
nanoftp.h | 29 * INVALID_SOCKET: 34 #undef INVALID_SOCKET 35 #define INVALID_SOCKET (-1)
|
/external/webrtc/webrtc/base/ |
win32socketserver.cc | 230 : socket_(INVALID_SOCKET), error_(0), state_(CS_CLOSED), connect_time_(0), 242 if (socket_ == INVALID_SOCKET) { 253 ASSERT(socket_ == INVALID_SOCKET); 254 if (socket_ != INVALID_SOCKET) 257 ASSERT(s != INVALID_SOCKET); 258 if (s == INVALID_SOCKET) 306 ASSERT(socket_ != INVALID_SOCKET); 307 if (socket_ == INVALID_SOCKET) 356 if ((socket_ == INVALID_SOCKET) && !CreateT(addr.family(), SOCK_STREAM)) { 481 if (s == INVALID_SOCKET) [all...] |
macasyncsocket.cc | 35 native_socket_(INVALID_SOCKET), 237 if (socket_fd == INVALID_SOCKET) { 273 native_socket_ = INVALID_SOCKET; // invalidates the socket 345 if (native_socket_ == INVALID_SOCKET) {
|
physicalsocketserver.cc | 101 state_((s == INVALID_SOCKET) ? CS_CLOSED : CS_CONNECTED), 111 if (s_ != INVALID_SOCKET) { 132 return s_ != INVALID_SOCKET; 200 if ((s_ == INVALID_SOCKET) && 382 if (s == INVALID_SOCKET) 390 if (s_ == INVALID_SOCKET) 394 s_ = INVALID_SOCKET; 572 ASSERT(s_ != INVALID_SOCKET); 752 if (s_ == INVALID_SOCKET) 1103 return INVALID_SOCKET; [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.h | 39 # define dnssd_InvalidSocket INVALID_SOCKET 40 # define dnssd_SocketValid(s) ((s) != INVALID_SOCKET)
|
/system/core/include/cutils/ |
sockets.h | 39 #define INVALID_SOCKET (-1) 104 * These functions return INVALID_SOCKET (-1) on failure for all platforms.
|
/external/libmicrohttpd/src/platform/ |
w32functions.c | 574 if (INVALID_SOCKET == listen_s) 586 if (INVALID_SOCKET != client_s) 596 if (INVALID_SOCKET != server_s) 622 sockets_pair[0] = INVALID_SOCKET; 623 sockets_pair[1] = INVALID_SOCKET;
|
/external/libmicrohttpd/src/include/ |
platform.h | 183 #define MHD_INVALID_SOCKET (INVALID_SOCKET)
|
/external/netperf/src/ |
nettest_unix.c | 158 if (temp_socket == INVALID_SOCKET){ 314 if (send_socket == INVALID_SOCKET){ 432 sizeof(server)) == INVALID_SOCKET){ 806 if (s_listen == INVALID_SOCKET) { 923 &addrlen)) == INVALID_SOCKET) { [all...] |