Searched refs:evcon (Results 1 – 6 of 6) sorted by relevance
/external/chromium/third_party/libevent/ |
D | http.c | 204 struct evhttp_connection *evcon); 206 struct evhttp_connection *evcon); 208 struct evhttp_connection *evcon); 209 static void evhttp_request_dispatch(struct evhttp_connection* evcon); 210 static void evhttp_read_firstline(struct evhttp_connection *evcon, 212 static void evhttp_read_header(struct evhttp_connection *evcon, 338 evhttp_write_buffer(struct evhttp_connection *evcon, in evhttp_write_buffer() argument 344 evcon->cb = cb; in evhttp_write_buffer() 345 evcon->cb_arg = arg; in evhttp_write_buffer() 348 if (event_pending(&evcon->ev, EV_WRITE|EV_TIMEOUT, NULL)) in evhttp_write_buffer() [all …]
|
D | evhttp.h | 199 struct evhttp_connection *evcon; member 264 void evhttp_connection_free(struct evhttp_connection *evcon); 267 void evhttp_connection_set_local_address(struct evhttp_connection *evcon, 271 void evhttp_connection_set_local_port(struct evhttp_connection *evcon, 275 void evhttp_connection_set_timeout(struct evhttp_connection *evcon, 279 void evhttp_connection_set_retries(struct evhttp_connection *evcon, 283 void evhttp_connection_set_closecb(struct evhttp_connection *evcon, 290 void evhttp_connection_set_base(struct evhttp_connection *evcon, 294 void evhttp_connection_get_peer(struct evhttp_connection *evcon, 298 int evhttp_make_request(struct evhttp_connection *evcon,
|
D | evrpc.c | 477 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local 478 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout() 479 evcon->timeout = timeout_in_secs; in evrpc_pool_set_timeout() 528 ctx->evcon = connection; in evrpc_schedule_request() 637 struct evhttp_connection *evcon; in evrpc_pool_schedule() local 643 if ((evcon = evrpc_pool_find_connection(pool)) != NULL) { in evrpc_pool_schedule() 645 evrpc_schedule_request(evcon, ctx); in evrpc_pool_schedule() 653 struct evhttp_connection *evcon = ctx->evcon; in evrpc_request_timeout() local 654 assert(evcon != NULL); in evrpc_request_timeout() 656 evhttp_connection_fail(evcon, EVCON_HTTP_TIMEOUT); in evrpc_request_timeout()
|
D | evrpc.h | 192 ctx->evcon = NULL; \ 347 struct evhttp_connection *evcon; member
|
/external/chromium/third_party/libevent/test/ |
D | regress_http.c | 412 struct evhttp_connection *evcon = NULL; in http_connection_test() local 421 evcon = evhttp_connection_new("127.0.0.1", port); in http_connection_test() 422 if (evcon == NULL) { in http_connection_test() 438 if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { in http_connection_test() 466 if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { in http_connection_test() 482 if (evhttp_make_request(evcon, req, EVHTTP_REQ_GET, "/test") == -1) { in http_connection_test() 494 evhttp_connection_free(evcon); in http_connection_test() 616 struct evhttp_connection *evcon = NULL; in http_dispatcher_test() local 624 evcon = evhttp_connection_new("127.0.0.1", port); in http_dispatcher_test() 625 if (evcon == NULL) { in http_dispatcher_test() [all …]
|
D | regress_rpc.c | 181 struct evhttp_connection *evcon = NULL; in rpc_basic_test() local 188 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_test() 189 if (evcon == NULL) { in rpc_basic_test() 209 if (evhttp_make_request(evcon, req, in rpc_basic_test() 220 evhttp_connection_free(evcon); in rpc_basic_test() 264 struct evhttp_connection *evcon = NULL; in rpc_basic_message() local 272 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_message() 273 if (evcon == NULL) { in rpc_basic_message() 299 if (evhttp_make_request(evcon, req, in rpc_basic_message() 310 evhttp_connection_free(evcon); in rpc_basic_message() [all …]
|