Home
last modified time | relevance | path

Searched refs:curl_socket_t (Results 1 – 25 of 105) sorted by relevance

12345

/external/curl/lib/
Dmemdebug.c284 curl_socket_t curl_dbg_socket(int domain, int type, int protocol, in curl_dbg_socket()
287 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socket()
289 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socket()
293 curl_socket_t sockfd; in curl_dbg_socket()
337 curl_socket_t socket_vector[2], in curl_dbg_socketpair()
340 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_socketpair()
342 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_socketpair()
355 curl_socket_t curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, in curl_dbg_accept()
358 const char *fmt = (sizeof(curl_socket_t) == sizeof(int)) ? in curl_dbg_accept()
360 (sizeof(curl_socket_t) == sizeof(long)) ? in curl_dbg_accept()
[all …]
Dselect.h51 curl_socket_t fd;
75 int Curl_select(curl_socket_t maxfd,
81 int Curl_socket_check(curl_socket_t readfd, curl_socket_t readfd2,
82 curl_socket_t writefd,
Dconnect.h51 curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
72 void Curl_sndbufset(curl_socket_t sockfd);
77 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd);
79 int Curl_closesocket(struct connectdata *conn, curl_socket_t sock);
110 curl_socket_t *sockfd);
Dsendf.h58 CURLcode Curl_read_plain(curl_socket_t sockfd,
69 CURLcode Curl_read(struct connectdata *conn, curl_socket_t sockfd,
74 curl_socket_t sockfd,
80 curl_socket_t sockfd,
Dmemdebug.h53 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],
Dselect.c144 int Curl_select(curl_socket_t maxfd, /* highest socket number */ in Curl_select()
243 int Curl_socket_check(curl_socket_t readfd0, /* two sockets to read from */ in Curl_socket_check()
244 curl_socket_t readfd1, in Curl_socket_check()
245 curl_socket_t writefd, /* socket to write to */ in Curl_socket_check()
334 curl_socket_t maxfd; in Curl_poll()
389 maxfd = (curl_socket_t)-1; in Curl_poll()
Dquic.h39 curl_socket_t sockfd,
44 curl_socket_t sockfd,
Dsocks.h39 curl_socket_t sockfd,
45 curl_socket_t *sock,
Dmulti.c208 curl_socket_t s) in sh_getentry()
212 return Curl_hash_pick(sh, (char *)&s, sizeof(curl_socket_t)); in sh_getentry()
242 curl_socket_t s) in sh_addentry()
264 if(!Curl_hash_add(sh, (char *)&s, sizeof(curl_socket_t), check)) { in sh_addentry()
276 struct Curl_hash *sh, curl_socket_t s) in sh_delentry()
282 Curl_hash_delete(sh, (char *)&s, sizeof(curl_socket_t)); in sh_delentry()
299 return (*((curl_socket_t *) k1)) == (*((curl_socket_t *) k2)); in fd_key_compare()
304 curl_socket_t fd = *((curl_socket_t *) key); in hash_fd()
902 curl_socket_t *sock) in waitconnect_getsock()
935 curl_socket_t *sock) in waitproxyconnect_getsock()
[all …]
Dpingpong.h130 CURLcode Curl_pp_readresp(curl_socket_t sockfd,
141 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks);
Dconnect.c86 static bool verifyconnect(curl_socket_t sockfd, int *error);
107 curl_socket_t sockfd) in tcpkeepalive()
240 curl_socket_t sockfd, int af, unsigned int scope) in bindlocal()
490 static bool verifyconnect(curl_socket_t sockfd, int *error) in verifyconnect()
581 curl_socket_t fd_to_close = conn->tempsock[tempindex]; in trynextip()
676 void Curl_updateconninfo(struct connectdata *conn, curl_socket_t sockfd) in Curl_updateconninfo()
1018 static void tcpnodelay(struct connectdata *conn, curl_socket_t sockfd) in tcpnodelay()
1046 curl_socket_t sockfd) in nosigpipe()
1078 void Curl_sndbufset(curl_socket_t sockfd) in Curl_sndbufset()
1123 curl_socket_t sockfd; in singleipconnect()
[all …]
Dwarnless.h64 int curlx_sktosi(curl_socket_t s);
66 curl_socket_t curlx_sitosk(int i);
Dmqtt.c64 static int mqtt_getsock(struct connectdata *conn, curl_socket_t *sock);
112 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_send()
134 curl_socket_t *sock) in mqtt_getsock()
179 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_verify_connack()
292 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_verify_suback()
424 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_read_publish()
539 curl_socket_t sockfd = conn->sock[FIRSTSOCKET]; in mqtt_doing()
Dsendf.c145 const curl_socket_t sockfd = conn->sock[num]; in pre_receive_plain()
297 curl_socket_t sockfd, in Curl_write()
332 curl_socket_t sockfd = conn->sock[num]; in Curl_send_plain()
391 curl_socket_t sockfd, in Curl_write_plain()
410 curl_socket_t sockfd = conn->sock[num]; in Curl_recv_plain()
629 CURLcode Curl_read_plain(curl_socket_t sockfd, in Curl_read_plain()
662 curl_socket_t sockfd, /* read from this socket */ in Curl_read()
/external/curl/docs/examples/
Dexternalsocket.c61 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()
Dmulti-uv.c46 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()
Dhiperfifo.c104 curl_socket_t sockfd;
245 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock()
263 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock()
273 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb()
392 curl_socket_t sockfd; in init_fifo()
Dmulti-event.c39 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()
/external/curl/tests/libtest/
Dlib582.c34 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/tests/server/
Dsocksd.c274 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 …]
Dmqttd.c233 static int connack(FILE *dump, curl_socket_t fd) in connack()
256 static int suback(FILE *dump, curl_socket_t fd, unsigned short packetid) in suback()
279 static int puback(FILE *dump, curl_socket_t fd, unsigned short packetid) in puback()
302 static int disconnect(FILE *dump, curl_socket_t fd) in disconnect()
388 curl_socket_t fd, unsigned short packetid, in publish()
442 static int fixedheader(curl_socket_t fd, in fixedheader()
477 static curl_socket_t mqttit(curl_socket_t fd) in mqttit()
649 static bool incoming(curl_socket_t listenfd) in incoming()
672 curl_socket_t sockfd = listenfd; in incoming()
698 curl_socket_t newfd = accept(sockfd, NULL, NULL); in incoming()
[all …]
Dsws.c133 static curl_socket_t all_sockets[MAX_SOCKETS];
868 static int get_request(curl_socket_t sock, struct httprequest *req) in get_request()
945 static int send_doc(curl_socket_t sock, struct httprequest *req) in send_doc()
1210 static curl_socket_t connect_to(const char *ipaddr, unsigned short port) in connect_to()
1213 curl_socket_t serverfd; in connect_to()
1321 static void http_connect(curl_socket_t *infdp, in http_connect()
1322 curl_socket_t rootfd, in http_connect()
1326 curl_socket_t serverfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect()
1327 curl_socket_t clientfd[2] = {CURL_SOCKET_BAD, CURL_SOCKET_BAD}; in http_connect()
1372 curl_socket_t maxfd = (curl_socket_t)-1; in http_connect()
[all …]
/external/curl/include/curl/
Dmulti.h115 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);
/external/google-breakpad/src/third_party/curl/
Dmulti.h232 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);
/external/libbrillo/brillo/http/
Dcurl_api.h104 curl_socket_t sockfd,
109 curl_socket_t s,
202 curl_socket_t sockfd,
207 curl_socket_t s,

12345