Home
last modified time | relevance | path

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

123

/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.h36 MOCK_METHOD0(MultiInit, CURLM*());
37 MOCK_METHOD1(MultiCleanup, CURLMcode(CURLM*));
38 MOCK_METHOD2(MultiInfoRead, CURLMsg*(CURLM*, int*));
39 MOCK_METHOD2(MultiAddHandle, CURLMcode(CURLM*, CURL*));
40 MOCK_METHOD2(MultiRemoveHandle, CURLMcode(CURLM*, CURL*));
42 CURLMcode(CURLM*, curl_socket_callback, void*));
44 CURLMcode(CURLM*, curl_multi_timer_callback, void*));
45 MOCK_METHOD3(MultiAssign, CURLMcode(CURLM*, curl_socket_t, void*));
46 MOCK_METHOD4(MultiSocketAction, CURLMcode(CURLM*, curl_socket_t, int, int*));
48 MOCK_METHOD2(MultiPerform, CURLMcode(CURLM*, int*));
[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.h112 static int MultiTimerCallback(CURLM* multi,
119 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/include/curl/
Dmulti.h56 typedef struct Curl_multi CURLM; typedef
58 typedef void CURLM;
125 CURL_EXTERN CURLM *curl_multi_init(void);
134 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle,
144 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
156 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle,
170 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
192 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle,
205 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
235 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
[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_perform(CURLM *multi_handle,
95 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle);
96 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle,
98 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
99 CURL_EXTERN CURLMcode curl_multi_socket_action(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()
Dlib536.c32 static int perform(CURLM *multi) in perform()
80 CURLM *multi = 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()
Dlib1900.c112 static void setup_handle(char *base_url, CURLM *m, int handlenum) in setup_handle()
138 CURLM *m = 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()
Dlib583.c36 CURLM *multiHandle = NULL; in test()
Dlib1500.c33 CURLM *multi = NULL; in test()
Dlib1592.c44 CURLM *multiHandle = NULL; in test()
Dlib1552.c33 CURLM *multi = NULL; in test()
Dlib564.c37 CURLM *m = 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()
Dcrawler.c100 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links()
153 CURLM *multi_handle = curl_multi_init(); in main()
Dmulti-single.c52 CURLM *multi_handle; in main()

123