/external/curl/lib/ |
D | multi.c | 68 static void singlesocket(struct Curl_multi *multi, 70 static int update_timer(struct Curl_multi *multi); 73 struct Curl_multi *multi, 75 static CURLMcode multi_timeout(struct Curl_multi *multi, 140 data->multi->num_alive--; in mstate() 264 static CURLMcode multi_addmsg(struct Curl_multi *multi, in multi_addmsg() argument 267 if(!Curl_llist_insert_next(multi->msglist, multi->msglist->tail, msg)) in multi_addmsg() 287 struct Curl_multi *multi = calloc(1, sizeof(struct Curl_multi)); in Curl_multi_handle() local 289 if(!multi) in Curl_multi_handle() 292 multi->type = CURL_MULTI_HANDLE; in Curl_multi_handle() [all …]
|
D | multiif.h | 30 bool Curl_pipeline_wanted(const struct Curl_multi* multi, int bits); 57 void Curl_multi_process_pending_handles(struct Curl_multi *multi); 60 size_t Curl_multi_max_host_connections(struct Curl_multi *multi); 63 curl_off_t Curl_multi_content_length_penalty_size(struct Curl_multi *multi); 66 curl_off_t Curl_multi_chunk_length_penalty_size(struct Curl_multi *multi); 69 struct curl_llist *Curl_multi_pipelining_site_bl(struct Curl_multi *multi); 72 struct curl_llist *Curl_multi_pipelining_server_bl(struct Curl_multi *multi); 75 size_t Curl_multi_max_total_connections(struct Curl_multi *multi); 77 void Curl_multi_connchanged(struct Curl_multi *multi);
|
D | easy.c | 426 static int events_timer(CURLM *multi, /* multi handle */ in events_timer() argument 431 (void)multi; in events_timer() 555 static void events_setup(CURLM *multi, struct events *ev) in events_setup() argument 558 curl_multi_setopt(multi, CURLMOPT_TIMERFUNCTION, events_timer); in events_setup() 559 curl_multi_setopt(multi, CURLMOPT_TIMERDATA, ev); in events_setup() 562 curl_multi_setopt(multi, CURLMOPT_SOCKETFUNCTION, events_socket); in events_setup() 563 curl_multi_setopt(multi, CURLMOPT_SOCKETDATA, ev); in events_setup() 572 static CURLcode wait_or_timeout(struct Curl_multi *multi, struct events *ev) in wait_or_timeout() argument 613 mcode = curl_multi_socket_action(multi, CURL_SOCKET_TIMEOUT, 0, in wait_or_timeout() 622 infof(multi->easyp, "call curl_multi_socket_action( socket %d )\n", in wait_or_timeout() [all …]
|
/external/libmicrohttpd/src/testcurl/https/ |
D | test_https_get_select.c | 82 CURLM *multi; in testExternalGet() local 94 multi = NULL; in testExternalGet() 131 multi = curl_multi_init (); in testExternalGet() 132 if (multi == NULL) in testExternalGet() 138 mret = curl_multi_add_handle (multi, c); in testExternalGet() 141 curl_multi_cleanup (multi); in testExternalGet() 147 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 153 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 156 curl_multi_remove_handle (multi, c); in testExternalGet() 157 curl_multi_cleanup (multi); in testExternalGet() [all …]
|
D | test_empty_response.c | 68 CURLM *multi; in testInternalSelectGet() local 79 multi = NULL; in testInternalSelectGet() 119 multi = curl_multi_init (); in testInternalSelectGet() 120 if (multi == NULL) in testInternalSelectGet() 126 mret = curl_multi_add_handle (multi, c); in testInternalSelectGet() 129 curl_multi_cleanup (multi); in testInternalSelectGet() 135 while ((time (NULL) - start < 5) && (multi != NULL)) in testInternalSelectGet() 141 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testInternalSelectGet() 144 curl_multi_remove_handle (multi, c); in testInternalSelectGet() 145 curl_multi_cleanup (multi); in testInternalSelectGet() [all …]
|
/external/libmicrohttpd/src/testcurl/ |
D | test_callback.c | 93 CURLM *multi; in main() local 115 multi = curl_multi_init (); in main() 116 if (multi == NULL) in main() 122 mret = curl_multi_add_handle (multi, c); in main() 125 curl_multi_cleanup (multi); in main() 137 curl_multi_perform (multi, &running); in main() 138 if (NULL != multi) in main() 140 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in main() 143 curl_multi_remove_handle (multi, c); in main() 144 curl_multi_cleanup (multi); in main() [all …]
|
D | test_process_arguments.c | 118 CURLM *multi; in testExternalGet() local 129 multi = NULL; in testExternalGet() 155 multi = curl_multi_init (); in testExternalGet() 156 if (multi == NULL) in testExternalGet() 162 mret = curl_multi_add_handle (multi, c); in testExternalGet() 165 curl_multi_cleanup (multi); in testExternalGet() 171 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 177 curl_multi_perform (multi, &running); in testExternalGet() 178 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 181 curl_multi_remove_handle (multi, c); in testExternalGet() [all …]
|
D | test_parse_cookies.c | 115 CURLM *multi; in testExternalGet() local 126 multi = NULL; in testExternalGet() 156 multi = curl_multi_init (); in testExternalGet() 157 if (multi == NULL) in testExternalGet() 163 mret = curl_multi_add_handle (multi, c); in testExternalGet() 166 curl_multi_cleanup (multi); in testExternalGet() 172 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 178 curl_multi_perform (multi, &running); in testExternalGet() 179 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 182 curl_multi_remove_handle (multi, c); in testExternalGet() [all …]
|
D | test_quiesce.c | 309 CURLM *multi; in testExternalGet() local 322 multi = NULL; in testExternalGet() 332 multi = curl_multi_init (); in testExternalGet() 333 if (multi == NULL) in testExternalGet() 339 mret = curl_multi_add_handle (multi, c); in testExternalGet() 342 curl_multi_cleanup (multi); in testExternalGet() 350 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 356 curl_multi_perform (multi, &running); in testExternalGet() 357 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 360 curl_multi_remove_handle (multi, c); in testExternalGet() [all …]
|
D | test_get_chunked.c | 289 CURLM *multi; in testExternalGet() local 300 multi = NULL; in testExternalGet() 322 multi = curl_multi_init (); in testExternalGet() 323 if (multi == NULL) in testExternalGet() 329 mret = curl_multi_add_handle (multi, c); in testExternalGet() 332 curl_multi_cleanup (multi); in testExternalGet() 338 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 344 curl_multi_perform (multi, &running); in testExternalGet() 345 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 348 curl_multi_remove_handle (multi, c); in testExternalGet() [all …]
|
D | test_put_chunked.c | 309 CURLM *multi; in testExternalPut() local 322 multi = NULL; in testExternalPut() 352 multi = curl_multi_init (); in testExternalPut() 353 if (multi == NULL) in testExternalPut() 359 mret = curl_multi_add_handle (multi, c); in testExternalPut() 362 curl_multi_cleanup (multi); in testExternalPut() 368 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalPut() 374 curl_multi_perform (multi, &running); in testExternalPut() 375 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalPut() 378 curl_multi_remove_handle (multi, c); in testExternalPut() [all …]
|
D | test_put.c | 299 CURLM *multi; in testExternalPut() local 312 multi = NULL; in testExternalPut() 342 multi = curl_multi_init (); in testExternalPut() 343 if (multi == NULL) in testExternalPut() 349 mret = curl_multi_add_handle (multi, c); in testExternalPut() 352 curl_multi_cleanup (multi); in testExternalPut() 358 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalPut() 364 curl_multi_perform (multi, &running); in testExternalPut() 365 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalPut() 368 curl_multi_remove_handle (multi, c); in testExternalPut() [all …]
|
D | test_process_headers.c | 303 CURLM *multi; in testExternalGet() local 314 multi = NULL; in testExternalGet() 339 multi = curl_multi_init (); in testExternalGet() 340 if (multi == NULL) in testExternalGet() 346 mret = curl_multi_add_handle (multi, c); in testExternalGet() 349 curl_multi_cleanup (multi); in testExternalGet() 355 while ((time (NULL) - start < 5) && (multi != NULL)) in testExternalGet() 361 curl_multi_perform (multi, &running); in testExternalGet() 362 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 365 curl_multi_remove_handle (multi, c); in testExternalGet() [all …]
|
/external/curl/tests/libtest/ |
D | lib536.c | 32 static int perform(CURLM *multi) in perform() argument 45 res_multi_perform(multi, &handles); in perform() 60 res_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in perform() 80 CURLM *multi = NULL; in test() local 88 multi_init(multi); in test() 92 multi_setopt(multi, CURLMOPT_PIPELINING, 1L); in test() 98 res_multi_add_handle(multi, easy); in test() 104 res = perform(multi); in test() 110 curl_multi_remove_handle(multi, easy); in test() 117 res_multi_add_handle(multi, easy); in test() [all …]
|
D | lib1502.c | 45 CURLM* multi = NULL; in test() local 76 multi_init(multi); in test() 78 multi_add_handle(multi, easy); in test() 80 multi_perform(multi, &still_running); in test() 97 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 105 multi_perform(multi, &still_running); in test() 114 curl_multi_cleanup(multi); in test() 121 curl_multi_remove_handle(multi, easy); in test() 122 curl_multi_cleanup(multi); in test() 130 curl_multi_cleanup(multi); in test() [all …]
|
D | lib1500.c | 33 CURLM* multi = NULL; in test() local 43 multi_init(multi); in test() 50 multi_add_handle(multi, curls); in test() 52 multi_perform(multi, &still_running); in test() 58 res = curl_multi_wait(multi, NULL, 0, TEST_HANG_TIMEOUT, &num); in test() 67 multi_perform(multi, &still_running); in test() 72 msg = curl_multi_info_read(multi, &still_running); in test() 82 curl_multi_cleanup(multi); in test()
|
D | lib597.c | 54 CURLM *multi = NULL; in test() local 70 multi_init(multi); in test() 90 multi_add_handle(multi, easy); in test() 100 multi_perform(multi, &running); in test() 111 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 115 multi_timeout(multi, &timeout); in test() 134 msg = curl_multi_info_read(multi, &msgs_left); in test() 138 multi_remove_handle(multi, easy); in test() 145 curl_multi_cleanup(multi); in test()
|
D | lib507.c | 33 CURLM* multi = NULL; in test() local 43 multi_init(multi); in test() 50 multi_add_handle(multi, curls); in test() 52 multi_perform(multi, &still_running); in test() 69 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 77 multi_perform(multi, &still_running); in test() 82 msg = curl_multi_info_read(multi, &still_running); in test() 92 curl_multi_cleanup(multi); in test()
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
D | multidict.py | 89 multi = {} 94 if key in multi: 98 multi[key] = None 228 def __init__(self, multi=None, encoding=None, errors='strict', argument 230 self.multi = multi 237 items = self.multi._items 282 return self._decode_value(self.multi.__getitem__(key)) 286 self.multi.__setitem__(key, value) 293 self.multi.add(key, value) 300 return [self._decode_value(v) for v in self.multi.getall(key)] [all …]
|
/external/libmicrohttpd/src/testzzuf/ |
D | test_get_chunked.c | 211 CURLM *multi; in testExternalGet() local 222 multi = NULL; in testExternalGet() 230 multi = curl_multi_init (); in testExternalGet() 231 if (multi == NULL) in testExternalGet() 252 mret = curl_multi_add_handle (multi, c); in testExternalGet() 255 curl_multi_cleanup (multi); in testExternalGet() 268 curl_multi_perform (multi, &running); in testExternalGet() 269 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 272 curl_multi_remove_handle (multi, c); in testExternalGet() 273 curl_multi_cleanup (multi); in testExternalGet() [all …]
|
D | test_get.c | 191 CURLM *multi; in testExternalGet() local 202 multi = NULL; in testExternalGet() 210 multi = curl_multi_init (); in testExternalGet() 211 if (multi == NULL) in testExternalGet() 235 mret = curl_multi_add_handle (multi, c); in testExternalGet() 238 curl_multi_cleanup (multi); in testExternalGet() 251 curl_multi_perform (multi, &running); in testExternalGet() 252 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalGet() 255 curl_multi_remove_handle (multi, c); in testExternalGet() 256 curl_multi_cleanup (multi); in testExternalGet() [all …]
|
D | test_put_chunked.c | 239 CURLM *multi; in testExternalPut() local 252 multi = NULL; in testExternalPut() 262 multi = curl_multi_init (); in testExternalPut() 263 if (multi == NULL) in testExternalPut() 293 mret = curl_multi_add_handle (multi, c); in testExternalPut() 296 curl_multi_cleanup (multi); in testExternalPut() 309 curl_multi_perform (multi, &running); in testExternalPut() 310 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalPut() 313 curl_multi_remove_handle (multi, c); in testExternalPut() 314 curl_multi_cleanup (multi); in testExternalPut() [all …]
|
D | test_post.c | 259 CURLM *multi; in testExternalPost() local 270 multi = NULL; in testExternalPost() 280 multi = curl_multi_init (); in testExternalPost() 281 if (multi == NULL) in testExternalPost() 313 mret = curl_multi_add_handle (multi, c); in testExternalPost() 316 curl_multi_cleanup (multi); in testExternalPost() 329 curl_multi_perform (multi, &running); in testExternalPost() 330 mret = curl_multi_fdset (multi, &rs, &ws, &es, &max); in testExternalPost() 333 curl_multi_remove_handle (multi, c); in testExternalPost() 334 curl_multi_cleanup (multi); in testExternalPost() [all …]
|
/external/curl/docs/examples/ |
D | Makefile.inc | 26 https multi-app multi-debugcallback multi-double multi-post multi-single \ 29 smtp-mail smtp-multi smtp-ssl smtp-tls smtp-vrfy smtp-expn rtsp \ 31 pop3-dele pop3-top pop3-stat pop3-noop pop3-ssl pop3-tls pop3-multi \ 34 imap-tls imap-multi url2file sftpget ftpsget postinmemory http2-download \ 43 multi-uv.c xmlstream.c usercertinmem.c sessioninfo.c
|
D | .gitignore | 30 imap-multi 36 multi-app 37 multi-debugcallback 38 multi-double 39 multi-post 40 multi-single 44 pop3-multi 69 smtp-multi
|