Home
last modified time | relevance | path

Searched refs:CURLM (Results 1 – 25 of 72) sorted by relevance

123

/external/curl/include/curl/
Dmulti.h56 typedef struct Curl_multi CURLM; typedef
58 typedef void CURLM;
127 CURL_EXTERN CURLM *curl_multi_init(void);
136 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
146 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
158 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
172 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
186 CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle,
199 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle);
217 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
[all …]
/external/libbrillo/brillo/http/
Dcurl_api.h75 virtual CURLM* MultiInit() = 0;
78 virtual CURLMcode MultiCleanup(CURLM* multi_handle) = 0;
81 virtual CURLMsg* MultiInfoRead(CURLM* multi_handle, int* msgs_in_queue) = 0;
84 virtual CURLMcode MultiAddHandle(CURLM* multi_handle, CURL* curl_handle) = 0;
87 virtual CURLMcode MultiRemoveHandle(CURLM* multi_handle,
92 CURLM* multi_handle,
98 CURLM* multi_handle,
103 virtual CURLMcode MultiAssign(CURLM* multi_handle,
108 virtual CURLMcode MultiSocketAction(CURLM* multi_handle,
117 virtual CURLMcode MultiPerform(CURLM* multi_handle,
[all …]
Dmock_curl_api.h57 MOCK_METHOD(CURLM*, MultiInit, (), (override));
58 MOCK_METHOD(CURLMcode, MultiCleanup, (CURLM*), (override));
59 MOCK_METHOD(CURLMsg*, MultiInfoRead, (CURLM*, int*), (override));
60 MOCK_METHOD(CURLMcode, MultiAddHandle, (CURLM*, CURL*), (override));
61 MOCK_METHOD(CURLMcode, MultiRemoveHandle, (CURLM*, CURL*), (override));
64 (CURLM*, curl_socket_callback, void*),
68 (CURLM*, curl_multi_timer_callback, void*),
72 (CURLM*, curl_socket_t, void*),
76 (CURLM*, curl_socket_t, int, int*),
79 MOCK_METHOD(CURLMcode, MultiPerform, (CURLM*, int*), (override));
[all …]
Dcurl_api.cc125 CURLM* CurlApi::MultiInit() { in MultiInit()
129 CURLMcode CurlApi::MultiCleanup(CURLM* multi_handle) { in MultiCleanup()
133 CURLMsg* CurlApi::MultiInfoRead(CURLM* multi_handle, int* msgs_in_queue) { in MultiInfoRead()
137 CURLMcode CurlApi::MultiAddHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiAddHandle()
141 CURLMcode CurlApi::MultiRemoveHandle(CURLM* multi_handle, CURL* curl_handle) { in MultiRemoveHandle()
145 CURLMcode CurlApi::MultiSetSocketCallback(CURLM* multi_handle, in MultiSetSocketCallback()
156 CURLM* multi_handle, in MultiSetTimerCallback()
166 CURLMcode CurlApi::MultiAssign(CURLM* multi_handle, in MultiAssign()
172 CURLMcode CurlApi::MultiSocketAction(CURLM* multi_handle, in MultiSocketAction()
183 CURLMcode CurlApi::MultiPerform(CURLM* multi_handle, int* running_handles) { in MultiPerform()
[all …]
Dhttp_transport_curl.h125 static int MultiTimerCallback(CURLM* multi,
132 CURLM* curl_multi_handle_{nullptr};
/external/google-breakpad/src/third_party/curl/
Dmulti.h56 typedef void CURLM; typedef
100 CURL_EXTERN CURLM *curl_multi_init(void);
109 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
119 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
131 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
153 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
166 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
196 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
248 typedef int (*curl_multi_timer_callback)(CURLM *multi, /* multi handle */
253 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
[all …]
/external/curl/tests/data/
Dtest113589 CURL_EXTERN CURLM *curl_multi_init(void);
90 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
91 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
92 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
93 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
94 CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle,
95 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle);
96 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
97 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
98 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
[all …]
/external/curl/tests/libtest/
Dlib582.c130 static int curlTimerCallback(CURLM *multi, long timeout_ms, void *userp) in curlTimerCallback()
148 static int checkForCompletion(CURLM *curl, int *success) in checkForCompletion()
200 static void notifyCurl(CURLM *curl, curl_socket_t s, int evBitmask, in notifyCurl()
214 static void checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, in checkFdSet()
232 CURLM *m = NULL; in test()
Dlib540.c49 static int init(int num, CURLM *cm, const char *url, const char *userpwd, in init()
100 static int loop(int num, CURLM *cm, const char *url, const char *userpwd, in loop()
187 CURLM *cm = NULL; in test()
Dlib1515.c54 static int do_one_request(CURLM *m, char *URL, char *resolve) in do_one_request()
117 CURLM *multi = NULL; in test()
Dlib1508.c31 CURLM *m = NULL; in test()
Dlib1550.c30 CURLM *handle; in test()
Dlib1557.c30 CURLM *curlm = NULL; in test()
Dlib502.c37 CURLM *m = NULL; in test()
Dlib1500.c33 CURLM *multi = NULL; in test()
Dlib583.c36 CURLM *multiHandle = NULL; in test()
Dlib1592.c44 CURLM *multiHandle = NULL; in test()
Dlib1552.c33 CURLM *multi = NULL; in test()
Dlib560.c43 CURLM *multi_handle = NULL; in test()
/external/curl/docs/examples/
D10-at-a-time.c96 static void add_transfer(CURLM *cm, int i) in add_transfer()
107 CURLM *cm; in main()
Dmulti-uv.c41 CURLM *curl_handle;
159 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout()
Dmulti-event.c34 CURLM *curl_handle;
149 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout()
Dmulti-poll.c40 CURLM *multi_handle; in main()
Dcrawler.c100 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links()
154 CURLM *multi_handle = curl_multi_init(); in main()
Dmulti-single.c52 CURLM *multi_handle; in main()

123