/external/libevent/test/ |
D | regress_buffer.c | 204 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 …]
|
D | regress_iocp.c | 267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer() 271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer()
|
D | bench_http.c | 61 evbuffer_add(evb, content, content_len); in http_basic_cb()
|
D | regress_bufferevent.c | 494 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()
|
D | test-ratelim.c | 120 evbuffer_add(output, buf, sizeof(buf)); in loud_writecb()
|
D | regress.c | 2409 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz() 2423 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz()
|
/external/libevent/ |
D | event_tagging.c | 157 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()
|
D | http.c | 613 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 …]
|
D | bufferevent.c | 432 if (evbuffer_add(bufev->output, data, size) == -1) in bufferevent_write()
|
D | buffer.c | 657 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
|
D | bufferevent_openssl.c | 186 evbuffer_add(output, in, inlen); in bio_bufferevent_write()
|
D | ChangeLog | 181 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)
|
D | ChangeLog-2.0 | 186 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/ |
D | buffer.h | 336 int evbuffer_add(struct evbuffer *buf, const void *data, size_t datlen);
|
/external/libevent/sample/ |
D | https-client.c | 453 evbuffer_add(output_buffer, buf, s); in main()
|