Home
last modified time | relevance | path

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

1234

/external/curl/include/curl/
Dmulti.h58 typedef struct Curl_multi CURLM; typedef
60 typedef void CURLM;
131 CURL_EXTERN CURLM *curl_multi_init(void);
140 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
150 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
162 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
176 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
190 CURL_EXTERN CURLMcode curl_multi_poll(CURLM *multi_handle,
203 CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle);
221 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/libtest/
Dlib582.c132 static int curlTimerCallback(CURLM *multi, long timeout_ms, void *userp) in curlTimerCallback()
150 static int checkForCompletion(CURLM *curl, int *success) in checkForCompletion()
204 static void notifyCurl(CURLM *curl, curl_socket_t s, int evBitmask, in notifyCurl()
218 static void checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, in checkFdSet()
236 CURLM *m = NULL; in test()
Dlib530.c153 static int curlTimerCallback(CURLM *multi, long timeout_ms, void *userp) in curlTimerCallback()
176 static int checkForCompletion(CURLM *curl, int *success) in checkForCompletion()
230 static int socket_action(CURLM *curl, curl_socket_t s, int evBitmask, in socket_action()
245 static int checkFdSet(CURLM *curl, in checkFdSet()
264 CURL *curl = NULL; CURLM *m = NULL; in testone()
Dlib540.c51 static int init(int num, CURLM *cm, const char *url, const char *userpwd, in init()
102 static int loop(int num, CURLM *cm, const char *url, const char *userpwd, in loop()
192 CURLM *cm = NULL; in test()
Dlib1515.c52 static int do_one_request(CURLM *m, char *URL, char *resolve) in do_one_request()
115 CURLM *multi = NULL; in test()
Dlib1508.c33 CURLM *m = NULL; in test()
Dlib1900.c114 static void setup_handle(char *base_url, CURLM *m, int handlenum) in setup_handle()
140 CURLM *m = NULL; in test()
Dlib1550.c32 CURLM *handle; in test()
Dlib1939.c31 CURLM *multi; in test()
Dlib1557.c32 CURLM *curlm = NULL; in test()
Dlib502.c39 CURLM *m = NULL; in test()
Dlib1500.c35 CURLM *multi = NULL; in test()
/external/curl/docs/examples/
D10-at-a-time.c98 static void add_transfer(CURLM *cm, int i, int *left) in add_transfer()
110 CURLM *cm; in main()
Dmulti-uv.c43 CURLM *curl_handle;
161 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout()
Dmulti-event.c36 CURLM *curl_handle;
151 static int start_timeout(CURLM *multi, long timeout_ms, void *userp) in start_timeout()
Dcrawler.c111 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links()
165 CURLM *multi_handle = curl_multi_init(); in main()
Dmulti-single.c45 CURLM *multi_handle; in main()
Dimap-multi.c42 CURLM *mcurl; in main()
Dpop3-multi.c42 CURLM *mcurl; in main()
Dmulti-double.c45 CURLM *multi_handle; in main()

1234