Searched refs:evbuffer_pullup (Results 1 – 9 of 9) sorted by relevance
/external/libevent/test/ |
D | regress_buffer.c | 210 tmp = (char *)evbuffer_pullup(evb, 7 + 512); in test_evbuffer() 221 tmp = (char *)evbuffer_pullup(evb, 4 + 9 + 7); in test_evbuffer() 248 if (memcmp(evbuffer_pullup( in test_evbuffer() 250 memcmp(evbuffer_pullup( in test_evbuffer() 317 tt_mem_op(evbuffer_pullup(src, -1), ==, "AAAA", 4); in test_evbuffer_remove_buffer_with_empty() 318 tt_mem_op(evbuffer_pullup(dst, -1), ==, "AA", 2); in test_evbuffer_remove_buffer_with_empty() 326 tt_mem_op(evbuffer_pullup(src, -1), ==, "A", 1); in test_evbuffer_remove_buffer_with_empty() 327 tt_mem_op(evbuffer_pullup(dst, -1), ==, "AAAAA", 5); in test_evbuffer_remove_buffer_with_empty() 361 tt_mem_op(evbuffer_pullup(src, -1), ==, "foofoofoo", 9); in test_evbuffer_remove_buffer_with_empty2() 362 tt_mem_op(evbuffer_pullup(dst, -1), ==, "foofoofoo", 9); in test_evbuffer_remove_buffer_with_empty2() [all …]
|
D | regress_http.c | 234 d = evbuffer_pullup(buf, s_sz); in evbuffer_datacmp() 2046 fprintf(stdout, "Got :%s\n", evbuffer_pullup(evhttp_request_get_input_buffer(req),-1)); in http_post_cb() 2163 fprintf(stdout, "Got :%s\n", evbuffer_pullup(evhttp_request_get_input_buffer(req),-1)); in http_put_cb() 3221 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 13), in http_chunked_errorcb() 3235 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 18), in http_chunked_errorcb() 3251 if (strncmp((char *)evbuffer_pullup(bufferevent_get_input(bev), 8), in http_chunked_errorcb() 3306 if (strncmp((char *)evbuffer_pullup(evhttp_request_get_input_buffer(req), 13 + 18 + 8), in http_chunked_request_done() 3500 (char*)evbuffer_pullup(reply, -1))); in http_stream_in_test_() 3503 if (memcmp(evbuffer_pullup(reply, -1), expected, expected_len) != 0) { in http_stream_in_test_() 4630 evbuffer_pullup(body, -1) in http_request_extra_body_test() [all …]
|
D | regress_bufferevent.c | 501 buffer = evbuffer_pullup(src, evbuffer_get_length(src)); in bufferevent_input_filter() 527 buffer = evbuffer_pullup(src, evbuffer_get_length(src)); in bufferevent_output_filter()
|
/external/libevent/ |
D | event_tagging.c | 213 data = evbuffer_pullup( in decode_tag_internal() 329 data = evbuffer_pullup(evbuf, offset + 1) + offset; \ 338 data = evbuffer_pullup(evbuf, offset + len) + offset; \ 478 if (evbuffer_add(dst, evbuffer_pullup(src, len), len) == -1) in evtag_unmarshal()
|
D | buffer.c | 1350 evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size) in evbuffer_pullup() function 2550 void *p = evbuffer_pullup(buffer, howmuch); in evbuffer_write_atmost() 2554 void *p = evbuffer_pullup(buffer, howmuch); in evbuffer_write_atmost() 2589 search = evbuffer_pullup(buffer, ptr.pos + len); in evbuffer_find()
|
D | ChangeLog | 27 o buffer: do not pass NULL to memcpy() from evbuffer_pullup() (5b063049 Azat Khuzhin) 775 o Consistently check for failure from evbuffer_pullup() (60f8f72) 1183 o Specify return behavior in header for evbuffer_pullup() in corner case
|
/external/libevent/include/event2/ |
D | buffer_compat.h | 113 #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1)
|
D | buffer.h | 994 unsigned char *evbuffer_pullup(struct evbuffer *buf, ev_ssize_t size);
|
/external/libevent/sample/ |
D | http-connect.c | 67 fwrite(evbuffer_pullup(evbuf, len), len, 1, stdout); in get_cb()
|