/external/libevent/test/ |
D | regress_buffer.c | 206 evbuffer_add(evb, buffer, sizeof(buffer)); in test_evbuffer() 231 evbuffer_add(evb_two, buffer, sizeof(buffer)); in test_evbuffer() 311 evbuffer_add(dst, buf, sizeof(buf)); in test_evbuffer_remove_buffer_with_empty() 341 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty2() 348 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty2() 388 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty3() 395 evbuffer_add(buf, "foo", 3); in test_evbuffer_remove_buffer_with_empty3() 434 evbuffer_add(buf, "foo", 3); in test_evbuffer_pullup_with_empty() 448 evbuffer_add(buf, "foo", 3); in test_evbuffer_pullup_with_empty() 472 tt_int_op(evbuffer_add(buf1, "bar", 3), ==, 0); in test_evbuffer_remove_buffer_with_empty_front() [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 | 507 evbuffer_add(dst, buffer + i + 1, 1); in bufferevent_input_filter() 529 evbuffer_add(dst, "x", 1); in bufferevent_output_filter() 530 evbuffer_add(dst, buffer + i, 1); in bufferevent_output_filter() 1287 evbuffer_add(dst, header, filter_data->header_size); in bufferevent_filter_data_stuck_inputcb()
|
D | regress_ssl.c | 920 evbuffer_add(server.data, payload, payload_len); in regress_bufferevent_openssl_wm() 921 evbuffer_add(client.data, payload, payload_len); in regress_bufferevent_openssl_wm()
|
D | test-ratelim.c | 136 evbuffer_add(output, buf, sizeof(buf)); in loud_writecb()
|
D | regress.c | 2480 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz() 2494 evbuffer_add(tmp, buffer, sizeof(buffer)); in evtag_fuzz()
|
/external/libevent/ |
D | event_tagging.c | 161 evbuffer_add(evbuf, data, len); in evtag_encode_int() 169 evbuffer_add(evbuf, data, len); in evtag_encode_int64() 195 evbuffer_add(evbuf, data, bytes); in evtag_encode_tag() 266 evbuffer_add(evbuf, (void *)data, len); in evtag_marshal() 288 evbuffer_add(evbuf, data, len); in evtag_marshal_int() 300 evbuffer_add(evbuf, data, len); in evtag_marshal_int64() 478 if (evbuffer_add(dst, evbuffer_pullup(src, len), len) == -1) in evtag_unmarshal()
|
D | http.c | 625 evbuffer_add(output, "\r\n", 2); in evhttp_make_header() 2915 evbuffer_add(output, "\r\n", 2); in evhttp_send_reply_chunk_with_cb() 2942 evbuffer_add(output, "0\r\n\r\n", 5); in evhttp_send_reply_end() 3143 evbuffer_add(buf, p, 1); in evhttp_uriencode() 3145 evbuffer_add(buf, "+", 1); in evhttp_uriencode() 3151 evbuffer_add(buf, "", 1); /* NUL-terminator. */ in evhttp_uriencode() 4954 #define URI_ADD_(f) evbuffer_add(tmp, uri->f, strlen(uri->f)) in evhttp_uri_join() 4965 evbuffer_add(tmp, ":", 1); in evhttp_uri_join() 4968 evbuffer_add(tmp, "//", 2); in evhttp_uri_join() 4983 evbuffer_add(tmp, "?", 1); in evhttp_uri_join() [all …]
|
D | bufferevent.c | 454 if (evbuffer_add(bufev->output, data, size) == -1) in bufferevent_write()
|
D | buffer.c | 658 if (evbuffer_add(buf, vec[n].iov_base, vec[n].iov_len) < 0) { in evbuffer_add_iovec() 1327 evbuffer_add(dst, chain->buffer + chain->misalign, datlen); in evbuffer_remove_buffer() 1730 evbuffer_add(struct evbuffer *buf, const void *data_in, size_t datlen) in evbuffer_add() function
|
D | bufferevent_openssl.c | 185 evbuffer_add(output, in, inlen); in bio_bufferevent_write()
|
D | ChangeLog | 494 o evbuffer_add: Use last_with_datap if set, not last. (a8769ef Marcus Sundberg) 522 …o test/regress: add tests for evbuffer_add() breakage on empty last chain (d5ee739 Marcus Sundberg) 764 …o Avoid integer overflow bugs in evbuffer_add() and related functions. See CVE-2014-6272 advisory… 1615 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 | 491 evbuffer_add(output_buffer, buf, s); in main()
|