/external/curl/lib/ |
D | memdebug.c | 336 curl_socket_t curl_dbg_socket(int domain, int type, int protocol, in curl_dbg_socket() 339 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socket() 341 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socket() 345 curl_socket_t sockfd; in curl_dbg_socket() 389 curl_socket_t socket_vector[2], in curl_dbg_socketpair() 392 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socketpair() 394 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socketpair() 407 curl_socket_t curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, in curl_dbg_accept() 410 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_accept() 412 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_accept() [all …]
|
D | sendf.h | 27 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *, 60 CURLcode Curl_read_plain(curl_socket_t sockfd, 71 CURLcode Curl_read(struct connectdata *conn, curl_socket_t sockfd, 76 curl_socket_t sockfd, 82 curl_socket_t sockfd,
|
D | connect.h | 51 curl_socket_t Curl_getconnectinfo(struct Curl_easy *data, 69 void Curl_sndbufset(curl_socket_t sockfd); 74 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd); 76 int Curl_closesocket(struct connectdata *conn, curl_socket_t sock); 107 curl_socket_t *sockfd);
|
D | select.h | 51 curl_socket_t fd; 75 int Curl_socket_check(curl_socket_t readfd, curl_socket_t readfd2, 76 curl_socket_t writefd,
|
D | memdebug.h | 53 CURL_EXTERN curl_socket_t curl_dbg_socket(int domain, int type, int protocol, 55 CURL_EXTERN void curl_dbg_mark_sclose(curl_socket_t sockfd, 57 CURL_EXTERN int curl_dbg_sclose(curl_socket_t sockfd, 59 CURL_EXTERN curl_socket_t curl_dbg_accept(curl_socket_t s, void *a, void *alen, 63 curl_socket_t socket_vector[2],
|
D | select.c | 145 int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */ in Curl_socket_check() 146 curl_socket_t readfd1, in Curl_socket_check() 147 curl_socket_t writefd, /* socket to write to */ in Curl_socket_check() 159 curl_socket_t maxfd; in Curl_socket_check() 265 maxfd = (curl_socket_t)-1; in Curl_socket_check() 400 curl_socket_t maxfd; in Curl_poll() 473 maxfd = (curl_socket_t)-1; in Curl_poll()
|
D | connect.c | 89 static bool verifyconnect(curl_socket_t sockfd, int *error); 110 curl_socket_t sockfd) in tcpkeepalive() 168 curl_socket_t *sock); 242 curl_socket_t sockfd, int af, unsigned int scope) in bindlocal() 487 static bool verifyconnect(curl_socket_t sockfd, int *error) in verifyconnect() 564 curl_socket_t fd_to_close = conn->tempsock[tempindex]; in trynextip() 680 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd) in Curl_updateconninfo() 894 static void tcpnodelay(struct connectdata *conn, curl_socket_t sockfd) in tcpnodelay() 926 curl_socket_t sockfd) in nosigpipe() 958 void Curl_sndbufset(curl_socket_t sockfd) in Curl_sndbufset() [all …]
|
D | security.c | 141 socket_read(curl_socket_t fd, void *to, size_t len) in socket_read() 168 socket_write(struct connectdata *conn, curl_socket_t fd, const void *to, in socket_write() 192 curl_socket_t fd, in read_data() 237 curl_socket_t fd = conn->sock[sockindex]; in sec_recv() 275 static void do_sec_send(struct connectdata *conn, curl_socket_t fd, in do_sec_send() 329 static ssize_t sec_write(struct connectdata *conn, curl_socket_t fd, in sec_write() 354 curl_socket_t fd = conn->sock[sockindex]; in sec_send()
|
D | multi.c | 212 curl_socket_t s) in sh_getentry() 216 return Curl_hash_pick(sh, (char *)&s, sizeof(curl_socket_t)); in sh_getentry() 222 curl_socket_t s) in sh_addentry() 239 if(!Curl_hash_add(sh, (char *)&s, sizeof(curl_socket_t), check)) { in sh_addentry() 249 static void sh_delentry(struct curl_hash *sh, curl_socket_t s) in sh_delentry() 253 Curl_hash_delete(sh, (char *)&s, sizeof(curl_socket_t)); in sh_delentry() 270 return (*((curl_socket_t *) k1)) == (*((curl_socket_t *) k2)); in fd_key_compare() 275 curl_socket_t fd = *((curl_socket_t *) key); in hash_fd() 828 curl_socket_t *sock, in waitconnect_getsock() 854 curl_socket_t *sock, in waitproxyconnect_getsock() [all …]
|
D | sendf.c | 144 const curl_socket_t sockfd = conn->sock[num]; in pre_receive_plain() 286 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *conn, in Curl_sendf() 339 curl_socket_t sockfd, in Curl_write() 374 curl_socket_t sockfd = conn->sock[num]; in Curl_send_plain() 430 curl_socket_t sockfd, in Curl_write_plain() 449 curl_socket_t sockfd = conn->sock[num]; in Curl_recv_plain() 684 CURLcode Curl_read_plain(curl_socket_t sockfd, in Curl_read_plain() 716 curl_socket_t sockfd, /* read from this socket */ in Curl_read()
|
D | urldata.h | 659 curl_socket_t *socks, 665 curl_socket_t *socks, 671 curl_socket_t *socks, 678 curl_socket_t *socks, 745 curl_socket_t bindsock;/* Structure must be bound to specific socket, 874 curl_socket_t sock[2]; /* two sockets, the second is used for the data 876 curl_socket_t tempsock[2]; /* temporary sockets for happy eyeballs */ 917 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */ 918 curl_socket_t writesockfd; /* socket to write to, it may very 979 curl_socket_t ntlm_auth_hlpr_socket; [all …]
|
D | pingpong.h | 127 CURLcode Curl_pp_readresp(curl_socket_t sockfd, 138 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks,
|
/external/curl/tests/libtest/ |
D | lib582.c | 34 curl_socket_t *sockets; 47 static void removeFd(struct Sockets* sockets, curl_socket_t fd, int mention) in removeFd() 58 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd() 67 static void addFd(struct Sockets* sockets, curl_socket_t fd, const char *what) in addFd() 79 sockets->sockets = malloc(sizeof(curl_socket_t) * 20U); in addFd() 85 curl_socket_t *oldptr = sockets->sockets; in addFd() 86 sockets->sockets = realloc(oldptr, sizeof(curl_socket_t) * in addFd() 105 static int curlSocketCallback(CURL *easy, curl_socket_t s, int action, in curlSocketCallback() 189 curl_socket_t *maxFd) in updateFdSet() 200 static void notifyCurl(CURLM *curl, curl_socket_t s, int evBitmask, in notifyCurl() [all …]
|
/external/curl/docs/examples/ |
D | externalsocket.c | 61 static int closecb(void *clientp, curl_socket_t item) in closecb() 68 static curl_socket_t opensocket(void *clientp, in opensocket() 72 curl_socket_t sockfd; in opensocket() 75 sockfd = *(curl_socket_t *)clientp; in opensocket() 81 static int sockopt_callback(void *clientp, curl_socket_t curlfd, in sockopt_callback() 96 curl_socket_t sockfd; in main()
|
D | asiohiper.cpp | 70 std::map<curl_socket_t, boost::asio::ip::tcp::socket *> socket_map; 183 static void event_cb(GlobalInfo *g, curl_socket_t s, in event_cb() 255 static void setsock(int *fdp, curl_socket_t s, CURL *e, int act, int oldact, in setsock() 260 std::map<curl_socket_t, boost::asio::ip::tcp::socket *>::iterator it = in setsock() 303 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() 313 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() 376 static curl_socket_t opensocket(void *clientp, curlsocktype purpose, in opensocket() 381 curl_socket_t sockfd = CURL_SOCKET_BAD; in opensocket() 404 socket_map.insert(std::pair<curl_socket_t, in opensocket() 413 static int close_socket(void *clientp, curl_socket_t item) in close_socket() [all …]
|
D | hiperfifo.c | 110 curl_socket_t sockfd; 249 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() 266 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() 276 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() 393 curl_socket_t sockfd; in init_fifo()
|
D | multi-uv.c | 46 curl_socket_t sockfd; 49 static curl_context_t* create_curl_context(curl_socket_t sockfd) in create_curl_context() 173 static int handle_socket(CURL *easy, curl_socket_t s, int action, void *userp, in handle_socket()
|
D | evhiperfifo.c | 106 curl_socket_t sockfd; 245 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() 266 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() 276 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() 393 curl_socket_t sockfd; in init_fifo()
|
/external/curl/include/curl/ |
D | multi.h | 113 curl_socket_t fd; 271 curl_socket_t s, /* socket */ 292 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 296 curl_socket_t s, 410 curl_socket_t sockfd, void *sockp);
|
D | typecheck-gcc.h | 140 if(!_curl_is_arr((arg), curl_socket_t)) \ 581 typedef int (*_curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype); 582 typedef int (*_curl_sockopt_callback2)(const void *, curl_socket_t, 594 typedef curl_socket_t (*_curl_opensocket_callback1) 596 typedef curl_socket_t (*_curl_opensocket_callback2) 598 typedef curl_socket_t (*_curl_opensocket_callback3) 600 typedef curl_socket_t (*_curl_opensocket_callback4)
|
/external/google-breakpad/src/third_party/curl/ |
D | multi.h | 232 curl_socket_t s, /* socket */ 253 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 257 curl_socket_t s, 340 curl_socket_t sockfd, void *sockp);
|
D | typecheck-gcc.h | 447 typedef int (_curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype); 448 typedef int (_curl_sockopt_callback2)(const void *, curl_socket_t, 459 typedef curl_socket_t (_curl_opensocket_callback1) 461 typedef curl_socket_t (_curl_opensocket_callback2) 463 typedef curl_socket_t (_curl_opensocket_callback3) 465 typedef curl_socket_t (_curl_opensocket_callback4)
|
/external/curl/tests/server/ |
D | sws.c | 134 static curl_socket_t all_sockets[MAX_SOCKETS]; 984 static int get_request(curl_socket_t sock, struct httprequest *req) in get_request() 1086 static int send_doc(curl_socket_t sock, struct httprequest *req) in send_doc() 1352 static curl_socket_t connect_to(const char *ipaddr, unsigned short port) in connect_to() 1355 curl_socket_t serverfd; in connect_to() 1463 static void http_connect(curl_socket_t *infdp, in http_connect() 1464 curl_socket_t rootfd, in http_connect() 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() 1514 curl_socket_t maxfd = (curl_socket_t)-1; in http_connect() [all …]
|
D | sockfilt.c | 689 curl_socket_t fd; /* the original input handle (indexed by fds) */ 690 curl_socket_t wsasock; /* the internal socket handle (indexed by wsa) */ 785 curl_socket_t socket = curlx_sitosk(fds); in select_ws() 815 curl_socket_t sock = data[idx].fd; in select_ws() 912 static bool juggle(curl_socket_t *sockfdp, in juggle() 913 curl_socket_t listenfd, in juggle() 920 curl_socket_t sockfd = CURL_SOCKET_BAD; in juggle() 951 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle() 1138 curl_socket_t newfd = accept(sockfd, NULL, NULL); in juggle() 1189 static curl_socket_t sockdaemon(curl_socket_t sock, in sockdaemon() [all …]
|
/external/libbrillo/brillo/http/ |
D | curl_api.h | 104 curl_socket_t sockfd, 109 curl_socket_t s, 202 curl_socket_t sockfd, 207 curl_socket_t s,
|