Searched refs:evbuffer_add_printf (Results 1 – 9 of 9) sorted by relevance
/external/libevent/sample/ |
D | http-server.c | 249 evbuffer_add_printf(evb, in send_document_cb() 270 evbuffer_add_printf(evb, in send_document_cb() 278 evbuffer_add_printf(evb, "</ul></body></html>\n"); in send_document_cb()
|
/external/libevent/test/ |
D | regress_buffer.c | 180 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer() 194 evbuffer_add_printf(evb_two, "%s", "/hello"); in test_evbuffer() 741 evbuffer_add_printf(buf, "3"); in test_evbuffer_add1() 770 evbuffer_add_printf(buf, "3"); in test_evbuffer_add2() 855 evbuffer_add_printf(buf, "3"); in test_evbuffer_reference2() 1508 evbuffer_add_printf(buf, format, abc); in test_evbuffer_iterative() 1669 evbuffer_add_printf(tmp, "hello"); /* 5 chars */ in test_evbuffer_search() 1671 evbuffer_add_printf(tmp, "foo"); /* 3 chars */ in test_evbuffer_search() 1673 evbuffer_add_printf(tmp, "cat"); /* 3 chars */ in test_evbuffer_search() 1675 evbuffer_add_printf(tmp, "attack"); in test_evbuffer_search() [all …]
|
D | regress_ssl.c | 285 evbuffer_add_printf(bufferevent_get_output(bev), in respond_to_number() 328 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in eventcb() 473 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl() 497 evbuffer_add_printf(bufferevent_get_output(bev1), "1\n"); in regress_bufferevent_openssl() 725 evbuffer_add_printf(bufferevent_get_output(bev), "1\n"); in regress_bufferevent_openssl_connect()
|
D | regress_http.c | 310 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_basic_cb() 356 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_large_cb() 381 evbuffer_add_printf(evb, "%s", CHUNKS[state->i]); in http_chunked_trickle_cb() 579 evbuffer_add_printf(buf, "Hello, %s!", "127.0.0.1"); in http_badreq_cb() 751 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_delete_cb() 834 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_on_complete_cb() 1829 evbuffer_add_printf(evb, "DISPATCHER_TEST"); in http_dispatcher_cb() 1945 evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); in http_post_test() 1965 evbuffer_add_printf(evhttp_request_get_output_buffer(req), POST_DATA); in http_post_test() 2008 evbuffer_add_printf(evb, BASIC_REQUEST_BODY); in http_post_cb() [all …]
|
D | bench_httpclient.c | 170 evbuffer_add_printf(bufferevent_get_output(b), in launch_request()
|
D | regress_rpc.c | 208 evbuffer_add_printf(req->output_buffer, "Some Nonsense"); in rpc_basic_test()
|
/external/libevent/ |
D | http.c | 393 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_send_continue() 441 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_request() 523 evbuffer_add_printf(bufferevent_get_output(evcon->bufev), in evhttp_make_header_response() 610 evbuffer_add_printf(output, "%s: %s\r\n", in evhttp_make_header() 2774 evbuffer_add_printf(buf, ERR_FORMAT, error, reason, reason); in evhttp_send_error() 2858 evbuffer_add_printf(output, "%x\r\n", in evhttp_send_reply_chunk_with_cb() 3096 evbuffer_add_printf(buf, "%%%02X", (unsigned char)(*p)); in evhttp_uriencode() 3471 evbuffer_add_printf(buf, ERR_FORMAT, escaped_html); in evhttp_handle_request() 4866 evbuffer_add_printf(tmp,"%s@", uri->userinfo); in evhttp_uri_join() 4869 evbuffer_add_printf(tmp,":%d", uri->port); in evhttp_uri_join()
|
D | buffer.c | 2895 evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...) in evbuffer_add_printf() function
|
/external/libevent/include/event2/ |
D | buffer.h | 662 int evbuffer_add_printf(struct evbuffer *buf, const char *fmt, ...)
|