/external/adhd/cras/src/common/ |
D | cras_shm.h | 127 struct cras_audio_shm { struct 154 struct cras_audio_shm **shm_out); 160 void cras_audio_shm_destroy(struct cras_audio_shm *shm); 164 cras_shm_get_checked_buffer_offset(const struct cras_audio_shm *shm, in cras_shm_get_checked_buffer_offset() 174 static inline uint8_t *cras_shm_buff_for_idx(const struct cras_audio_shm *shm, in cras_shm_buff_for_idx() 185 cras_shm_get_checked_read_offset(const struct cras_audio_shm *shm, in cras_shm_get_checked_read_offset() 204 cras_shm_get_checked_write_offset(const struct cras_audio_shm *shm, in cras_shm_get_checked_write_offset() 225 cras_shm_get_curr_read_frames(const struct cras_audio_shm *shm) in cras_shm_get_curr_read_frames() 241 cras_shm_get_read_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_read_buffer_base() 249 cras_shm_get_write_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_write_buffer_base() [all …]
|
D | cras_shm.c | 92 struct cras_audio_shm **shm_out) in cras_audio_shm_create() 94 struct cras_audio_shm *shm; in cras_audio_shm_create() 159 void cras_audio_shm_destroy(struct cras_audio_shm *shm) in cras_audio_shm_destroy()
|
/external/adhd/cras/src/tests/ |
D | cras_abi_unittest.cc | 40 struct cras_audio_shm* InitShm(int frames) { in InitShm() 41 struct cras_audio_shm* shm = in InitShm() 42 static_cast<struct cras_audio_shm*>(calloc(1, sizeof(*shm))); in InitShm() 53 void DestroyShm(struct cras_audio_shm* shm) { in DestroyShm()
|
D | dev_io_stubs.h | 32 void destroy_shm(struct cras_audio_shm* shm); 33 using ShmPtr = std::unique_ptr<cras_audio_shm, decltype(destroy_shm)*>; 62 cras_audio_shm* shm);
|
D | dev_io_stubs.cc | 27 ShmPtr shm(reinterpret_cast<struct cras_audio_shm*>( in create_shm() 28 calloc(1, sizeof(struct cras_audio_shm))), in create_shm() 43 void destroy_shm(struct cras_audio_shm* shm) { in destroy_shm() 53 cras_audio_shm* shm) { in create_rstream()
|
D | rstream_unittest.cc | 130 struct cras_audio_shm* shm_ret; in TEST_F() 131 struct cras_audio_shm shm_mapped; in TEST_F() 167 struct cras_audio_shm* shm_ret; in TEST_F() 168 struct cras_audio_shm shm_mapped; in TEST_F()
|
D | cras_client_unittest.cc | 47 struct cras_audio_shm* InitShm() { in InitShm() 48 struct cras_audio_shm* shm = in InitShm() 49 static_cast<struct cras_audio_shm*>(calloc(1, sizeof(*shm))); in InitShm() 122 struct cras_audio_shm* shm; in TEST_F()
|
D | audio_thread_unittest_obsolete.cc | 131 struct cras_audio_shm* shm; in SetupRstream() 212 struct cras_audio_shm* shm_; 213 struct cras_audio_shm* shm2_; 548 struct cras_audio_shm* shm; in SetupRstream() 641 struct cras_audio_shm* shm_; 642 struct cras_audio_shm* shm2_; 1175 cras_audio_shm* shm; in add_rm_two_streams() 1287 cras_audio_shm* shm; in TEST_F() 1332 cras_audio_shm* shm; in TEST_F() 1365 cras_audio_shm* shm; in TEST_F() [all …]
|
D | capture_rclient_unittest.cc | 26 static struct cras_audio_shm mock_shm;
|
D | dev_stream_unittest.cc | 194 void SetupShm(struct cras_audio_shm** shm_out) { in SetupShm() 196 struct cras_audio_shm* shm; in SetupShm() 199 shm = static_cast<struct cras_audio_shm*>( in SetupShm() 200 calloc(1, sizeof(struct cras_audio_shm))); in SetupShm()
|
D | playback_rclient_unittest.cc | 27 static struct cras_audio_shm mock_shm;
|
D | shm_unittest.cc | 36 struct cras_audio_shm shm_;
|
D | control_rclient_unittest.cc | 50 static struct cras_audio_shm mock_shm;
|
D | audio_thread_unittest.cc | 121 rstream->shm = static_cast<cras_audio_shm*>(calloc(1, sizeof(*rstream->shm))); in SetupRstream()
|
/external/adhd/cras/src/server/ |
D | cras_rstream.h | 79 struct cras_audio_shm *shm; 215 static inline struct cras_audio_shm * 281 const struct cras_audio_shm *shm = cras_rstream_shm(rstream); in cras_rstream_level() 287 const struct cras_audio_shm *shm = cras_rstream_shm(rstream); in cras_rstream_input_level_met()
|
D | cras_mix.h | 11 struct cras_audio_shm;
|
D | dev_stream.c | 285 struct cras_audio_shm *shm; in capture_copy_converted_to_stream() 348 struct cras_audio_shm *shm; in dev_stream_capture() 433 struct cras_audio_shm *shm; in dev_stream_capture_avail() 608 struct cras_audio_shm *shm; in dev_stream_set_delay()
|
D | dev_io.c | 208 struct cras_audio_shm *shm = cras_rstream_shm(rstream); in fetch_streams() 325 struct cras_audio_shm *shm; in get_stream_limit()
|
D | audio_thread.c | 403 struct cras_audio_shm *shm; in thread_drain_stream_ms_remaining()
|
/external/adhd/cras/client/cras-sys/src/ |
D | gen.rs | 4935 pub struct cras_audio_shm { struct 4945 ::std::mem::size_of::<cras_audio_shm>(), in bindgen_test_layout_cras_audio_shm() argument 4947 concat!("Size of: ", stringify!(cras_audio_shm)) in bindgen_test_layout_cras_audio_shm() 4950 ::std::mem::align_of::<cras_audio_shm>(), in bindgen_test_layout_cras_audio_shm() 4952 concat!("Alignment of ", stringify!(cras_audio_shm)) in bindgen_test_layout_cras_audio_shm() 4955 unsafe { &(*(::std::ptr::null::<cras_audio_shm>())).config as *const _ as usize }, in bindgen_test_layout_cras_audio_shm() 4959 stringify!(cras_audio_shm), in bindgen_test_layout_cras_audio_shm() 4965 unsafe { &(*(::std::ptr::null::<cras_audio_shm>())).header_info as *const _ as usize }, in bindgen_test_layout_cras_audio_shm() 4969 stringify!(cras_audio_shm), in bindgen_test_layout_cras_audio_shm() 4975 unsafe { &(*(::std::ptr::null::<cras_audio_shm>())).header as *const _ as usize }, in bindgen_test_layout_cras_audio_shm() [all …]
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 166 struct cras_audio_shm *shm; 1256 struct cras_audio_shm *shm = stream->shm; in handle_playback_request()
|