Home
last modified time | relevance | path

Searched refs:evbuffer_file_segment (Results 1 – 6 of 6) sorted by relevance

/external/libevent/include/event2/
Dbuffer.h538 struct evbuffer_file_segment;
574 struct evbuffer_file_segment const* seg, int flags, void* arg);
599 struct evbuffer_file_segment *evbuffer_file_segment_new(
610 void evbuffer_file_segment_free(struct evbuffer_file_segment *seg);
620 void evbuffer_file_segment_add_cleanup_cb(struct evbuffer_file_segment *seg,
647 struct evbuffer_file_segment *seg, ev_off_t offset, ev_off_t length);
/external/libevent/
Devbuffer-internal.h227 struct evbuffer_file_segment *segment;
235 struct evbuffer_file_segment { struct
Dbuffer.c152 static int evbuffer_file_segment_materialize(struct evbuffer_file_segment *seg);
2950 struct evbuffer_file_segment *
2954 struct evbuffer_file_segment *seg = in evbuffer_file_segment_new()
2955 mm_calloc(sizeof(struct evbuffer_file_segment), 1); in evbuffer_file_segment_new()
3027 evbuffer_file_segment_materialize(struct evbuffer_file_segment *seg) in evbuffer_file_segment_materialize()
3133 void evbuffer_file_segment_add_cleanup_cb(struct evbuffer_file_segment *seg, in evbuffer_file_segment_add_cleanup_cb()
3142 evbuffer_file_segment_free(struct evbuffer_file_segment *seg) in evbuffer_file_segment_free()
3170 (*seg->cleanup_cb)((struct evbuffer_file_segment const*)seg, in evbuffer_file_segment_free()
3182 struct evbuffer_file_segment *seg, ev_off_t offset, ev_off_t length) in evbuffer_add_file_segment()
3283 struct evbuffer_file_segment *seg; in evbuffer_add_file()
Dwhatsnew-2.1.txt290 Libevent 2.1 adds a new evbuffer_file_segment API to solve these
DChangeLog975 o Add a new callback to get called on evbuffer_file_segment free
/external/libevent/test/
Dregress_buffer.c940 struct evbuffer_file_segment *seg = NULL; in test_evbuffer_add_file()
1124 static struct evbuffer_file_segment const* file_segment_cleanup_cb_called_with = NULL;
1128 file_segment_cleanup_cp(struct evbuffer_file_segment const* seg, int flags, void* arg) in file_segment_cleanup_cp()
1142 struct evbuffer_file_segment *seg = NULL, *segptr; in test_evbuffer_file_segment_add_cleanup_cb()