Searched refs:evb (Results 1 – 2 of 2) sorted by relevance
216 struct evbuffer *evb = evbuffer_new(); in http_basic_cb() local219 evbuffer_add_printf(evb, "This is funny"); in http_basic_cb()240 !empty ? evb : NULL); in http_basic_cb()242 evbuffer_free(evb); in http_basic_cb()259 struct evbuffer *evb = evbuffer_new(); in http_chunked_trickle_cb() local263 evbuffer_add_printf(evb, "%s", CHUNKS[state->i]); in http_chunked_trickle_cb()264 evhttp_send_reply_chunk(state->req, evb); in http_chunked_trickle_cb()265 evbuffer_free(evb); in http_chunked_trickle_cb()573 struct evbuffer *evb = evbuffer_new(); in http_dispatcher_cb() local575 evbuffer_add_printf(evb, "DISPATCHER_TEST"); in http_dispatcher_cb()[all …]
1008 struct evbuffer *evb = evbuffer_new(); in test_evbuffer() local1011 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer()1013 if (EVBUFFER_LENGTH(evb) == 7 && in test_evbuffer()1014 strcmp((char*)EVBUFFER_DATA(evb), "hello/1") == 0) in test_evbuffer()1017 evbuffer_free(evb); in test_evbuffer()