/external/libevent/ |
D | http.c | 185 struct evhttp_connection *evcon); 187 struct evhttp_connection *evcon); 189 struct evhttp_connection *evcon); 190 static void evhttp_request_dispatch(struct evhttp_connection* evcon); 191 static void evhttp_read_firstline(struct evhttp_connection *evcon, 193 static void evhttp_read_header(struct evhttp_connection *evcon, 369 evhttp_write_buffer(struct evhttp_connection *evcon, in evhttp_write_buffer() argument 375 evcon->cb = cb; in evhttp_write_buffer() 376 evcon->cb_arg = arg; in evhttp_write_buffer() 381 bufferevent_setcb(evcon->bufev, in evhttp_write_buffer() [all …]
|
D | evrpc.c | 305 evrpc_hook_associate_meta_(&rpc_state->hook_meta, req->evcon); in evrpc_request_cb() 430 evrpc_hook_associate_meta_(&rpc_state->hook_meta, req->evcon); in evrpc_request_done() 622 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local 623 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout() 624 evhttp_connection_set_timeout(evcon, timeout_in_secs); in evrpc_pool_set_timeout() 673 ctx->evcon = connection; in evrpc_schedule_request() 721 struct evhttp_connection *connection = ctx->evcon; in evrpc_schedule_request_closure() 839 ctx->evcon = NULL; in evrpc_make_request_ctx() 878 evrpc_hook_associate_meta_(&ctx->hook_meta, ctx->evcon); in evrpc_reply_done() 957 struct evhttp_connection *evcon; in evrpc_pool_schedule() local [all …]
|
D | evrpc-internal.h | 117 struct evhttp_connection *evcon; member 122 struct evhttp_connection *evcon); 177 struct evhttp_connection *evcon; member
|
/external/libevent/sample/ |
D | http-connect.c | 22 struct evhttp_connection *evcon; member 30 struct evhttp_connection *evcon; in get_cb() local 33 evcon = evhttp_request_get_connection(req); in get_cb() 34 VERIFY(evcon); in get_cb() 47 struct evhttp_connection *evcon = base->evcon; in connect_cb() local 51 if (evcon) { in connect_cb() 54 VERIFY(!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, in connect_cb() 68 struct evhttp_connection *evcon; in main() local 102 VERIFY(evcon = evhttp_connection_base_new(base, NULL, in main() 104 connect_base.evcon = evcon; in main() [all …]
|
D | https-client.c | 203 struct evhttp_connection *evcon = NULL; in main() local 420 evcon = evhttp_connection_base_bufferevent_new(base, NULL, bev, in main() 422 if (evcon == NULL) { in main() 428 evhttp_connection_set_retries(evcon, retries); in main() 431 evhttp_connection_set_timeout(evcon, timeout); in main() 469 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main() 481 if (evcon) in main() 482 evhttp_connection_free(evcon); in main()
|
/external/libevent/test/ |
D | regress_http.c | 316 struct evhttp_connection *evcon; in http_basic_cb() local 322 evcon = evhttp_request_get_connection(req); in http_basic_cb() 323 tt_assert(evhttp_connection_get_server(evcon) == arg); in http_basic_cb() 329 sa = evhttp_connection_get_addr(evcon); in http_basic_cb() 1063 struct evhttp_connection *evcon = NULL; in http_connection_test_() local 1089 evcon = evhttp_connection_base_bufferevent_new(data->base, dnsbase, bev, address, port); in http_connection_test_() 1094 evcon = evhttp_connection_base_new(data->base, dnsbase, address, port); in http_connection_test_() 1096 tt_assert(evcon); in http_connection_test_() 1097 evhttp_connection_set_family(evcon, family); in http_connection_test_() 1099 tt_assert(evhttp_connection_get_base(evcon) == data->base); in http_connection_test_() [all …]
|
D | regress_rpc.c | 189 struct evhttp_connection *evcon = NULL; in rpc_basic_test() local 194 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_test() 195 tt_assert(evcon); in rpc_basic_test() 209 if (evhttp_make_request(evcon, req, in rpc_basic_test() 219 evhttp_connection_free(evcon); in rpc_basic_test() 258 struct evhttp_connection *evcon = NULL; in rpc_basic_message() local 264 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_message() 265 tt_assert(evcon); in rpc_basic_message() 288 if (evhttp_make_request(evcon, req, in rpc_basic_message() 299 evhttp_connection_free(evcon); in rpc_basic_message() [all …]
|
/external/libevent/include/event2/ |
D | http.h | 531 struct bufferevent* evhttp_connection_get_bufferevent(struct evhttp_connection *evcon); 537 struct evhttp *evhttp_connection_get_server(struct evhttp_connection *evcon); 653 void evhttp_connection_set_family(struct evhttp_connection *evcon, 674 int evhttp_connection_set_flags(struct evhttp_connection *evcon, 705 void evhttp_connection_set_max_headers_size(struct evhttp_connection *evcon, 709 void evhttp_connection_set_max_body_size(struct evhttp_connection* evcon, 714 void evhttp_connection_free(struct evhttp_connection *evcon); 722 void evhttp_connection_free_on_completion(struct evhttp_connection *evcon); 726 void evhttp_connection_set_local_address(struct evhttp_connection *evcon, 731 void evhttp_connection_set_local_port(struct evhttp_connection *evcon, [all …]
|
D | http_compat.h | 83 void evhttp_connection_set_base(struct evhttp_connection *evcon,
|
D | http_struct.h | 68 struct evhttp_connection *evcon; member
|
D | rpc.h | 435 struct evhttp_connection *evcon); 447 struct evhttp_connection *evcon);
|