Home
last modified time | relevance | path

Searched refs:evbuffer_add (Results 1 – 15 of 15) sorted by relevance

/external/libevent/test/
Dregress_buffer.c204 evbuffer_add(evb, buffer, sizeof(buffer)); in test_evbuffer()
229 evbuffer_add(evb_two, buffer, sizeof(buffer)); in test_evbuffer()
309 evbuffer_add(dst, buf, sizeof(buf)); in test_evbuffer_remove_buffer_with_empty()
333 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty2()
340 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty2()
374 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty3()
381 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty3()
415 evbuffer_add(buf, "foo", 3); in test_evbuffer_add_buffer_with_empty()
421 evbuffer_add(buf, "foo", 3); in test_evbuffer_add_buffer_with_empty()
446 evbuffer_add(buf, "foo", 3); in test_evbuffer_add_buffer_with_empty2()
[all …]
Dregress_iocp.c267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
Dbench_http.c61 evbuffer_add(evb, content, content_len); in http_basic_cb()
Dregress_bufferevent.c494 evbuffer_add(dst, buffer + i + 1, 1); in bufferevent_input_filter()
516 evbuffer_add(dst, "x", 1); in bufferevent_output_filter()
517 evbuffer_add(dst, buffer + i, 1); in bufferevent_output_filter()
1260 evbuffer_add(dst, header, filter_data->header_size); in bufferevent_filter_data_stuck_inputcb()
Dtest-ratelim.c120 evbuffer_add(output, buf, sizeof(buf)); in loud_writecb()
Dregress.c2409 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz()
2423 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz()
/external/libevent/
Devent_tagging.c157 evbuffer_add(evbuf, data, len); in evtag_encode_int()
165 evbuffer_add(evbuf, data, len); in evtag_encode_int64()
191 evbuffer_add(evbuf, data, bytes); in evtag_encode_tag()
262 evbuffer_add(evbuf, (void *)data, len); in evtag_marshal()
284 evbuffer_add(evbuf, data, len); in evtag_marshal_int()
296 evbuffer_add(evbuf, data, len); in evtag_marshal_int64()
474 if (evbuffer_add(dst, evbuffer_pullup(src, len), len) == -1) in evtag_unmarshal()
Dhttp.c613 evbuffer_add(output, "\r\n", 2); in evhttp_make_header()
2863 evbuffer_add(output, "\r\n", 2); in evhttp_send_reply_chunk_with_cb()
2890 evbuffer_add(output, "0\r\n\r\n", 5); in evhttp_send_reply_end()
3092 evbuffer_add(buf, p, 1); in evhttp_uriencode()
3094 evbuffer_add(buf, "+", 1); in evhttp_uriencode()
3100 evbuffer_add(buf, "", 1); /* NUL-terminator. */ in evhttp_uriencode()
4850 #define URI_ADD_(f) evbuffer_add(tmp, uri->f, strlen(uri->f)) in evhttp_uri_join()
4861 evbuffer_add(tmp, ":", 1); in evhttp_uri_join()
4864 evbuffer_add(tmp, "//", 2); in evhttp_uri_join()
4879 evbuffer_add(tmp, "?", 1); in evhttp_uri_join()
[all …]
Dbufferevent.c432 if (evbuffer_add(bufev->output, data, size) == -1) in bufferevent_write()
Dbuffer.c657 if (evbuffer_add(buf, vec[n].iov_base, vec[n].iov_len) < 0) { in evbuffer_add_iovec()
1322 evbuffer_add(dst, chain->buffer + chain->misalign, datlen); in evbuffer_remove_buffer()
1723 evbuffer_add(struct evbuffer *buf, const void *data_in, size_t datlen) in evbuffer_add() function
Dbufferevent_openssl.c186 evbuffer_add(output, in, inlen); in bio_bufferevent_write()
DChangeLog181 o evbuffer_add: Use last_with_datap if set, not last. (a8769ef Marcus Sundberg)
209 …o test/regress: add tests for evbuffer_add() breakage on empty last chain (d5ee739 Marcus Sundberg)
451 …o Avoid integer overflow bugs in evbuffer_add() and related functions. See CVE-2014-6272 advisory…
1302 o Make evbuffer callbacks get the right n_added value after evbuffer_add (1ef1f68 Alex)
DChangeLog-2.0186 o Make evbuffer callbacks get the right n_added value after evbuffer_add (1ef1f68 Alex)
454 o Correct logic for realigning a chain in evbuffer_add (e4f34e8)
/external/libevent/include/event2/
Dbuffer.h336 int evbuffer_add(struct evbuffer *buf, const void *data, size_t datlen);
/external/libevent/sample/
Dhttps-client.c453 evbuffer_add(output_buffer, buf, s); in main()