/external/curl/tests/server/ |
D | socksd.c | 397 if(sock == CURL_SOCKET_BAD) in socksconnect() 398 return CURL_SOCKET_BAD; in socksconnect() 411 return CURL_SOCKET_BAD; in socksconnect() 428 return CURL_SOCKET_BAD; in socks4() 432 return CURL_SOCKET_BAD; in socks4() 441 if(connfd == CURL_SOCKET_BAD) { in socks4() 456 return CURL_SOCKET_BAD; in socks4() 465 if(connfd != CURL_SOCKET_BAD) in socks4() 468 return CURL_SOCKET_BAD; in socks4() 481 curl_socket_t connfd = CURL_SOCKET_BAD; in sockit() [all …]
|
D | sws.c | 1308 return CURL_SOCKET_BAD; in connect_to() 1315 if(CURL_SOCKET_BAD == serverfd) { in connect_to() 1319 return CURL_SOCKET_BAD; in connect_to() 1340 return CURL_SOCKET_BAD; in connect_to() 1353 return CURL_SOCKET_BAD; in connect_to() 1362 return CURL_SOCKET_BAD; in connect_to() 1368 return CURL_SOCKET_BAD; in connect_to() 1376 return CURL_SOCKET_BAD; in connect_to() 1407 curl_socket_t serverfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() 1408 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() [all …]
|
D | sockfilt.c | 920 curl_socket_t sockfd = CURL_SOCKET_BAD; in juggle() 967 if(CURL_SOCKET_BAD == sockfd) { in juggle() 986 if(CURL_SOCKET_BAD != sockfd) { in juggle() 1003 sockfd = CURL_SOCKET_BAD; in juggle() 1117 if(sockfd != CURL_SOCKET_BAD) { in juggle() 1120 *sockfdp = CURL_SOCKET_BAD; in juggle() 1133 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle() 1139 if(CURL_SOCKET_BAD == newfd) { in juggle() 1177 *sockfdp = CURL_SOCKET_BAD; in juggle() 1219 return CURL_SOCKET_BAD; in sockdaemon() [all …]
|
D | tftpd.c | 200 static curl_socket_t peer = CURL_SOCKET_BAD; 674 curl_socket_t sock = CURL_SOCKET_BAD; in main() 772 if(CURL_SOCKET_BAD == sock) { in main() 852 if(CURL_SOCKET_BAD == peer) { in main() 867 if(CURL_SOCKET_BAD == peer) { in main() 891 peer = CURL_SOCKET_BAD; in main() 915 if((peer != sock) && (peer != CURL_SOCKET_BAD)) in main() 918 if(sock != CURL_SOCKET_BAD) in main()
|
D | rtspd.c | 1187 curl_socket_t sock = CURL_SOCKET_BAD; in main() 1188 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() 1291 if(CURL_SOCKET_BAD == sock) { in main() 1357 if(CURL_SOCKET_BAD == msgsock) { in main() 1438 msgsock = CURL_SOCKET_BAD; in main() 1451 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1454 if(sock != CURL_SOCKET_BAD) in main()
|
D | resolve.c | 114 if(s == CURL_SOCKET_BAD) in main()
|
/external/curl/lib/ |
D | select.c | 172 if((readfd0 == CURL_SOCKET_BAD) && (readfd1 == CURL_SOCKET_BAD) && in Curl_socket_check() 173 (writefd == CURL_SOCKET_BAD)) { in Curl_socket_check() 192 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 198 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() 204 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check() 239 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 246 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() 253 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check() 268 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 274 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() [all …]
|
D | select.h | 80 Curl_socket_check(x, CURL_SOCKET_BAD, CURL_SOCKET_BAD, (time_t)z) 82 Curl_socket_check(CURL_SOCKET_BAD, CURL_SOCKET_BAD, x, (time_t)z)
|
D | socketpair.c | 70 if(listener == CURL_SOCKET_BAD) in Curl_socketpair() 78 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_socketpair() 90 if(socks[0] == CURL_SOCKET_BAD) in Curl_socketpair() 95 if(socks[1] == CURL_SOCKET_BAD) in Curl_socketpair()
|
D | connect.c | 572 conn->tempsock[tempindex] = CURL_SOCKET_BAD; in trynextip() 612 if(fd_to_close != CURL_SOCKET_BAD) in trynextip() 839 if(conn->tempsock[i] == CURL_SOCKET_BAD) in Curl_is_connected() 853 conn->tempsock[i] = CURL_SOCKET_BAD; in Curl_is_connected() 892 conn->tempsock[i] = CURL_SOCKET_BAD; in Curl_is_connected() 898 if(conn->tempsock[other] != CURL_SOCKET_BAD) { in Curl_is_connected() 900 conn->tempsock[other] = CURL_SOCKET_BAD; in Curl_is_connected() 947 conn->tempsock[other] == CURL_SOCKET_BAD) in Curl_is_connected() 1111 *sockp = CURL_SOCKET_BAD; in singleipconnect() 1310 conn->tempsock[0] = CURL_SOCKET_BAD; in Curl_connecthost() [all …]
|
D | curl_ntlm_wb.c | 81 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD) { in Curl_http_auth_cleanup_ntlm_wb() 83 conn->ntlm_auth_hlpr_socket = CURL_SOCKET_BAD; in Curl_http_auth_cleanup_ntlm_wb() 132 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD || in ntlm_wb_init()
|
D | memdebug.c | 347 return CURL_SOCKET_BAD; in curl_dbg_socket() 351 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_socket() 420 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_accept()
|
D | asyn-thread.c | 211 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in destroy_thread_sync_data() 251 tsd->sock_pair[0] = CURL_SOCKET_BAD; in init_thread_sync_data() 252 tsd->sock_pair[1] = CURL_SOCKET_BAD; in init_thread_sync_data() 328 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in getaddrinfo_thread()
|
D | pingpong.c | 113 rc = Curl_socket_check(pp->sendleft?CURL_SOCKET_BAD:sock, /* reading */ in Curl_pp_statemach() 114 CURL_SOCKET_BAD, in Curl_pp_statemach() 115 pp->sendleft?sock:CURL_SOCKET_BAD, /* writing */ in Curl_pp_statemach()
|
D | transfer.c | 1210 fd_read = CURL_SOCKET_BAD; in Curl_readwrite() 1215 fd_write = CURL_SOCKET_BAD; in Curl_readwrite() 1224 select_res = Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write, 0); in Curl_readwrite() 1372 DEBUGASSERT(conn->sockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1388 DEBUGASSERT(conn->writesockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1829 ((writesockindex == -1 ? CURL_SOCKET_BAD : conn->sock[writesockindex])) : in Curl_setup_transfer() 1835 CURL_SOCKET_BAD : conn->sock[sockindex]; in Curl_setup_transfer() 1837 CURL_SOCKET_BAD:conn->sock[writesockindex]; in Curl_setup_transfer()
|
D | multi.c | 207 if(s != CURL_SOCKET_BAD) { in sh_getentry() 833 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in waitconnect_getsock() 976 curl_socket_t s = CURL_SOCKET_BAD; in curl_multi_fdset() 986 if(s == CURL_SOCKET_BAD) in curl_multi_fdset() 1034 curl_socket_t s = CURL_SOCKET_BAD; in Curl_multi_wait() 1044 if(s == CURL_SOCKET_BAD) { in Curl_multi_wait() 1084 curl_socket_t s = CURL_SOCKET_BAD; in Curl_multi_wait() 1098 if(s == CURL_SOCKET_BAD) { in Curl_multi_wait() 1875 if((data->conn->sockfd != CURL_SOCKET_BAD) || in multi_runsingle() 1876 (data->conn->writesockfd != CURL_SOCKET_BAD)) in multi_runsingle() [all …]
|
D | url.c | 650 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data() 657 psnd->bindsock = CURL_SOCKET_BAD; /* used only for DEBUGASSERT */ in conn_reset_postponed_data() 664 DEBUGASSERT(psnd->bindsock == CURL_SOCKET_BAD); in conn_reset_postponed_data() 696 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) in conn_shutdown() 698 if(CURL_SOCKET_BAD != conn->sock[FIRSTSOCKET]) in conn_shutdown() 700 if(CURL_SOCKET_BAD != conn->tempsock[0]) in conn_shutdown() 702 if(CURL_SOCKET_BAD != conn->tempsock[1]) in conn_shutdown() 1112 if((check->sock[FIRSTSOCKET] == CURL_SOCKET_BAD) || in ConnectionExists() 1548 conn->sock[FIRSTSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn() 1549 conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn() [all …]
|
D | hostip6.c | 74 if(s == CURL_SOCKET_BAD) in Curl_ipv6works()
|
D | sendf.c | 155 const int readymask = Curl_socket_check(sockfd, CURL_SOCKET_BAD, in pre_receive_plain() 156 CURL_SOCKET_BAD, 0); in pre_receive_plain() 214 psnd->bindsock = CURL_SOCKET_BAD; in get_pre_recved()
|
/external/curl/tests/libtest/ |
D | libntlmconnect.c | 60 sock = CURL_SOCKET_BAD; in callback() 64 if(sock != CURL_SOCKET_BAD) { in callback() 66 if(sockets[idx] == CURL_SOCKET_BAD) { in callback() 107 sockets[i] = CURL_SOCKET_BAD; in test()
|
D | lib1530.c | 35 return CURL_SOCKET_BAD; in opensocket()
|
/external/curl/lib/vtls/ |
D | mesalink.c | 540 : CURL_SOCKET_BAD; in mesalink_connect_common() 543 : CURL_SOCKET_BAD; in mesalink_connect_common() 546 readfd, CURL_SOCKET_BAD, writefd, in mesalink_connect_common()
|
D | polarssl.c | 779 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in polarssl_connect_common() 781 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in polarssl_connect_common() 783 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in polarssl_connect_common()
|
/external/curl/docs/examples/ |
D | externalsocket.c | 117 if(sockfd == CURL_SOCKET_BAD) { in main()
|
/external/google-breakpad/src/third_party/curl/ |
D | multi.h | 225 #define CURL_SOCKET_TIMEOUT CURL_SOCKET_BAD
|