Home
last modified time | relevance | path

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

12

/external/curl/lib/
Dselect.c110 error = SOCKERRNO; in Curl_wait_ms()
220 error = SOCKERRNO; in Curl_socket_check()
335 error = SOCKERRNO; in Curl_socket_check()
441 error = SOCKERRNO; in Curl_poll()
528 error = SOCKERRNO; in Curl_poll()
Dconnect.c323 error = SOCKERRNO; in bindlocal()
439 data->state.os_errno = error = SOCKERRNO; in bindlocal()
464 data->state.os_errno = error = SOCKERRNO; in bindlocal()
507 err = SOCKERRNO; in verifyconnect()
533 *error = SOCKERRNO; in verifyconnect()
679 error = SOCKERRNO; in Curl_updateconninfo()
688 error = SOCKERRNO; in Curl_updateconninfo()
903 Curl_strerror(conn, SOCKERRNO)); in Curl_tcpnodelay()
925 Curl_strerror(conn, SOCKERRNO)); in nosigpipe()
1102 error = SOCKERRNO; in singleipconnect()
Dtftp.c536 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_send_first()
618 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
643 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
669 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_rx()
744 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
788 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
814 failf(data, "%s", Curl_strerror(state->conn, SOCKERRNO)); in tftp_tx()
1028 Curl_strerror(conn, SOCKERRNO)); in tftp_connect()
1241 int error = SOCKERRNO; in tftp_multi_statemach()
Dasyn-thread.c278 tsd->sock_error = SOCKERRNO?SOCKERRNO:rc; in getaddrinfo_thread()
314 tsd->sock_error = SOCKERRNO; in gethostbyname_thread()
662 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
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()
Dsendf.c362 int err = SOCKERRNO; in Curl_send_plain()
429 int err = SOCKERRNO; in Curl_recv_plain()
633 int err = SOCKERRNO; in Curl_read_plain()
Dftp.c747 SOCKERRNO); in Curl_GetFTPResponse()
1114 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1161 error = SOCKERRNO; in ftp_state_use_port()
1186 error = SOCKERRNO; in ftp_state_use_port()
1198 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1231 Curl_strerror(conn, SOCKERRNO) ); in ftp_state_use_port()
1239 failf(data, "socket failure: %s", Curl_strerror(conn, SOCKERRNO)); in ftp_state_use_port()
/external/curl/tests/server/
Dsws.c973 error = SOCKERRNO; in get_request()
1315 error = SOCKERRNO; in connect_to()
1371 error = SOCKERRNO; in connect_to()
1815 error = SOCKERRNO; in accept_connection()
1826 error = SOCKERRNO; in accept_connection()
1835 error = SOCKERRNO; in accept_connection()
2096 error = SOCKERRNO; in main()
2105 error = SOCKERRNO; in main()
2111 error = SOCKERRNO; in main()
2145 error = SOCKERRNO; in main()
[all …]
Dsockfilt.c1138 error = SOCKERRNO; in juggle()
1206 error = SOCKERRNO; in sockdaemon()
1258 error = SOCKERRNO; in sockdaemon()
1280 error = SOCKERRNO; in sockdaemon()
1318 error = SOCKERRNO; in sockdaemon()
1464 error = SOCKERRNO; in main()
1500 error = SOCKERRNO; in main()
Drtspd.c838 error = SOCKERRNO; in get_request()
1285 error = SOCKERRNO; in main()
1294 error = SOCKERRNO; in main()
1319 error = SOCKERRNO; in main()
1330 error = SOCKERRNO; in main()
1351 error = SOCKERRNO; in main()
Dutil.c141 DWORD err = SOCKERRNO; in win32_perror()
Dtftpd.c768 error = SOCKERRNO; in main()
778 error = SOCKERRNO; in main()
804 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()
Dadig.c393 if (count < 0 && SOCKERRNO != EINVAL) in main()
/external/curl/lib/vtls/
Dcyassl.c655 SOCKERRNO); in cyassl_send()
702 SOCKERRNO); in cyassl_recv()
822 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in cyassl_connect_common()
Dopenssl.c782 int err = SOCKERRNO; in Curl_ossl_check_cxn()
986 SOCKERRNO); in Curl_ossl_shutdown()
998 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in Curl_ossl_shutdown()
3035 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in ossl_connect_common()
3154 SOCKERRNO); in ossl_send()
3224 SOCKERRNO); in ossl_recv()
Dgtls.c142 switch(SOCKERRNO) { in gtls_mapped_sockerrno()
308 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in handshake()
1534 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO);
Daxtls.c604 failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in Curl_axtls_shutdown()
Dschannel.c836 failf(data, "select/poll on SSL/TLS socket, errno: %d", SOCKERRNO); in schannel_connect_common()
992 failf(conn->data, "select/poll on SSL socket, errno: %d", SOCKERRNO); in schannel_send()
/external/curl/tests/libtest/
Dtest.h359 ec = SOCKERRNO; \

12