Searched refs:SOCKET_ERROR (Results 1 - 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/base/
H A Dmacasyncsocket.cc88 if (err == SOCKET_ERROR) error_ = errno;
113 return SOCKET_ERROR;
131 return SOCKET_ERROR;
139 if (result != SOCKET_ERROR) {
154 return SOCKET_ERROR;
159 if (sent == SOCKET_ERROR) {
175 return SOCKET_ERROR;
183 if (sent == SOCKET_ERROR) {
194 if (received == SOCKET_ERROR) error_ = errno;
211 } else if (received == SOCKET_ERROR) {
[all...]
H A Dwin32socketserver.cc255 return SOCKET_ERROR;
259 return SOCKET_ERROR;
265 return SOCKET_ERROR;
308 return SOCKET_ERROR;
322 return SOCKET_ERROR;
346 return SOCKET_ERROR;
357 return SOCKET_ERROR;
360 return SOCKET_ERROR;
369 if (result != SOCKET_ERROR) {
379 return SOCKET_ERROR;
[all...]
H A Dnethelpers.cc144 } while (ret == SOCKET_ERROR && err == WSAENOBUFS);
146 if (ret == SOCKET_ERROR) {
H A Dopenssladapter.cc475 return SOCKET_ERROR;
482 return SOCKET_ERROR;
516 return SOCKET_ERROR;
528 return SOCKET_ERROR;
542 return SOCKET_ERROR;
549 return SOCKET_ERROR;
583 return SOCKET_ERROR;
598 return SOCKET_ERROR;
H A Dsslsocketfactory.cc44 return SOCKET_ERROR;
52 return SOCKET_ERROR;
H A Dhttpserver.cc245 return SOCKET_ERROR;
249 if ((listener_->Bind(address) != SOCKET_ERROR) &&
250 (listener_->Listen(5) != SOCKET_ERROR))
H A Dsocket.h117 #define SOCKET_ERROR (-1) macro
/external/autotest/client/tests/kvm/deps/
H A Dfinish.cpp80 if (result == SOCKET_ERROR)
85 if (result == SOCKET_ERROR)
125 if (iSendResult == SOCKET_ERROR) {
134 if (iResult == SOCKET_ERROR) {
/external/dbus/dbus/
H A Ddbus-sockets-win.h45 #define DBUS_SOCKET_API_RETURNS_ERROR(n) ((n) == SOCKET_ERROR)
H A Ddbus-sysdeps-win.c210 if (bytes_read == SOCKET_ERROR)
270 if (bytes_written == SOCKET_ERROR)
305 if (closesocket (fd) == SOCKET_ERROR)
355 if (ioctlsocket (handle, FIONBIO, &one) == SOCKET_ERROR)
437 if (rc == SOCKET_ERROR)
833 if (bind (temp, (struct sockaddr *)&saddr, sizeof (saddr)) == SOCKET_ERROR)
839 if (listen (temp, 1) == SOCKET_ERROR)
846 if (getsockname (temp, (struct sockaddr *)&saddr, &len) == SOCKET_ERROR)
859 if (connect (socket1, (struct sockaddr *)&saddr, len) == SOCKET_ERROR)
875 if (ioctlsocket (socket1, FIONBIO, &arg) == SOCKET_ERROR)
[all...]
/external/webrtc/webrtc/examples/peerconnection/server/
H A Ddata_socket.h26 #ifndef SOCKET_ERROR
27 #define SOCKET_ERROR (-1) macro
H A Ddata_socket.cc90 if (bytes == SOCKET_ERROR || bytes == 0) {
119 SOCKET_ERROR;
276 sizeof(addr)) == SOCKET_ERROR) {
280 return listen(socket_, 5) != SOCKET_ERROR;
H A Dmain.cc91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) {
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket_posix.h26 #define SOCKET_ERROR -1 macro
H A Dudp_socket_posix.cc156 if(retVal == SOCKET_ERROR)
215 case SOCKET_ERROR:
H A Dudp_socket2_win.cc171 if( nRet == SOCKET_ERROR )
177 "UdpSocket2Windows::UdpSocket2Windows(), SOCKET_ERROR,\
400 if( retVal == SOCKET_ERROR )
409 if(retVal == 0 || (retVal == SOCKET_ERROR && error == ERROR_IO_PENDING))
600 if( nRet == SOCKET_ERROR)
798 if (result == SOCKET_ERROR)
1362 if(closesocket(_socket) == SOCKET_ERROR)
/external/webrtc/webrtc/p2p/base/
H A Dtcpport.cc208 return SOCKET_ERROR;
217 return SOCKET_ERROR; // TODO(tbd): Set error_
236 return SOCKET_ERROR;
244 return SOCKET_ERROR;
335 return SOCKET_ERROR;
344 return SOCKET_ERROR;
352 return SOCKET_ERROR;
/external/netperf/src/
H A Dnetlib.h360 /* SOCKET_ERROR == -1 */
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))
H A Dnettest_sdp.c155 &sock_opt_len) == SOCKET_ERROR) {
585 if (shutdown(send_socket,SHUT_WR) == SOCKET_ERROR) {
1297 if (shutdown(recv_socket,SHUT_WR) == SOCKET_ERROR) {
1726 if (listen(s_listen, 5) == SOCKET_ERROR) {
1739 &addrlen) == SOCKET_ERROR){
1818 if (len == SOCKET_ERROR )
1853 if (shutdown(s_data,SHUT_WR) == SOCKET_ERROR) {
2063 if (listen(s_listen, 5) == SOCKET_ERROR) {
2076 &addrlen) == SOCKET_ERROR){
2198 if (shutdown(s_data,SHUT_WR) == SOCKET_ERROR) {
[all...]
H A Dnettest_unix.c825 sizeof(myaddr_un)) == SOCKET_ERROR) {
872 if (listen(s_listen, 5) == SOCKET_ERROR) {
884 &addrlen) == SOCKET_ERROR){
958 if (len == SOCKET_ERROR) {
990 if (shutdown(s_data,1) == SOCKET_ERROR) {
1305 0)) == SOCKET_ERROR) {
2053 sizeof(myaddr_un)) == SOCKET_ERROR) {
2118 if ((len == SOCKET_ERROR) && (errno != EINTR)) {
2423 sizeof(myaddr_un)) == SOCKET_ERROR) {
2556 if (shutdown(send_socket,1) == SOCKET_ERROR) {
[all...]
H A Dnetserver.c509 sizeof(on)) == SOCKET_ERROR) {
523 local_res_temp->ai_addrlen) != SOCKET_ERROR) &&
524 (listen(temp_socket,1024) != SOCKET_ERROR)) {
1461 &namelen) == SOCKET_ERROR) {
1512 if ( WSAStartup(MAKEWORD(2,2), &wsa_data) == SOCKET_ERROR ){
H A Dnettest_bsd.c597 &sock_opt_len) == SOCKET_ERROR) {
620 sock_opt_len) == SOCKET_ERROR) && (debug)) {
1136 (const char *)&my_tos,sizeof(my_tos)) == SOCKET_ERROR) {
1162 (const char *)&my_tos,sizeof(my_tos)) == SOCKET_ERROR) {
1260 sizeof(int)) == SOCKET_ERROR) {
1275 sizeof(int)) == SOCKET_ERROR) {
1334 sizeof(one)) == SOCKET_ERROR) {
1365 sizeof(one)) == SOCKET_ERROR) {
1467 sizeof(one)) == SOCKET_ERROR) {
1482 sizeof(int)) == SOCKET_ERROR) {
[all...]
H A Dnetperf.c117 if ( WSAStartup(MAKEWORD(2,2), &wsa_data) == SOCKET_ERROR ){
/external/tpm2/
H A DTcpServer.c70 if(res==SOCKET_ERROR)
77 if(res==SOCKET_ERROR)
196 if(serverSocket == SOCKET_ERROR)
269 if(serverSocket ==SOCKET_ERROR)
/external/fio/os/windows/
H A Dposix.c402 if (status == SOCKET_ERROR) {
717 if (len == SOCKET_ERROR)
771 if (rc != SOCKET_ERROR) {
900 INT status = SOCKET_ERROR;
927 if (status != SOCKET_ERROR)
939 INT status = SOCKET_ERROR;
956 if (status != SOCKET_ERROR)
964 if (status != SOCKET_ERROR)
968 if (status == SOCKET_ERROR) {

Completed in 1850 milliseconds

123