/third_party/curl/lib/ |
D | memdebug.c | 299 curl_socket_t curl_dbg_socket(int domain, int type, int protocol, in curl_dbg_socket() 302 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socket() 304 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socket() 308 curl_socket_t sockfd; in curl_dbg_socket() 352 curl_socket_t socket_vector[2], in curl_dbg_socketpair() 355 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socketpair() 357 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socketpair() 370 curl_socket_t curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, in curl_dbg_accept() 373 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_accept() 375 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_accept() [all …]
|
D | connect.h | 53 curl_socket_t Curl_getconnectinfo(struct Curl_easy *data, 74 void Curl_sndbufset(curl_socket_t sockfd); 80 curl_socket_t sockfd); 82 curl_socket_t sockfd); 83 void Curl_conninfo_local(struct Curl_easy *data, curl_socket_t sockfd, 88 curl_socket_t sock); 119 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 | sendf.h | 58 CURLcode Curl_read_plain(curl_socket_t sockfd, 69 CURLcode Curl_read(struct Curl_easy *data, curl_socket_t sockfd, 75 curl_socket_t sockfd, 81 curl_socket_t sockfd,
|
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 static int our_select(curl_socket_t maxfd, /* highest socket number */ in our_select() 246 int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */ in Curl_socket_check() 247 curl_socket_t readfd1, in Curl_socket_check() 248 curl_socket_t writefd, /* socket to write to */ in Curl_socket_check() 337 curl_socket_t maxfd; in Curl_poll() 392 maxfd = (curl_socket_t)-1; in Curl_poll()
|
D | socks.h | 39 curl_socket_t sockfd, 45 curl_socket_t *sock,
|
D | connect.c | 86 static bool verifyconnect(curl_socket_t sockfd, int *error); 107 curl_socket_t sockfd) in tcpkeepalive() 239 curl_socket_t sockfd, int af, unsigned int scope) in bindlocal() 493 static bool verifyconnect(curl_socket_t sockfd, int *error) in verifyconnect() 585 curl_socket_t fd_to_close = conn->tempsock[tempindex]; in trynextip() 686 struct connectdata *conn, curl_socket_t sockfd) in Curl_conninfo_remote() 716 void Curl_conninfo_local(struct Curl_easy *data, curl_socket_t sockfd, in Curl_conninfo_local() 748 curl_socket_t sockfd) in Curl_updateconninfo() 1065 static void tcpnodelay(struct Curl_easy *data, curl_socket_t sockfd) in tcpnodelay() 1092 curl_socket_t sockfd) in nosigpipe() [all …]
|
D | multi.c | 215 curl_socket_t s) in sh_getentry() 219 return Curl_hash_pick(sh, (char *)&s, sizeof(curl_socket_t)); in sh_getentry() 249 curl_socket_t s) in sh_addentry() 271 if(!Curl_hash_add(sh, (char *)&s, sizeof(curl_socket_t), check)) { in sh_addentry() 283 struct Curl_hash *sh, curl_socket_t s) in sh_delentry() 289 Curl_hash_delete(sh, (char *)&s, sizeof(curl_socket_t)); in sh_delentry() 306 return (*((curl_socket_t *) k1)) == (*((curl_socket_t *) k2)); in fd_key_compare() 311 curl_socket_t fd = *((curl_socket_t *) key); in hash_fd() 906 curl_socket_t *sock) in waitconnect_getsock() 939 curl_socket_t *sock) in waitproxyconnect_getsock() [all …]
|
D | warnless.h | 62 int curlx_sktosi(curl_socket_t s); 64 curl_socket_t curlx_sitosk(int i);
|
D | urldata.h | 414 curl_socket_t ntlm_auth_hlpr_socket; 763 struct connectdata *conn, curl_socket_t *socks); 768 struct connectdata *conn, curl_socket_t *socks); 773 struct connectdata *conn, curl_socket_t *socks); 779 struct connectdata *conn, curl_socket_t *socks); 856 curl_socket_t bindsock;/* Structure must be bound to specific socket, 990 curl_socket_t sock[2]; /* two sockets, the second is used for the data 992 curl_socket_t tempsock[2]; /* temporary sockets for happy eyeballs */ 1035 curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */ 1036 curl_socket_t writesockfd; /* socket to write to, it may very [all …]
|
D | sendf.c | 148 const curl_socket_t sockfd = conn->sock[num]; in pre_receive_plain() 290 curl_socket_t sockfd, in Curl_write() 343 curl_socket_t sockfd; in Curl_send_plain() 407 curl_socket_t sockfd, in Curl_write_plain() 427 curl_socket_t sockfd; in Curl_recv_plain() 646 CURLcode Curl_read_plain(curl_socket_t sockfd, in Curl_read_plain() 679 curl_socket_t sockfd, /* read from this socket */ in Curl_read()
|
/third_party/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 …]
|
D | libntlmconnect.c | 36 static curl_socket_t sockets[MAX_EASY_HANDLES]; 42 curl_socket_t sock; in callback() 62 sock = (curl_socket_t)longdata; in callback()
|
/third_party/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 | hiperfifo.c | 104 curl_socket_t sockfd; 247 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() 267 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() 277 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() 396 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 | multi-event.c | 39 curl_socket_t sockfd; 44 static curl_context_t *create_curl_context(curl_socket_t sockfd) in create_curl_context() 167 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() 267 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() 277 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() 394 curl_socket_t sockfd; in init_fifo()
|
/third_party/curl/tests/server/ |
D | socksd.c | 274 static curl_socket_t socksconnect(unsigned short connectport, in socksconnect() 279 curl_socket_t sock = socket(AF_INET, SOCK_STREAM, 0); in socksconnect() 300 static curl_socket_t socks4(curl_socket_t fd, in socks4() 305 curl_socket_t connfd; in socks4() 354 static curl_socket_t sockit(curl_socket_t fd) in sockit() 364 curl_socket_t connfd = CURL_SOCKET_BAD; in sockit() 584 curl_socket_t remotefd; 585 curl_socket_t clientfd; 630 static bool incoming(curl_socket_t listenfd) in incoming() 656 curl_socket_t sockfd = listenfd; in incoming() [all …]
|
D | mqttd.c | 237 static int connack(FILE *dump, curl_socket_t fd) in connack() 260 static int suback(FILE *dump, curl_socket_t fd, unsigned short packetid) in suback() 283 static int puback(FILE *dump, curl_socket_t fd, unsigned short packetid) in puback() 306 static int disconnect(FILE *dump, curl_socket_t fd) in disconnect() 393 curl_socket_t fd, unsigned short packetid, in publish() 456 static int fixedheader(curl_socket_t fd, in fixedheader() 491 static curl_socket_t mqttit(curl_socket_t fd) in mqttit() 716 static bool incoming(curl_socket_t listenfd) in incoming() 739 curl_socket_t sockfd = listenfd; in incoming() 765 curl_socket_t newfd = accept(sockfd, NULL, NULL); in incoming() [all …]
|
D | sws.c | 132 static curl_socket_t all_sockets[MAX_SOCKETS]; 866 static int get_request(curl_socket_t sock, struct httprequest *req) in get_request() 943 static int send_doc(curl_socket_t sock, struct httprequest *req) in send_doc() 1208 static curl_socket_t connect_to(const char *ipaddr, unsigned short port) in connect_to() 1211 curl_socket_t serverfd; in connect_to() 1319 static void http_connect(curl_socket_t *infdp, in http_connect() 1320 curl_socket_t rootfd, in http_connect() 1324 curl_socket_t serverfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() 1325 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect() 1370 curl_socket_t maxfd = (curl_socket_t)-1; in http_connect() [all …]
|
/third_party/curl/include/curl/ |
D | multi.h | 115 curl_socket_t fd; 296 curl_socket_t s, /* socket */ 317 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 321 curl_socket_t s, 423 curl_socket_t sockfd, void *sockp);
|
D | typecheck-gcc.h | 139 if(!curlcheck_arr((arg), curl_socket_t)) \ 586 typedef int (*_curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype); 587 typedef int (*_curl_sockopt_callback2)(const void *, curl_socket_t, 599 typedef curl_socket_t (*_curl_opensocket_callback1) 601 typedef curl_socket_t (*_curl_opensocket_callback2) 603 typedef curl_socket_t (*_curl_opensocket_callback3) 605 typedef curl_socket_t (*_curl_opensocket_callback4)
|
/third_party/libuv/docs/code/uvwget/ |
D | main.c | 13 curl_socket_t sockfd; 16 curl_context_t *create_curl_context(curl_socket_t sockfd) { in create_curl_context() 109 int handle_socket(CURL *easy, curl_socket_t s, int action, void *userp, void *socketp) { in handle_socket()
|