/external/webrtc/webrtc/base/ |
D | macasyncsocket.cc | 88 if (err == SOCKET_ERROR) error_ = errno; in Bind() 113 return SOCKET_ERROR; in Connect() 131 return SOCKET_ERROR; in DoConnect() 139 if (result != SOCKET_ERROR) { in DoConnect() 154 return SOCKET_ERROR; in Send() 159 if (sent == SOCKET_ERROR) { in Send() 175 return SOCKET_ERROR; in SendTo() 183 if (sent == SOCKET_ERROR) { in SendTo() 194 if (received == SOCKET_ERROR) error_ = errno; in Recv() 211 } else if (received == SOCKET_ERROR) { in RecvFrom() [all …]
|
D | win32socketserver.cc | 255 return SOCKET_ERROR; in Attach() 259 return SOCKET_ERROR; in Attach() 265 return SOCKET_ERROR; in Attach() 308 return SOCKET_ERROR; in Bind() 322 return SOCKET_ERROR; in Connect() 346 return SOCKET_ERROR; in Connect() 357 return SOCKET_ERROR; in DoConnect() 360 return SOCKET_ERROR; in DoConnect() 369 if (result != SOCKET_ERROR) { in DoConnect() 379 return SOCKET_ERROR; in DoConnect() [all …]
|
D | openssladapter.cc | 475 return SOCKET_ERROR; in Send() 482 return SOCKET_ERROR; in Send() 516 return SOCKET_ERROR; in Send() 528 return SOCKET_ERROR; in SendTo() 542 return SOCKET_ERROR; in Recv() 549 return SOCKET_ERROR; in Recv() 583 return SOCKET_ERROR; in Recv() 598 return SOCKET_ERROR; in RecvFrom()
|
D | nethelpers.cc | 144 } while (ret == SOCKET_ERROR && err == WSAENOBUFS); in HasIPv6Enabled() 146 if (ret == SOCKET_ERROR) { in HasIPv6Enabled()
|
D | httpserver.cc | 245 return SOCKET_ERROR; in Listen() 249 if ((listener_->Bind(address) != SOCKET_ERROR) && in Listen() 250 (listener_->Listen(5) != SOCKET_ERROR)) in Listen()
|
D | sslsocketfactory.cc | 44 return SOCKET_ERROR; in Connect() 52 return SOCKET_ERROR; in Connect()
|
/external/webrtc/webrtc/p2p/base/ |
D | tcpport.cc | 208 return SOCKET_ERROR; in SendTo() 217 return SOCKET_ERROR; // TODO(tbd): Set error_ in SendTo() 236 return SOCKET_ERROR; in GetOption() 244 return SOCKET_ERROR; in SetOption() 335 return SOCKET_ERROR; in Send() 344 return SOCKET_ERROR; in Send() 352 return SOCKET_ERROR; in Send()
|
D | pseudotcp.cc | 423 return SOCKET_ERROR; in Recv() 433 return SOCKET_ERROR; in Recv() 457 return SOCKET_ERROR; in Send() 466 return SOCKET_ERROR; in Send()
|
/external/netperf/src/ |
D | netlib.h | 392 #define SOCKET_ERROR -1 macro 419 (((return_value) == SOCKET_ERROR) && \ 425 (((return_value) == SOCKET_ERROR) && \ 428 (((return_value) == SOCKET_ERROR) && \ 432 (((return_value) == SOCKET_ERROR) && (errno == WSAEWOULDBLOCK)) 434 (((return_value) == SOCKET_ERROR) && (errno == WSAEWOULDBLOCK))
|
D | nettest_bsd.c | 593 &sock_opt_len) == SOCKET_ERROR) { in get_tcp_info() 616 sock_opt_len) == SOCKET_ERROR) && (debug)) { in set_tcp_mss() 1130 (const char *)&my_tos,sizeof(my_tos)) == SOCKET_ERROR) { in set_socket_tos() 1156 (const char *)&my_tos,sizeof(my_tos)) == SOCKET_ERROR) { in set_socket_tos() 1253 sizeof(int)) == SOCKET_ERROR) { in create_data_socket() 1268 sizeof(int)) == SOCKET_ERROR) { in create_data_socket() 1327 sizeof(one)) == SOCKET_ERROR) { in create_data_socket() 1358 sizeof(one)) == SOCKET_ERROR) { in create_data_socket() 1460 sizeof(one)) == SOCKET_ERROR) { in create_data_socket() 1475 sizeof(int)) == SOCKET_ERROR) { in create_data_socket() [all …]
|
D | nettest_sdp.c | 153 &sock_opt_len) == SOCKET_ERROR) { in get_sdp_info() 583 if (shutdown(send_socket,SHUT_WR) == SOCKET_ERROR) { in send_sdp_stream() 1294 if (shutdown(recv_socket,SHUT_WR) == SOCKET_ERROR) { in send_sdp_maerts() 1723 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_sdp_stream() 1736 &addrlen) == SOCKET_ERROR){ in recv_sdp_stream() 1815 if (len == SOCKET_ERROR ) in recv_sdp_stream() 1850 if (shutdown(s_data,SHUT_WR) == SOCKET_ERROR) { in recv_sdp_stream() 2059 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_sdp_maerts() 2072 &addrlen) == SOCKET_ERROR){ in recv_sdp_maerts() 2194 if (shutdown(s_data,SHUT_WR) == SOCKET_ERROR) { in recv_sdp_maerts() [all …]
|
D | nettest_unix.c | 820 sizeof(myaddr_un)) == SOCKET_ERROR) { in recv_stream_stream() 867 if (listen(s_listen, 5) == SOCKET_ERROR) { in recv_stream_stream() 879 &addrlen) == SOCKET_ERROR){ in recv_stream_stream() 953 if (len == SOCKET_ERROR) { in recv_stream_stream() 985 if (shutdown(s_data,1) == SOCKET_ERROR) { in recv_stream_stream() 1299 0)) == SOCKET_ERROR) { in send_stream_rr() 2045 sizeof(myaddr_un)) == SOCKET_ERROR) { in recv_dg_stream() 2110 if ((len == SOCKET_ERROR) && (errno != EINTR)) { in recv_dg_stream() 2414 sizeof(myaddr_un)) == SOCKET_ERROR) { in send_dg_rr() 2547 if (shutdown(send_socket,1) == SOCKET_ERROR) { in send_dg_rr() [all …]
|
D | nettest_xti.c | 567 if ((addr = inet_addr(remote_host)) == SOCKET_ERROR) { in send_xti_tcp_stream() 663 if (t_bind(send_socket, NULL, NULL) == SOCKET_ERROR) { in send_xti_tcp_stream() 1390 &bind_resp) == SOCKET_ERROR) { in recv_xti_tcp_stream() 1778 if ((addr = inet_addr(remote_host)) == SOCKET_ERROR) { in send_xti_tcp_rr() 1896 if (t_bind(send_socket, NULL, NULL) == SOCKET_ERROR) { in send_xti_tcp_rr() 2109 &xti_flags)) == SOCKET_ERROR) { in send_xti_tcp_rr() 2501 if ((addr = inet_addr(remote_host)) == SOCKET_ERROR) { in send_xti_udp_stream() 2585 if (t_bind(data_socket, NULL, NULL) == SOCKET_ERROR) { in send_xti_udp_stream() 3220 &bind_resp) == SOCKET_ERROR) { in recv_xti_udp_stream() 3497 if ((addr = inet_addr(remote_host)) == SOCKET_ERROR) { in send_xti_udp_rr() [all …]
|
D | netserver.c | 509 sizeof(on)) == SOCKET_ERROR) { in create_listens() 523 local_res_temp->ai_addrlen) != SOCKET_ERROR) && in create_listens() 524 (listen(temp_socket,1024) != SOCKET_ERROR)) { in create_listens() 1461 &namelen) == SOCKET_ERROR) { in check_if_inetd() 1512 if ( WSAStartup(MAKEWORD(2,2), &wsa_data) == SOCKET_ERROR ){ in main()
|
D | netperf.c | 117 if ( WSAStartup(MAKEWORD(2,2), &wsa_data) == SOCKET_ERROR ){ in main()
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.cc | 90 if (bytes == SOCKET_ERROR || bytes == 0) { in OnDataAvailable() 119 SOCKET_ERROR; in Send() 276 sizeof(addr)) == SOCKET_ERROR) { in Listen() 280 return listen(socket_, 5) != SOCKET_ERROR; in Listen()
|
D | data_socket.h | 26 #ifndef SOCKET_ERROR 27 #define SOCKET_ERROR (-1) macro
|
D | main.cc | 91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) { in main()
|
/external/fio/os/windows/ |
D | posix.c | 463 if (status == SOCKET_ERROR) { in fcntl() 779 if (len == SOCKET_ERROR) in writev() 833 if (rc != SOCKET_ERROR) { in poll() 962 INT status = SOCKET_ERROR; in inet_ntop() 989 if (status != SOCKET_ERROR) in inet_ntop() 1001 INT status = SOCKET_ERROR; in inet_pton() 1018 if (status != SOCKET_ERROR) in inet_pton() 1026 if (status != SOCKET_ERROR) in inet_pton() 1030 if (status == SOCKET_ERROR) { in inet_pton()
|
/external/tpm2/ |
D | TcpServer.c | 70 if(res==SOCKET_ERROR) in CreateSocket() 77 if(res==SOCKET_ERROR) in CreateSocket() 196 if(serverSocket == SOCKET_ERROR) in PlatformSvcRoutine() 269 if(serverSocket ==SOCKET_ERROR) in RegularCommandService()
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_posix.cc | 156 if(retVal == SOCKET_ERROR) in SendTo() 215 case SOCKET_ERROR: in HasIncoming()
|
D | udp_socket_posix.h | 26 #define SOCKET_ERROR -1 macro
|
D | udp_socket2_win.cc | 171 if( nRet == SOCKET_ERROR ) in UdpSocket2Windows() 400 if( retVal == SOCKET_ERROR ) in SendTo() 409 if(retVal == 0 || (retVal == SOCKET_ERROR && error == ERROR_IO_PENDING)) in SendTo() 600 if( nRet == SOCKET_ERROR) in PostRecv() 798 if (result == SOCKET_ERROR) in SetQos() 1362 if(closesocket(_socket) == SOCKET_ERROR) in InvalidateSocket()
|
/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/autotest/client/tests/netperf2/ |
D | wait_before_data.patch | 7 local_res_temp->ai_addrlen) != SOCKET_ERROR) && 8 - (listen (server_control,5) != SOCKET_ERROR)) { 9 + (listen (server_control, 512) != SOCKET_ERROR)) {
|