| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | http.c | 757 (*evcon->cb)(evcon, evcon->cb_arg); in evhttp_write_cb() 1116 evhttp_read_cb(evcon->bufev, evcon); in evhttp_deferred_read_cb() 1146 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_free() 1264 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_reset_() 1312 if (evcon->retry_max < 0 || evcon->retry_cnt < evcon->retry_max) { in evhttp_connection_cb_cleanup() 1472 __func__, evcon->address, evcon->port, in evhttp_connection_cb() 1480 __func__, evcon->address, evcon->port, in evhttp_connection_cb() 1515 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_cb() 2368 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_set_timeout_tv() 2463 evcon->ai_family, evcon->address, evcon->port) < 0) { in evhttp_connection_connect_() [all …]
|
| H A D | evrpc.c | 621 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local 622 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout() 672 ctx->evcon = connection; in evrpc_schedule_request() 838 ctx->evcon = NULL; in evrpc_make_request_ctx() 957 struct evhttp_connection *evcon; in evrpc_pool_schedule() local 965 evrpc_schedule_request(evcon, ctx); in evrpc_pool_schedule() 973 struct evhttp_connection *evcon = ctx->evcon; in evrpc_request_timeout() local 974 EVUTIL_ASSERT(evcon != NULL); in evrpc_request_timeout() 1005 ctx->evcon = NULL; in evrpc_hook_meta_new_() 1012 struct evhttp_connection *evcon) in evrpc_hook_associate_meta_() argument [all …]
|
| H A D | evrpc-internal.h | 117 struct evhttp_connection *evcon; member 122 struct evhttp_connection *evcon); 177 struct evhttp_connection *evcon; member
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | http.c | 796 (*evcon->cb)(evcon, evcon->cb_arg); in evhttp_write_cb() 1173 evhttp_read_cb(evcon->bufev, evcon); in evhttp_deferred_read_cb() 1209 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_free() 1331 (*evcon->closecb)(evcon, evcon->closecb_arg); in evhttp_connection_reset_() 1383 if (evcon->retry_max < 0 || evcon->retry_cnt < evcon->retry_max) { in evhttp_connection_cb_cleanup() 1572 __func__, evcon->address, evcon->port, in evhttp_connection_cb() 1607 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_cb() 2472 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_set_timeout_tv() 2562 bufferevent_set_timeouts(evcon->bufev, &evcon->timeout, &evcon->timeout); in evhttp_connection_connect_() 2579 evcon->dns_base, evcon->ai_family, address, evcon->port); in evhttp_connection_connect_() [all …]
|
| H A D | evrpc.c | 621 struct evhttp_connection *evcon; in evrpc_pool_set_timeout() local 622 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout() 672 ctx->evcon = connection; in evrpc_schedule_request() 838 ctx->evcon = NULL; in evrpc_make_request_ctx() 957 struct evhttp_connection *evcon; in evrpc_pool_schedule() local 965 evrpc_schedule_request(evcon, ctx); in evrpc_pool_schedule() 973 struct evhttp_connection *evcon = ctx->evcon; in evrpc_request_timeout() local 974 EVUTIL_ASSERT(evcon != NULL); in evrpc_request_timeout() 1005 ctx->evcon = NULL; in evrpc_hook_meta_new_() 1012 struct evhttp_connection *evcon) in evrpc_hook_associate_meta_() argument [all …]
|
| H A D | evrpc-internal.h | 117 struct evhttp_connection *evcon; member 122 struct evhttp_connection *evcon); 177 struct evhttp_connection *evcon; member
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_http.c | 1049 if (evcon) in http_connection_test_() 1157 if (evcon) in http_connection_async_test() 1217 if (evcon) in http_autofree_connection_test() 1320 if (evcon) in http_cancel_test() 1523 if (evcon) in http_virtual_host_test() 1651 if (evcon) in http_dispatcher_test() 2067 if (evcon) in http_close_detection_() 3067 if (evcon) in http_chunk_out_test() 3109 if (evcon) in http_stream_out_test() 3182 if (evcon) in http_stream_in_test_() [all …]
|
| H A D | regress_rpc.c | 190 struct evhttp_connection *evcon = NULL; in rpc_basic_test() local 196 tt_assert(evcon); in rpc_basic_test() 210 if (evhttp_make_request(evcon, req, in rpc_basic_test() 220 evhttp_connection_free(evcon); in rpc_basic_test() 259 struct evhttp_connection *evcon = NULL; in rpc_basic_message() local 266 tt_assert(evcon); in rpc_basic_message() 289 if (evhttp_make_request(evcon, req, in rpc_basic_message() 300 evhttp_connection_free(evcon); in rpc_basic_message() 311 struct evhttp_connection *evcon; in rpc_pool_with_connection() local 318 assert(evcon != NULL); in rpc_pool_with_connection() [all …]
|
| /freebsd-13.1/contrib/libevent/test/ |
| H A D | regress_http.c | 1118 if (evcon) in http_connection_test_() 1225 if (evcon) in http_connection_async_test() 1285 if (evcon) in http_autofree_connection_test() 1549 if (evcon) in http_cancel_test() 1770 if (evcon) in http_virtual_host_test() 1907 if (evcon) in http_dispatcher_test() 2320 if (evcon) in http_close_detection_() 3324 if (evcon) in http_chunk_out_test_impl() 3370 if (evcon) in http_stream_out_test_impl() 3445 if (evcon) in http_stream_in_test_() [all …]
|
| H A D | regress_rpc.c | 190 struct evhttp_connection *evcon = NULL; in rpc_basic_test() local 196 tt_assert(evcon); in rpc_basic_test() 210 if (evhttp_make_request(evcon, req, in rpc_basic_test() 220 evhttp_connection_free(evcon); in rpc_basic_test() 259 struct evhttp_connection *evcon = NULL; in rpc_basic_message() local 266 tt_assert(evcon); in rpc_basic_message() 289 if (evhttp_make_request(evcon, req, in rpc_basic_message() 300 evhttp_connection_free(evcon); in rpc_basic_message() 311 struct evhttp_connection *evcon; in rpc_pool_with_connection() local 318 assert(evcon != NULL); in rpc_pool_with_connection() [all …]
|
| /freebsd-13.1/contrib/libevent/sample/ |
| H A D | http-connect.c | 21 struct evhttp_connection *evcon; member 43 struct evhttp_connection *evcon = base->evcon; in connect_cb() local 47 if (evcon) { in connect_cb() 50 VERIFY(!evhttp_make_request(evcon, req, EVHTTP_REQ_GET, in connect_cb() 64 struct evhttp_connection *evcon; in main() local 98 VERIFY(evcon = evhttp_connection_base_new(base, NULL, in main() 100 connect_base.evcon = evcon; in main() 108 evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, buffer); in main() 111 evhttp_connection_free(evcon); in main()
|
| H A D | https-client.c | 204 struct evhttp_connection *evcon = NULL; in main() local 412 evcon = evhttp_connection_base_bufferevent_new(base, NULL, bev, in main() 414 if (evcon == NULL) { in main() 420 evhttp_connection_set_retries(evcon, retries); in main() 423 evhttp_connection_set_timeout(evcon, timeout); in main() 461 r = evhttp_make_request(evcon, req, data_file ? EVHTTP_REQ_POST : EVHTTP_REQ_GET, uri); in main() 473 if (evcon) in main() 474 evhttp_connection_free(evcon); in main()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/include/event2/ |
| H A D | http.h | 636 void evhttp_connection_set_family(struct evhttp_connection *evcon, 671 void evhttp_connection_set_max_body_size(struct evhttp_connection* evcon, 676 void evhttp_connection_free(struct evhttp_connection *evcon); 693 void evhttp_connection_set_local_port(struct evhttp_connection *evcon, 698 void evhttp_connection_set_timeout(struct evhttp_connection *evcon, 704 void evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon, 717 void evhttp_connection_set_retries(struct evhttp_connection *evcon, 722 void evhttp_connection_set_closecb(struct evhttp_connection *evcon, 727 void evhttp_connection_get_peer(struct evhttp_connection *evcon, 738 evhttp_connection_get_addr(struct evhttp_connection *evcon); [all …]
|
| H A D | http_compat.h | 79 void evhttp_connection_set_base(struct evhttp_connection *evcon,
|
| H A D | http_struct.h | 68 struct evhttp_connection *evcon; member
|
| H A D | rpc.h | 417 struct evhttp_connection *evcon); 428 struct evhttp_connection *evcon);
|
| /freebsd-13.1/contrib/libevent/include/event2/ |
| H A D | http.h | 650 void evhttp_connection_set_family(struct evhttp_connection *evcon, 671 int evhttp_connection_set_flags(struct evhttp_connection *evcon, 711 void evhttp_connection_free(struct evhttp_connection *evcon); 728 void evhttp_connection_set_local_port(struct evhttp_connection *evcon, 733 void evhttp_connection_set_timeout(struct evhttp_connection *evcon, 739 void evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon, 752 void evhttp_connection_set_retries(struct evhttp_connection *evcon, 757 void evhttp_connection_set_closecb(struct evhttp_connection *evcon, 762 void evhttp_connection_get_peer(struct evhttp_connection *evcon, 773 evhttp_connection_get_addr(struct evhttp_connection *evcon); [all …]
|
| H A D | http_compat.h | 79 void evhttp_connection_set_base(struct evhttp_connection *evcon,
|
| H A D | http_struct.h | 68 struct evhttp_connection *evcon; member
|
| H A D | rpc.h | 417 struct evhttp_connection *evcon); 428 struct evhttp_connection *evcon);
|