/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, z) 82 Curl_socket_check(CURL_SOCKET_BAD, CURL_SOCKET_BAD, x, z)
|
D | connect.c | 565 conn->tempsock[tempindex] = CURL_SOCKET_BAD; in trynextip() 605 if(fd_to_close != CURL_SOCKET_BAD) in trynextip() 770 if(conn->tempsock[i] == CURL_SOCKET_BAD) in Curl_is_connected() 805 conn->tempsock[i] = CURL_SOCKET_BAD; in Curl_is_connected() 811 if(conn->tempsock[other] != CURL_SOCKET_BAD) { in Curl_is_connected() 813 conn->tempsock[other] = CURL_SOCKET_BAD; in Curl_is_connected() 857 || conn->tempsock[other] == CURL_SOCKET_BAD) in Curl_is_connected() 1013 *sockp = CURL_SOCKET_BAD; in singleipconnect() 1202 conn->tempsock[0] = CURL_SOCKET_BAD; in Curl_connecthost() 1203 conn->tempsock[1] = CURL_SOCKET_BAD; in Curl_connecthost() [all …]
|
D | curl_ntlm_wb.c | 79 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD) { in Curl_ntlm_wb_cleanup() 81 conn->ntlm_auth_hlpr_socket = CURL_SOCKET_BAD; in Curl_ntlm_wb_cleanup() 130 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD || in ntlm_wb_init()
|
D | memdebug.c | 348 return CURL_SOCKET_BAD; in curl_dbg_socket() 352 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_socket() 421 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_accept()
|
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 | 1269 fd_read = CURL_SOCKET_BAD; in Curl_readwrite() 1274 fd_write = CURL_SOCKET_BAD; in Curl_readwrite() 1283 select_res = Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write, 0); in Curl_readwrite() 1437 DEBUGASSERT(conn->sockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1453 DEBUGASSERT(conn->writesockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1890 ((writesockindex == -1 ? CURL_SOCKET_BAD : conn->sock[writesockindex])) : in Curl_setup_transfer() 1896 CURL_SOCKET_BAD : conn->sock[sockindex]; in Curl_setup_transfer() 1898 CURL_SOCKET_BAD:conn->sock[writesockindex]; in Curl_setup_transfer()
|
D | multi.c | 214 if(s != CURL_SOCKET_BAD) in sh_getentry() 844 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in waitconnect_getsock() 968 curl_socket_t s = CURL_SOCKET_BAD; in curl_multi_fdset() 978 if(s == CURL_SOCKET_BAD) in curl_multi_fdset() 1029 curl_socket_t s = CURL_SOCKET_BAD; in Curl_multi_wait() 1039 if(s == CURL_SOCKET_BAD) { in Curl_multi_wait() 1079 curl_socket_t s = CURL_SOCKET_BAD; in Curl_multi_wait() 1093 if(s == CURL_SOCKET_BAD) { in Curl_multi_wait() 1757 if((data->conn->sockfd != CURL_SOCKET_BAD) || in multi_runsingle() 1758 (data->conn->writesockfd != CURL_SOCKET_BAD)) in multi_runsingle() [all …]
|
D | url.c | 642 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data() 649 psnd->bindsock = CURL_SOCKET_BAD; /* used only for DEBUGASSERT */ in conn_reset_postponed_data() 656 DEBUGASSERT(psnd->bindsock == CURL_SOCKET_BAD); in conn_reset_postponed_data() 688 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) in conn_shutdown() 690 if(CURL_SOCKET_BAD != conn->sock[FIRSTSOCKET]) in conn_shutdown() 692 if(CURL_SOCKET_BAD != conn->tempsock[0]) in conn_shutdown() 694 if(CURL_SOCKET_BAD != conn->tempsock[1]) in conn_shutdown() 1205 if((check->sock[FIRSTSOCKET] == CURL_SOCKET_BAD) || in ConnectionExists() 1845 conn->sock[FIRSTSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn() 1846 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()
|
D | if2ip.c | 202 if(CURL_SOCKET_BAD == dummy) in Curl_if2ip()
|
/external/curl/tests/server/ |
D | sws.c | 1369 return CURL_SOCKET_BAD; in connect_to() 1376 if(CURL_SOCKET_BAD == serverfd) { in connect_to() 1380 return CURL_SOCKET_BAD; in connect_to() 1401 return CURL_SOCKET_BAD; in connect_to() 1414 return CURL_SOCKET_BAD; in connect_to() 1423 return CURL_SOCKET_BAD; in connect_to() 1429 return CURL_SOCKET_BAD; in connect_to() 1437 return CURL_SOCKET_BAD; in connect_to() 1468 curl_socket_t serverfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() 1469 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/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 | 504 : CURL_SOCKET_BAD; in mesalink_connect_common() 507 : CURL_SOCKET_BAD; in mesalink_connect_common() 510 readfd, CURL_SOCKET_BAD, writefd, nonblocking ? 0 : timeout_ms); in mesalink_connect_common()
|
D | cyassl.c | 864 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in cyassl_connect_common() 866 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in cyassl_connect_common() 868 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in cyassl_connect_common()
|
D | polarssl.c | 776 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in polarssl_connect_common() 778 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in polarssl_connect_common() 780 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in polarssl_connect_common()
|
D | mbedtls.c | 929 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in mbed_connect_common() 931 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in mbed_connect_common() 933 what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd, in mbed_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
|