Home
last modified time | relevance | path

Searched refs:buffer_share (Results 1 – 14 of 14) sorted by relevance

/external/adhd/cras/src/server/
Dbuffer_share.h18 struct buffer_share { struct
28 struct buffer_share *buffer_share_create(unsigned int buf_sz); argument
31 void buffer_share_destroy(struct buffer_share *mix);
34 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data);
37 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id);
40 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id,
47 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix);
53 unsigned int buffer_share_id_offset(const struct buffer_share *mix,
59 void *buffer_share_get_data(const struct buffer_share *mix,
Dbuffer_share.c12 static inline struct id_offset *find_unused(const struct buffer_share *mix) in find_unused()
25 static inline struct id_offset *find_id(const struct buffer_share *mix, in find_id()
38 static void alloc_more_ids(struct buffer_share *mix) in alloc_more_ids()
51 struct buffer_share *buffer_share_create(unsigned int buf_sz) in buffer_share_create()
53 struct buffer_share *mix; in buffer_share_create()
63 void buffer_share_destroy(struct buffer_share *mix) in buffer_share_destroy()
71 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data) in buffer_share_add_id()
92 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) in buffer_share_rm_id()
105 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update()
121 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) in buffer_share_get_new_write_point()
[all …]
Dinput_data.h61 struct buffer_share *offsets,
76 struct buffer_share *offsets,
Dinput_data.c92 struct buffer_share *offsets, in input_data_get_for_stream()
127 struct buffer_share *offsets, in input_data_put_for_stream()
Dcras_iodev.h21 struct buffer_share;
248 struct buffer_share *buf_state;
Daudio_thread.h16 struct buffer_share;
Dcras_rstream.h89 struct buffer_share *buf_state;
/external/adhd/cras/src/tests/
Dbuffer_share_unittest.cc26 buffer_share *dm = buffer_share_create(1024); in TEST_F()
27 EXPECT_NE(static_cast<buffer_share *>(NULL), dm); in TEST_F()
32 buffer_share *dm = buffer_share_create(1024); in TEST_F()
49 buffer_share *dm = buffer_share_create(1024); in TEST_F()
64 buffer_share *dm = buffer_share_create(1024); in TEST_F()
86 buffer_share *dm = buffer_share_create(1024); in TEST_F()
Drstream_unittest.cc361 struct buffer_share *buffer_share_create(unsigned int buf_sz) { in buffer_share_create()
365 void buffer_share_destroy(struct buffer_share *mix) { in buffer_share_destroy()
368 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update()
373 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) { in buffer_share_get_new_write_point()
377 int buffer_share_add_id(struct buffer_share *mix, unsigned int id) { in buffer_share_add_id()
381 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) { in buffer_share_rm_id()
385 unsigned int buffer_share_id_offset(const struct buffer_share *mix, in buffer_share_id_offset()
Ddev_io_unittest.cc92 struct buffer_share *offsets, in input_data_get_for_stream()
101 struct buffer_share *offsets, in input_data_put_for_stream()
Dtiming_unittest.cc433 struct buffer_share *offsets, in input_data_get_for_stream()
442 struct buffer_share *offsets, in input_data_put_for_stream()
Diodev_unittest.cc2204 struct buffer_share *buffer_share_create(unsigned int buf_sz) { in buffer_share_create()
2208 void buffer_share_destroy(struct buffer_share *mix) in buffer_share_destroy()
2212 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update()
2217 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) { in buffer_share_get_new_write_point()
2221 int buffer_share_add_id(struct buffer_share *mix, unsigned int id) { in buffer_share_add_id()
2226 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) { in buffer_share_rm_id()
2230 unsigned int buffer_share_id_offset(const struct buffer_share *mix, in buffer_share_id_offset()
Daudio_thread_unittest.cc1171 struct buffer_share *offsets, in input_data_get_for_stream()
1180 struct buffer_share *offsets, in input_data_put_for_stream()
/external/adhd/cras/src/
DMakefile.am750 server/buffer_share.c