Searched refs:SOCKET_ERROR (Results 1 – 5 of 5) sorted by relevance
/system/core/libcutils/ |
D | socket_inaddr_any_server_windows.c | 54 sizeof(exclusive)) == SOCKET_ERROR || in socket_inaddr_any_server() 56 sizeof(v6_only)) == SOCKET_ERROR) { in socket_inaddr_any_server() 67 if (bind(sock, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in socket_inaddr_any_server() 73 if (type == SOCK_STREAM && listen(sock, LISTEN_BACKLOG) == SOCKET_ERROR) { in socket_inaddr_any_server()
|
D | sockets_windows.cpp | 81 nullptr) != SOCKET_ERROR) { in socket_send_buffers()
|
D | socket_network_client_windows.c | 61 if (connect(sock, address->ai_addr, address->ai_addrlen) == SOCKET_ERROR) { in socket_network_client()
|
/system/bt/udrv/ulinux/ |
D | uipc_linux.h | 23 #define SOCKET_ERROR (-1) macro
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 690 if (result == SOCKET_ERROR) { in adb_poll() 720 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) { in _fh_socket_close() 728 if (closesocket(f->fh_socket) == SOCKET_ERROR) { in _fh_socket_close() 746 if (result == SOCKET_ERROR) { in _fh_socket_read() 762 if (result == SOCKET_ERROR) { in _fh_socket_write() 869 if (connect(s, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in network_loopback_client() 927 … if (setsockopt(s, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (const char*)&n, sizeof(n)) == SOCKET_ERROR) { in _network_server() 936 if (bind(s, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in _network_server() 947 if (listen(s, LISTEN_BACKLOG) == SOCKET_ERROR) { in _network_server() 1030 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect() [all …]
|