Home
last modified time | relevance | path

Searched refs:evbuffer_add_printf (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c182 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer()
196 evbuffer_add_printf(evb_two, "%s", "/hello"); in test_evbuffer()
931 evbuffer_add_printf(buf, "3"); in test_evbuffer_add1()
960 evbuffer_add_printf(buf, "3"); in test_evbuffer_add2()
1045 evbuffer_add_printf(buf, "3"); in test_evbuffer_reference2()
1698 evbuffer_add_printf(buf, format, abc); in test_evbuffer_iterative()
1859 evbuffer_add_printf(tmp, "hello"); /* 5 chars */ in test_evbuffer_search()
1861 evbuffer_add_printf(tmp, "foo"); /* 3 chars */ in test_evbuffer_search()
1863 evbuffer_add_printf(tmp, "cat"); /* 3 chars */ in test_evbuffer_search()
1865 evbuffer_add_printf(tmp, "attack"); in test_evbuffer_search()
[all …]
H A Dregress_http.c324 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_basic_cb()
402 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_large_cb()
427 evbuffer_add_printf(evb, "%s", CHUNKS[state->i]); in http_chunked_trickle_cb()
535 evbuffer_add_printf(out, in http_basic_test_impl()
554 evbuffer_add_printf(out, in http_basic_test_impl()
624 evbuffer_add_printf(buf, "Hello, %s!", "127.0.0.1"); in http_badreq_cb()
797 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_delete_cb()
880 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_on_complete_cb()
1873 evbuffer_add_printf(evb, "DISPATCHER_TEST"); in http_dispatcher_cb()
1989 evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); in http_post_test()
[all …]
H A Dregress_ssl.c345 evbuffer_add_printf(bufferevent_get_output(bev), in respond_to_number()
389 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in eventcb()
529 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl()
553 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl()
788 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in regress_bufferevent_openssl_connect()
H A Dbench_httpclient.c170 evbuffer_add_printf(bufferevent_get_output(b), in launch_request()
H A Dregress_rpc.c207 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); in rpc_basic_test()
906 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); in rpc_invalid_type()
/freebsd/contrib/libevent/test/
H A Dregress_buffer.c182 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer()
196 evbuffer_add_printf(evb_two, "%s", "/hello"); in test_evbuffer()
931 evbuffer_add_printf(buf, "3"); in test_evbuffer_add1()
960 evbuffer_add_printf(buf, "3"); in test_evbuffer_add2()
1045 evbuffer_add_printf(buf, "3"); in test_evbuffer_reference2()
1698 evbuffer_add_printf(buf, format, abc); in test_evbuffer_iterative()
1859 evbuffer_add_printf(tmp, "hello"); /* 5 chars */ in test_evbuffer_search()
1861 evbuffer_add_printf(tmp, "foo"); /* 3 chars */ in test_evbuffer_search()
1863 evbuffer_add_printf(tmp, "cat"); /* 3 chars */ in test_evbuffer_search()
1865 evbuffer_add_printf(tmp, "attack"); in test_evbuffer_search()
[all …]
H A Dregress_http.c324 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_basic_cb()
402 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_large_cb()
427 evbuffer_add_printf(evb, "%s", CHUNKS[state->i]); in http_chunked_trickle_cb()
535 evbuffer_add_printf(out, in http_basic_test_impl()
554 evbuffer_add_printf(out, in http_basic_test_impl()
624 evbuffer_add_printf(buf, "Hello, %s!", "127.0.0.1"); in http_badreq_cb()
797 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_delete_cb()
880 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_on_complete_cb()
1873 evbuffer_add_printf(evb, "DISPATCHER_TEST"); in http_dispatcher_cb()
1989 evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); in http_post_test()
[all …]
H A Dregress_ssl.c345 evbuffer_add_printf(bufferevent_get_output(bev), in respond_to_number()
389 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in eventcb()
529 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl()
553 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl()
788 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in regress_bufferevent_openssl_connect()
H A Dbench_httpclient.c170 evbuffer_add_printf(bufferevent_get_output(b), in launch_request()
H A Dregress_rpc.c207 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); in rpc_basic_test()
906 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); in rpc_invalid_type()
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dhttp-server.c272 evbuffer_add_printf(evb, in send_document_cb()
293 evbuffer_add_printf(evb, in send_document_cb()
301 evbuffer_add_printf(evb, "</ul></body></html>\n"); in send_document_cb()
/freebsd/contrib/libevent/sample/
H A Dhttp-server.c272 evbuffer_add_printf(evb, in send_document_cb()
293 evbuffer_add_printf(evb, in send_document_cb()
301 evbuffer_add_printf(evb, "</ul></body></html>\n"); in send_document_cb()
/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c402 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_send_continue()
450 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_request()
535 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_response()
622 evbuffer_add_printf(output, "%s: %s\r\n", in evhttp_make_header()
2822 evbuffer_add_printf(buf, ERR_FORMAT, error, reason, reason); in evhttp_send_error()
2910 evbuffer_add_printf(output, "%x\r\n", in evhttp_send_reply_chunk_with_cb()
3147 evbuffer_add_printf(buf, "%%%02X", (unsigned char)(*p)); in evhttp_uriencode()
3528 evbuffer_add_printf(buf, ERR_FORMAT, escaped_html); in evhttp_handle_request()
4970 evbuffer_add_printf(tmp,"%s@", uri->userinfo); in evhttp_uri_join()
4973 evbuffer_add_printf(tmp,":%d", uri->port); in evhttp_uri_join()
H A Dbuffer.c2908 evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...) in evbuffer_add_printf() function
/freebsd/contrib/libevent/
H A Dhttp.c402 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_send_continue()
450 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_request()
535 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_response()
622 evbuffer_add_printf(output, "%s: %s\r\n", in evhttp_make_header()
2822 evbuffer_add_printf(buf, ERR_FORMAT, error, reason, reason); in evhttp_send_error()
2910 evbuffer_add_printf(output, "%x\r\n", in evhttp_send_reply_chunk_with_cb()
3147 evbuffer_add_printf(buf, "%%%02X", (unsigned char)(*p)); in evhttp_uriencode()
3528 evbuffer_add_printf(buf, ERR_FORMAT, escaped_html); in evhttp_handle_request()
4970 evbuffer_add_printf(tmp,"%s@", uri->userinfo); in evhttp_uri_join()
4973 evbuffer_add_printf(tmp,":%d", uri->port); in evhttp_uri_join()
H A Dbuffer.c2908 evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...) in evbuffer_add_printf() function
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer.h662 int evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...)
/freebsd/contrib/libevent/include/event2/
H A Dbuffer.h662 int evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...)
/freebsd/contrib/pf/libevent/
H A Devent.h285 int evbuffer_add_printf(struct evbuffer *, const char *fmt, ...);
H A Dbuffer.c171 evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...) in evbuffer_add_printf() function