/external/libevent/sample/ |
H A D | http-connect.c | 21 struct evhttp_connection *evcon; member in struct:connect_base 43 struct evhttp_connection *evcon = base->evcon; local 47 if (evcon) { 50 VERIFY(!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, 64 struct evhttp_connection *evcon; local 98 VERIFY(evcon = evhttp_connection_base_new(base, NULL, 100 connect_base.evcon = evcon; 108 evhttp_make_request(evcon, re [all...] |
H A D | https-client.c | 204 struct evhttp_connection *evcon = NULL; local 412 evcon = evhttp_connection_base_bufferevent_new(base, NULL, bev, 414 if (evcon == NULL) { 420 evhttp_connection_set_retries(evcon, retries); 423 evhttp_connection_set_timeout(evcon, timeout); 461 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); 473 if (evcon) 474 evhttp_connection_free(evcon);
|
/external/libevent/include/event2/ |
H A D | http_struct.h | 68 struct evhttp_connection *evcon; member in struct:evhttp_request
|
/external/libevent/ |
H A D | evrpc-internal.h | 117 struct evhttp_connection *evcon; member in struct:evrpc_hook_meta 122 struct evhttp_connection *evcon); 177 struct evhttp_connection *evcon; member in struct:evrpc_request_wrapper
|
H A D | evrpc.c | 305 evrpc_hook_associate_meta_(&rpc_state->hook_meta, req->evcon); 429 evrpc_hook_associate_meta_(&rpc_state->hook_meta, req->evcon); 621 struct evhttp_connection *evcon; local 622 TAILQ_FOREACH(evcon, &pool->connections, next) { 623 evhttp_connection_set_timeout(evcon, timeout_in_secs); 672 ctx->evcon = connection; 720 struct evhttp_connection *connection = ctx->evcon; 838 ctx->evcon = NULL; 877 evrpc_hook_associate_meta_(&ctx->hook_meta, ctx->evcon); 957 struct evhttp_connection *evcon; local 973 struct evhttp_connection *evcon = ctx->evcon; local 1011 evrpc_hook_associate_meta_(struct evrpc_hook_meta **pctx, struct evhttp_connection *evcon) argument [all...] |
H A D | http.c | 177 struct evhttp_connection *evcon); 179 struct evhttp_connection *evcon); 181 struct evhttp_connection *evcon); 182 static void evhttp_request_dispatch(struct evhttp_connection* evcon); 183 static void evhttp_read_firstline(struct evhttp_connection *evcon, 185 static void evhttp_read_header(struct evhttp_connection *evcon, 356 /** Helper: called after we've added some data to an evcon's bufferevent's 361 evhttp_write_buffer(struct evhttp_connection *evcon, argument 367 evcon->cb = cb; 368 evcon 383 evhttp_send_continue_done(struct evhttp_connection *evcon, void *arg) argument 389 evhttp_send_continue(struct evhttp_connection *evcon, struct evhttp_request *req) argument 407 evhttp_connected(struct evhttp_connection *evcon) argument 429 evhttp_make_header_request(struct evhttp_connection *evcon, struct evhttp_request *req) argument 519 evhttp_make_header_response(struct evhttp_connection *evcon, struct evhttp_request *req) argument 594 evhttp_make_header(struct evhttp_connection *evcon, struct evhttp_request *req) argument 626 evhttp_connection_set_max_headers_size(struct evhttp_connection *evcon, ev_ssize_t new_max_headers_size) argument 635 evhttp_connection_set_max_body_size(struct evhttp_connection* evcon, ev_ssize_t new_max_body_size) argument 711 evhttp_request_free_(struct evhttp_connection *evcon, struct evhttp_request *req) argument 722 evhttp_connection_fail_(struct evhttp_connection *evcon, enum evhttp_request_error error) argument 792 struct evhttp_connection *evcon = arg; local 807 evhttp_connection_done(struct evhttp_connection *evcon) argument 980 evhttp_read_trailer(struct evhttp_connection *evcon, struct evhttp_request *req) argument 1001 evhttp_lingering_close(struct evhttp_connection *evcon, struct evhttp_request *req) argument 1020 evhttp_lingering_fail(struct evhttp_connection *evcon, struct evhttp_request *req) argument 1030 evhttp_read_body(struct evhttp_connection *evcon, struct evhttp_request *req) argument 1117 struct evhttp_connection *evcon = arg; local 1172 struct evhttp_connection *evcon = data; local 1177 evhttp_write_connectioncb(struct evhttp_connection *evcon, void *arg) argument 1202 evhttp_connection_free(struct evhttp_connection *evcon) argument 1258 evhttp_connection_free_on_completion(struct evhttp_connection *evcon) argument 1263 evhttp_connection_set_local_address(struct evhttp_connection *evcon, const char *address) argument 1274 evhttp_connection_set_local_port(struct evhttp_connection *evcon, ev_uint16_t port) argument 1282 evhttp_request_dispatch(struct evhttp_connection* evcon) argument 1307 evhttp_connection_reset_(struct evhttp_connection *evcon) argument 1353 evhttp_connection_start_detectclose(struct evhttp_connection *evcon) argument 1361 evhttp_connection_stop_detectclose(struct evhttp_connection *evcon) argument 1371 struct evhttp_connection *evcon = arg; local 1378 evhttp_connection_cb_cleanup(struct evhttp_connection *evcon) argument 1431 evhttp_connection_read_on_write_error(struct evhttp_connection *evcon, struct evhttp_request *req) argument 1457 struct evhttp_connection *evcon = arg; local 1542 struct evhttp_connection *evcon = arg; local 2174 evhttp_get_body(struct evhttp_connection *evcon, struct evhttp_request *req) argument 2233 evhttp_read_firstline(struct evhttp_connection *evcon, struct evhttp_request *req) argument 2255 evhttp_read_header(struct evhttp_connection *evcon, struct evhttp_request *req) argument 2341 struct evhttp_connection *evcon = NULL; local 2402 evhttp_connection_get_bufferevent(struct evhttp_connection *evcon) argument 2408 evhttp_connection_get_server(struct evhttp_connection *evcon) argument 2420 evhttp_connection_set_family(struct evhttp_connection *evcon, int family) argument 2426 evhttp_connection_set_flags(struct evhttp_connection *evcon, int flags) argument 2443 evhttp_connection_set_base(struct evhttp_connection *evcon, struct event_base *base) argument 2453 evhttp_connection_set_timeout(struct evhttp_connection *evcon, int timeout_in_secs) argument 2467 evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon, const struct timeval* tv) argument 2482 evhttp_connection_set_initial_retry_tv(struct evhttp_connection *evcon, const struct timeval *tv) argument 2494 evhttp_connection_set_retries(struct evhttp_connection *evcon, int retry_max) argument 2501 evhttp_connection_set_closecb(struct evhttp_connection *evcon, void (*cb)(struct evhttp_connection *, void *), void *cbarg) argument 2509 evhttp_connection_get_peer(struct evhttp_connection *evcon, char **address, ev_uint16_t *port) argument 2517 evhttp_connection_get_addr(struct evhttp_connection *evcon) argument 2523 evhttp_connection_connect_(struct evhttp_connection *evcon) argument 2604 evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri) argument 2658 struct evhttp_connection *evcon = req->evcon; local 2687 evhttp_start_read_(struct evhttp_connection *evcon) argument 2709 evhttp_start_write_(struct evhttp_connection *evcon) argument 2719 evhttp_send_done(struct evhttp_connection *evcon, void *arg) argument 2787 struct evhttp_connection *evcon = req->evcon; local 2845 struct evhttp_connection *evcon = req->evcon; local 2876 struct evhttp_connection *evcon = req->evcon; local 3674 struct evhttp_connection *evcon; local 4168 struct evhttp_connection *evcon; local 4211 evhttp_associate_new_request_with_connection(struct evhttp_connection *evcon) argument 4249 struct evhttp_connection *evcon; local [all...] |
/external/libevent/test/ |
H A D | regress_rpc.c | 190 struct evhttp_connection *evcon = NULL; local 195 evcon = evhttp_connection_new("127.0.0.1", port); 196 tt_assert(evcon); 210 if (evhttp_make_request(evcon, req, 220 evhttp_connection_free(evcon); 259 struct evhttp_connection *evcon = NULL; local 265 evcon = evhttp_connection_new("127.0.0.1", port); 266 tt_assert(evcon); 289 if (evhttp_make_request(evcon, req, 300 evhttp_connection_free(evcon); 311 struct evhttp_connection *evcon; local [all...] |
H A D | regress_http.c | 307 struct evhttp_connection *evcon; local 312 evcon = evhttp_request_get_connection(req); 313 tt_assert(evhttp_connection_get_server(evcon) == arg); 1019 struct evhttp_connection *evcon = NULL; local 1045 evcon = evhttp_connection_base_bufferevent_new(data->base, dnsbase, bev, address, port); 1050 evcon = evhttp_connection_base_new(data->base, dnsbase, address, port); 1052 tt_assert(evcon); 1053 evhttp_connection_set_family(evcon, family); 1055 tt_assert(evhttp_connection_get_base(evcon) == data->base); 1059 tt_assert(evhttp_connection_get_server(evcon) 1145 struct evhttp_connection *evcon = NULL; local 1239 struct evhttp_connection *evcon = NULL; local 1348 struct evhttp_connection *evcon, **orig = evcons; local 1363 struct evhttp_connection **evcon = malloc(sizeof(*evcon) * (BACKLOG_SIZE + 1)); local 1412 struct evhttp_connection *evcon = NULL; local 1623 struct evhttp_connection *evcon = NULL; local 1877 struct evhttp_connection *evcon = NULL; local 1926 struct evhttp_connection *evcon = NULL; local 2065 struct evhttp_connection *evcon = NULL; local 2238 struct evhttp_connection *evcon = arg; local 2256 struct evhttp_connection *evcon = arg; local 2279 struct evhttp_connection *evcon = NULL; local 3261 struct evhttp_connection *evcon = NULL; local 3337 struct evhttp_connection *evcon = NULL; local 3409 struct evhttp_connection *evcon; local 3482 struct evhttp_connection *evcon; local 3510 struct evhttp_connection *evcon = arg; local 3534 struct evhttp_connection *evcon = NULL; local 3608 struct evhttp_connection *evcon = NULL; local 3650 struct evhttp_connection *evcon = NULL; local 3913 struct evhttp_connection *evcon = NULL; local 3979 struct evhttp_connection *evcon = NULL; local 4100 struct evhttp_connection *evcon = NULL; local 4199 terminate_chunked_close_cb(struct evhttp_connection *evcon, void *arg) argument 4351 http_request_get_addr_on_close(struct evhttp_connection *evcon, void *arg) argument 4378 struct evhttp_connection *evcon = NULL; local 4484 struct evhttp_connection *evcon = NULL; local [all...] |