/external/curl/lib/ |
D | select.c | 168 if((readfd0 == CURL_SOCKET_BAD) && (readfd1 == CURL_SOCKET_BAD) && in Curl_socket_check() 169 (writefd == CURL_SOCKET_BAD)) { in Curl_socket_check() 188 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 194 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() 200 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check() 234 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 241 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() 248 if(writefd != CURL_SOCKET_BAD) { in Curl_socket_check() 263 if(readfd0 != CURL_SOCKET_BAD) { in Curl_socket_check() 269 if(readfd1 != CURL_SOCKET_BAD) { in Curl_socket_check() [all …]
|
D | connect.c | 552 conn->tempsock[tempindex] = CURL_SOCKET_BAD; in trynextip() 592 if(fd_to_close != CURL_SOCKET_BAD) in trynextip() 754 if(conn->tempsock[i] == CURL_SOCKET_BAD) in Curl_is_connected() 765 rc = Curl_socket_ready(CURL_SOCKET_BAD, conn->tempsock[i], 0); in Curl_is_connected() 788 conn->tempsock[i] = CURL_SOCKET_BAD; in Curl_is_connected() 791 if(conn->tempsock[other] != CURL_SOCKET_BAD) { in Curl_is_connected() 793 conn->tempsock[other] = CURL_SOCKET_BAD; in Curl_is_connected() 836 || conn->tempsock[other] == CURL_SOCKET_BAD) in Curl_is_connected() 995 *sockp = CURL_SOCKET_BAD; in singleipconnect() 1167 conn->tempsock[0] = CURL_SOCKET_BAD; in Curl_connecthost() [all …]
|
D | http_proxy.c | 242 if(0 == Curl_socket_ready(tunnelsocket, CURL_SOCKET_BAD, 0)) in Curl_proxyCONNECT() 277 switch (Curl_socket_ready(tunnelsocket, CURL_SOCKET_BAD, in Curl_proxyCONNECT() 545 conn->sock[sockindex] = CURL_SOCKET_BAD; in Curl_proxyCONNECT() 573 conn->sock[sockindex] = CURL_SOCKET_BAD; in Curl_proxyCONNECT()
|
D | curl_ntlm_wb.c | 77 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD) { in Curl_ntlm_wb_cleanup() 79 conn->ntlm_auth_hlpr_socket = CURL_SOCKET_BAD; in Curl_ntlm_wb_cleanup() 128 if(conn->ntlm_auth_hlpr_socket != CURL_SOCKET_BAD || in ntlm_wb_init()
|
D | transfer.c | 1053 fd_read = CURL_SOCKET_BAD; in Curl_readwrite() 1058 fd_write = CURL_SOCKET_BAD; in Curl_readwrite() 1225 DEBUGASSERT(conn->sockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1241 DEBUGASSERT(conn->writesockfd != CURL_SOCKET_BAD); in Curl_single_getsock() 1935 CURL_SOCKET_BAD : conn->sock[sockindex]; in Curl_setup_transfer() 1937 CURL_SOCKET_BAD:conn->sock[writesockindex]; in Curl_setup_transfer() 1956 if(conn->sockfd != CURL_SOCKET_BAD) in Curl_setup_transfer() 1959 if(conn->writesockfd != CURL_SOCKET_BAD) { in Curl_setup_transfer()
|
D | multi.c | 179 if(s != CURL_SOCKET_BAD) in sh_getentry() 807 if(conn->tempsock[i] != CURL_SOCKET_BAD) { in waitconnect_getsock() 931 curl_socket_t s = CURL_SOCKET_BAD; in curl_multi_fdset() 941 if(s == CURL_SOCKET_BAD) in curl_multi_fdset() 990 curl_socket_t s = CURL_SOCKET_BAD; in curl_multi_wait() 1000 if(s == CURL_SOCKET_BAD) { in curl_multi_wait() 1028 curl_socket_t s = CURL_SOCKET_BAD; in curl_multi_wait() 1042 if(s == CURL_SOCKET_BAD) { in curl_multi_wait() 1778 if((data->easy_conn->sockfd != CURL_SOCKET_BAD) || in multi_runsingle() 1779 (data->easy_conn->writesockfd != CURL_SOCKET_BAD)) in multi_runsingle() [all …]
|
D | socks.c | 70 if(Curl_socket_ready(sockfd, CURL_SOCKET_BAD, timeleft) <= 0) { in Curl_blockread_all() 402 result = Curl_socket_ready(CURL_SOCKET_BAD, sock, timeout); 441 result = Curl_socket_ready(sock, CURL_SOCKET_BAD, timeout);
|
D | select.h | 80 Curl_socket_check(x, CURL_SOCKET_BAD, y, z)
|
D | memdebug.c | 351 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_socket() 391 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_accept()
|
D | gopher.c | 147 Curl_socket_ready(CURL_SOCKET_BAD, sockfd, 100); in gopher_do()
|
D | pingpong.c | 111 rc = Curl_socket_ready(pp->sendleft?CURL_SOCKET_BAD:sock, /* reading */ in Curl_pp_statemach() 112 pp->sendleft?sock:CURL_SOCKET_BAD, /* writing */ in Curl_pp_statemach()
|
D | sendf.c | 138 const int readymask = Curl_socket_check(sockfd, CURL_SOCKET_BAD, in pre_receive_plain() 139 CURL_SOCKET_BAD, 0); in pre_receive_plain() 197 psnd->bindsock = CURL_SOCKET_BAD; in get_pre_recved()
|
D | hostip6.c | 107 if(s == CURL_SOCKET_BAD) in Curl_ipv6works()
|
D | url.c | 2717 DEBUGASSERT(psnd->bindsock != CURL_SOCKET_BAD); in conn_reset_postponed_data() 2724 psnd->bindsock = CURL_SOCKET_BAD; /* used only for DEBUGASSERT */ in conn_reset_postponed_data() 2731 DEBUGASSERT (psnd->bindsock == CURL_SOCKET_BAD); in conn_reset_postponed_data() 2760 if(CURL_SOCKET_BAD != conn->sock[SECONDARYSOCKET]) in conn_free() 2762 if(CURL_SOCKET_BAD != conn->sock[FIRSTSOCKET]) in conn_free() 2764 if(CURL_SOCKET_BAD != conn->tempsock[0]) in conn_free() 2766 if(CURL_SOCKET_BAD != conn->tempsock[1]) in conn_free() 2879 sval = Curl_socket_ready(sock, CURL_SOCKET_BAD, 0); in SocketIsDead() 3303 if((check->sock[FIRSTSOCKET] == CURL_SOCKET_BAD) || in ConnectionExists() 3902 conn->sock[FIRSTSOCKET] = CURL_SOCKET_BAD; /* no file descriptor */ in allocate_conn() [all …]
|
D | if2ip.c | 227 if(CURL_SOCKET_BAD == dummy) in Curl_if2ip()
|
/external/curl/tests/server/ |
D | sws.c | 1307 return CURL_SOCKET_BAD; in connect_to() 1314 if(CURL_SOCKET_BAD == serverfd) { in connect_to() 1318 return CURL_SOCKET_BAD; in connect_to() 1339 return CURL_SOCKET_BAD; in connect_to() 1352 return CURL_SOCKET_BAD; in connect_to() 1361 return CURL_SOCKET_BAD; in connect_to() 1367 return CURL_SOCKET_BAD; in connect_to() 1375 return CURL_SOCKET_BAD; in connect_to() 1406 curl_socket_t serverfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() 1407 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() [all …]
|
D | sockfilt.c | 914 curl_socket_t sockfd = CURL_SOCKET_BAD; in juggle() 964 if(CURL_SOCKET_BAD == sockfd) { in juggle() 983 if(CURL_SOCKET_BAD != sockfd) { in juggle() 1000 sockfd = CURL_SOCKET_BAD; in juggle() 1113 if(sockfd != CURL_SOCKET_BAD) { in juggle() 1116 *sockfdp = CURL_SOCKET_BAD; in juggle() 1129 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle() 1131 curl_socket_t newfd = CURL_SOCKET_BAD; /* newly accepted socket */ in juggle() 1137 if(CURL_SOCKET_BAD == newfd) { in juggle() 1175 *sockfdp = CURL_SOCKET_BAD; in juggle() [all …]
|
D | tftpd.c | 200 static curl_socket_t peer = CURL_SOCKET_BAD; 669 curl_socket_t sock = CURL_SOCKET_BAD; in main() 767 if(CURL_SOCKET_BAD == sock) { in main() 847 if(CURL_SOCKET_BAD == peer) { in main() 862 if(CURL_SOCKET_BAD == peer) { in main() 886 peer = CURL_SOCKET_BAD; in main() 910 if((peer != sock) && (peer != CURL_SOCKET_BAD)) in main() 913 if(sock != CURL_SOCKET_BAD) in main()
|
D | rtspd.c | 1182 curl_socket_t sock = CURL_SOCKET_BAD; in main() 1183 curl_socket_t msgsock = CURL_SOCKET_BAD; in main() 1284 if(CURL_SOCKET_BAD == sock) { in main() 1350 if(CURL_SOCKET_BAD == msgsock) { in main() 1431 msgsock = CURL_SOCKET_BAD; in main() 1444 if((msgsock != sock) && (msgsock != CURL_SOCKET_BAD)) in main() 1447 if(sock != CURL_SOCKET_BAD) in main()
|
D | resolve.c | 122 if(s == CURL_SOCKET_BAD) in main()
|
/external/curl/tests/libtest/ |
D | libntlmconnect.c | 71 sock = CURL_SOCKET_BAD; in callback() 75 if(sock != CURL_SOCKET_BAD) { in callback() 77 if(sockets[idx] == CURL_SOCKET_BAD) { in callback() 118 sockets[i] = CURL_SOCKET_BAD; in test() 213 if(sockets[num_handles-1] != CURL_SOCKET_BAD) { in test()
|
D | lib1530.c | 35 return CURL_SOCKET_BAD; in opensocket()
|
/external/curl/docs/examples/ |
D | externalsocket.c | 110 if((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == CURL_SOCKET_BAD) { in main()
|
/external/google-breakpad/src/third_party/curl/ |
D | multi.h | 225 #define CURL_SOCKET_TIMEOUT CURL_SOCKET_BAD
|
/external/curl/include/curl/ |
D | multi.h | 262 #define CURL_SOCKET_TIMEOUT CURL_SOCKET_BAD
|