Home
last modified time | relevance | path

Searched refs:SOCKERRNO (Results 1 – 25 of 28) sorted by relevance

12

/external/curl/lib/
Dselect.c111 error = SOCKERRNO; in Curl_wait_ms()
215 error = SOCKERRNO; in Curl_socket_check()
330 error = SOCKERRNO; in Curl_socket_check()
436 error = SOCKERRNO; in Curl_poll()
523 error = SOCKERRNO; in Curl_poll()
Dconnect.c322 error = SOCKERRNO; in bindlocal()
438 data->state.os_errno = error = SOCKERRNO; in bindlocal()
463 data->state.os_errno = error = SOCKERRNO; in bindlocal()
506 err = SOCKERRNO; in verifyconnect()
532 *error = SOCKERRNO; in verifyconnect()
676 error = SOCKERRNO; in Curl_updateconninfo()
685 error = SOCKERRNO; in Curl_updateconninfo()
884 Curl_strerror(conn, SOCKERRNO)); in tcpnodelay()
906 Curl_strerror(conn, SOCKERRNO)); in nosigpipe()
1084 error = SOCKERRNO; in singleipconnect()
Dtftp.c532 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_send_first()
614 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
639 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
665 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
739 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
772 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
798 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
1012 Curl_strerror(conn, SOCKERRNO)); in tftp_connect()
1225 int error = SOCKERRNO; in tftp_multi_statemach()
Dasyn-thread.c279 tsd->sock_error = SOCKERRNO?SOCKERRNO:rc; in getaddrinfo_thread()
312 tsd->sock_error = SOCKERRNO; in gethostbyname_thread()
657 hostname, port, Curl_strerror(conn, SOCKERRNO)); in Curl_resolver_getaddrinfo()
Dtelnet.c357 err = SOCKERRNO; in send_negotiation()
946 err = SOCKERRNO; in suboption()
958 err = SOCKERRNO; in suboption()
986 err = SOCKERRNO; in suboption()
1041 err = SOCKERRNO; in sendsuboption()
1050 err = SOCKERRNO; in sendsuboption()
1383 failf(data, "WSACreateEvent failed (%d)", SOCKERRNO); in telnet_do()
1492 if((err = SOCKERRNO) != EINPROGRESS) { in telnet_do()
1550 infof(data, "WSACloseEvent failed (%d)", SOCKERRNO); in telnet_do()
Dcurl_setup_once.h430 #define SOCKERRNO ((int)WSAGetLastError()) macro
433 #define SOCKERRNO (errno) macro
Dsendf.c261 int err = SOCKERRNO; in Curl_send_plain()
318 int err = SOCKERRNO; in Curl_recv_plain()
522 int err = SOCKERRNO; in Curl_read_plain()
Dhostip4.c263 h_errnop = SOCKERRNO; /* we don't deal with this, but set it anyway */
Dhostip6.c144 printf("failed; %s\n", Curl_strerror(conn, SOCKERRNO)); in dump_addrinfo()
Dftp.c736 SOCKERRNO); in Curl_GetFTPResponse()
1103 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1150 error = SOCKERRNO; in ftp_state_use_port()
1175 error = SOCKERRNO; in ftp_state_use_port()
1187 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1220 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1228 failf(data, "socket failure: %s", Curl_strerror(conn, SOCKERRNO)); in ftp_state_use_port()
/external/curl/tests/server/
Dsws.c970 error = SOCKERRNO; in get_request()
1310 error = SOCKERRNO; in connect_to()
1366 error = SOCKERRNO; in connect_to()
1809 error = SOCKERRNO; in accept_connection()
1820 error = SOCKERRNO; in accept_connection()
1829 error = SOCKERRNO; in accept_connection()
2090 error = SOCKERRNO; in main()
2099 error = SOCKERRNO; in main()
2105 error = SOCKERRNO; in main()
2139 error = SOCKERRNO; in main()
[all …]
Dsockfilt.c1117 error = SOCKERRNO; in juggle()
1185 error = SOCKERRNO; in sockdaemon()
1237 error = SOCKERRNO; in sockdaemon()
1259 error = SOCKERRNO; in sockdaemon()
1297 error = SOCKERRNO; in sockdaemon()
1443 error = SOCKERRNO; in main()
1479 error = SOCKERRNO; in main()
Drtspd.c832 error = SOCKERRNO; in get_request()
1274 error = SOCKERRNO; in main()
1283 error = SOCKERRNO; in main()
1308 error = SOCKERRNO; in main()
1319 error = SOCKERRNO; in main()
1340 error = SOCKERRNO; in main()
Dutil.c141 DWORD err = SOCKERRNO; in win32_perror()
Dtftpd.c764 error = SOCKERRNO; in main()
774 error = SOCKERRNO; in main()
800 error = SOCKERRNO; in main()
/external/c-ares/
Dares_process.c270 if (!try_again(SOCKERRNO)) in write_tcp_data()
286 if (!try_again(SOCKERRNO)) in write_tcp_data()
376 if (!(count == -1 && try_again(SOCKERRNO))) in read_tcp_data()
403 if (!(count == -1 && try_again(SOCKERRNO))) in read_tcp_data()
485 if (count == -1 && try_again(SOCKERRNO)) in read_udp_packets()
998 int err = SOCKERRNO; in open_tcp_socket()
1074 int err = SOCKERRNO; in open_udp_socket()
Dsetup_once.h360 #define SOCKERRNO ((int)WSAGetLastError()) macro
363 #define SOCKERRNO (errno) macro
Dares_init.c1177 #define toolong(x) (x == -1) && (SOCKERRNO == WSAEFAULT) in init_by_defaults()
1179 #define toolong(x) (x == -1) && ((SOCKERRNO == ENAMETOOLONG) || \ in init_by_defaults()
1180 (SOCKERRNO == EINVAL)) in init_by_defaults()
1182 #define toolong(x) (x == -1) && (SOCKERRNO == EINVAL) in init_by_defaults()
/external/curl/lib/vtls/
Dcyassl.c513 SOCKERRNO); in cyassl_send()
560 SOCKERRNO); in cyassl_recv()
679 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in cyassl_connect_common()
Dgtls.c141 switch(SOCKERRNO) { in gtls_mapped_sockerrno()
296 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in handshake()
1434 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in Curl_gtls_shutdown()
Dopenssl.c954 SOCKERRNO); in Curl_ossl_shutdown()
966 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in Curl_ossl_shutdown()
2896 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in ossl_connect_common()
3012 SOCKERRNO); in ossl_send()
3072 SOCKERRNO); in ossl_recv()
Daxtls.c594 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in Curl_axtls_shutdown()
Dschannel.c646 failf(data, "select/poll on SSL/TLS socket, errno: %d", SOCKERRNO); in schannel_connect_common()
803 failf(conn->data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in schannel_send()
Dpolarssl.c660 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in polarssl_connect_common()
/external/curl/tests/libtest/
Dtest.h361 ec = SOCKERRNO; \

12