/external/rust/crates/mio/src/sys/windows/ |
D | tcp.rs | 17 … closesocket, linger, setsockopt, getsockopt, getsockname, PF_INET, PF_INET6, SOCKET, SOCKET_ERROR, 43 SOCKET_ERROR in bind() 56 SOCKET_ERROR in connect() 74 syscall!(listen(socket, backlog), PartialEq::eq, SOCKET_ERROR)?; in listen() 92 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_reuseaddr() 108 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_reuseaddr() 122 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_localaddr() 158 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_linger() 174 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_linger() 195 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_recv_buffer_size() [all …]
|
D | udp.rs | 10 use winapi::um::winsock2::{bind as win_bind, closesocket, getsockopt, SOCKET_ERROR, SOCK_DGRAM}; 21 SOCKET_ERROR in bind() 46 SOCKET_ERROR in only_v6()
|
/external/webrtc/rtc_base/ |
D | win32_socket_server.cc | 238 return SOCKET_ERROR; in Attach() 242 return SOCKET_ERROR; in Attach() 248 return SOCKET_ERROR; in Attach() 291 return SOCKET_ERROR; in Bind() 304 return SOCKET_ERROR; in Connect() 328 return SOCKET_ERROR; in Connect() 339 return SOCKET_ERROR; in DoConnect() 342 return SOCKET_ERROR; in DoConnect() 350 if (result != SOCKET_ERROR) { in DoConnect() 360 return SOCKET_ERROR; in DoConnect() [all …]
|
D | openssl_adapter.cc | 501 return SOCKET_ERROR; in DoSslWrite() 515 return SOCKET_ERROR; in Send() 520 return SOCKET_ERROR; in Send() 532 return SOCKET_ERROR; in Send() 581 return SOCKET_ERROR; in SendTo() 591 return SOCKET_ERROR; in Recv() 596 return SOCKET_ERROR; in Recv() 630 return SOCKET_ERROR; in Recv() 644 return SOCKET_ERROR; in RecvFrom()
|
D | net_helpers.cc | 228 } while (ret == SOCKET_ERROR && err == WSAENOBUFS); in HasIPv6Enabled() 230 if (ret == SOCKET_ERROR) { in HasIPv6Enabled()
|
/external/tpm2-tss/src/util/ |
D | io.h | 24 #define SOCKET_ERROR - 1 macro 34 } while (__ret == SOCKET_ERROR && WSAGetLastError() == WSAEINTR); \ 41 } while (__ret == SOCKET_ERROR && errno == EINTR); \
|
D | io.c | 161 if (ret == SOCKET_ERROR) { in socket_close() 168 if (ret == SOCKET_ERROR) { in socket_close() 242 if (connect (*sock, p->ai_addr, p->ai_addrlen) != SOCKET_ERROR) in socket_connect()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | endpoint_pair_windows.cc | 51 SOCKET_ERROR); in create_sockets() 52 GPR_ASSERT(listen(lst_sock, SOMAXCONN) != SOCKET_ERROR); in create_sockets() 54 SOCKET_ERROR); in create_sockets()
|
D | tcp_server_windows.cc | 200 SOCKET_ERROR) { in prepare_socket() 205 if (listen(sock, SOMAXCONN) == SOCKET_ERROR) { in prepare_socket() 212 &sockname_temp_len) == SOCKET_ERROR) { in prepare_socket()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | endpoint_pair_windows.cc | 51 SOCKET_ERROR); in create_sockets() 52 GPR_ASSERT(listen(lst_sock, SOMAXCONN) != SOCKET_ERROR); in create_sockets() 54 SOCKET_ERROR); in create_sockets()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | net.cc | 54 if (result == SOCKET_ERROR) { in IsPortAvailable() 65 if (result == SOCKET_ERROR) { in IsPortAvailable() 74 if (result == SOCKET_ERROR) { in IsPortAvailable()
|
/external/webrtc/p2p/base/ |
D | tcp_port.cc | 212 return SOCKET_ERROR; in SendTo() 222 return SOCKET_ERROR; in SendTo() 231 return SOCKET_ERROR; in SendTo() 252 return SOCKET_ERROR; in GetOption() 260 return SOCKET_ERROR; in SetOption() 382 return SOCKET_ERROR; in Send() 391 return SOCKET_ERROR; in Send() 399 return SOCKET_ERROR; in Send()
|
/external/usrsctp/programs/ |
D | ekr_server.c | 119 if (send(*fdp, buf, (int)length, 0) == SOCKET_ERROR) { 211 if (bind(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 232 if (connect(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 291 if (closesocket(fd) == SOCKET_ERROR) {
|
D | ekr_loop_offload.c | 139 if (send(*fdp, buffer, (int)length, 0) == SOCKET_ERROR) { 354 if (bind(fd_c, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 358 if (bind(fd_s, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 373 if (connect(fd_c, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 377 if (connect(fd_s, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 539 if (closesocket(fd_c) == SOCKET_ERROR) { 543 if (closesocket(fd_s) == SOCKET_ERROR) {
|
D | ekr_client.c | 118 if (send(*fdp, buf, (int)length, 0) == SOCKET_ERROR) { 213 if (bind(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 234 if (connect(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 307 if (closesocket(fd) == SOCKET_ERROR) {
|
D | ekr_loop.c | 119 if (send(*fdp, buf, (int)length, 0) == SOCKET_ERROR) { 337 if (bind(fd_c, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 341 if (bind(fd_s, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 356 if (connect(fd_c, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 360 if (connect(fd_s, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 570 if (closesocket(fd_c) == SOCKET_ERROR) { 574 if (closesocket(fd_s) == SOCKET_ERROR) {
|
D | ekr_loop_upcall.c | 133 if (send(*fdp, buf, (int)length, 0) == SOCKET_ERROR) { 368 if (bind(fd_c, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 372 if (bind(fd_s, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 387 if (connect(fd_c, (struct sockaddr *)&sin_s, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 391 if (connect(fd_s, (struct sockaddr *)&sin_c, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 573 if (closesocket(fd_c) == SOCKET_ERROR) { 577 if (closesocket(fd_s) == SOCKET_ERROR) {
|
D | ekr_peer.c | 109 if (send(*fdp, buffer, (int)length, 0) == SOCKET_ERROR) { 208 if (bind(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 229 if (connect(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 329 if (closesocket(fd) == SOCKET_ERROR) {
|
D | st_client.c | 241 if (send(*fdp, buf, (int)length, 0) == SOCKET_ERROR) { 305 if (bind(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) { 326 if (connect(fd, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)) == SOCKET_ERROR) {
|
/external/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 91 if (bytes == SOCKET_ERROR || bytes == 0) { in OnDataAvailable() 120 SOCKET_ERROR; in Send() 279 SOCKET_ERROR) { in Listen() 283 return listen(socket_, 5) != SOCKET_ERROR; in Listen()
|
D | data_socket.h | 25 #ifndef SOCKET_ERROR 26 #define SOCKET_ERROR (-1) macro
|
/external/grpc-grpc/test/cpp/naming/ |
D | resolver_component_test.cc | 273 SOCKET_ERROR) in OpenAndCloseSocketsStressLoop() 278 ASSERT_TRUE(bind(s, (const sockaddr*)&addr, sizeof(addr)) != SOCKET_ERROR) in OpenAndCloseSocketsStressLoop() 282 ASSERT_TRUE(listen(s, 1) != SOCKET_ERROR) in OpenAndCloseSocketsStressLoop() 301 ASSERT_TRUE(closesocket(sockets[i]) != SOCKET_ERROR) in OpenAndCloseSocketsStressLoop()
|
/external/mdnsresponder/mDNSWindows/NSPTool/ |
D | NSPTool.c | 379 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ListNameSpaces() 386 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ListNameSpaces() 446 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ReorderNameSpaces() 453 err = translate_errno( n != SOCKET_ERROR, (OSStatus) GetLastError(), kUnknownErr ); in ReorderNameSpaces()
|
/external/ms-tpm-20-ref/TPMCmd/Simulator/src/ |
D | TcpServer.c | 62 # define SOCKET_ERROR (-1) macro 136 if(res == SOCKET_ERROR) in CreateSocket() 143 if(res == SOCKET_ERROR) in CreateSocket()
|
/external/libpcap/rpcapd/ |
D | rpcapd.c | 911 if (WSAEventSelect(sock_info->sock, event, FD_ACCEPT) == SOCKET_ERROR) in accept_connections() 970 events[i], &network_events) == SOCKET_ERROR) in accept_connections() 1198 if (WSAEventSelect(sockctrl, NULL, 0) == SOCKET_ERROR) in accept_connection() 1205 if (ioctlsocket(sockctrl, FIONBIO, &off) == SOCKET_ERROR) in accept_connection()
|