Home
last modified time | relevance | path

Searched refs:cras_server_state (Results 1 – 15 of 15) sorted by relevance

/external/adhd/cras/client/cras-sys/src/
Dgen.rs1761 pub struct cras_server_state { struct
1802 ::std::mem::size_of::<cras_server_state>(), in bindgen_test_layout_cras_server_state() argument
1804 concat!("Size of: ", stringify!(cras_server_state)) in bindgen_test_layout_cras_server_state()
1807 ::std::mem::align_of::<cras_server_state>(), in bindgen_test_layout_cras_server_state()
1809 concat!("Alignment of ", stringify!(cras_server_state)) in bindgen_test_layout_cras_server_state()
1812 unsafe { &(*(::std::ptr::null::<cras_server_state>())).state_version as *const _ as usize }, in bindgen_test_layout_cras_server_state()
1816 stringify!(cras_server_state), in bindgen_test_layout_cras_server_state()
1822 unsafe { &(*(::std::ptr::null::<cras_server_state>())).volume as *const _ as usize }, in bindgen_test_layout_cras_server_state()
1826 stringify!(cras_server_state), in bindgen_test_layout_cras_server_state()
1833 &(*(::std::ptr::null::<cras_server_state>())).min_volume_dBFS as *const _ as usize in bindgen_test_layout_cras_server_state()
[all …]
Dlib.rs20 unsafe impl data_model::DataInit for gen::cras_server_state {} implementation
/external/adhd/cras/src/server/
Dcras_system_state.h43 struct cras_server_state *exp_state,
300 struct cras_server_state *cras_system_state_update_begin();
309 struct cras_server_state *cras_system_state_get_no_lock();
Dcras_system_state.c53 struct cras_server_state *exp_state;
82 struct cras_server_state *exp_state, in cras_system_state_init()
480 struct cras_server_state *s; in cras_system_state_stream_added()
496 struct cras_server_state *s; in cras_system_state_stream_removed()
572 struct cras_server_state *cras_system_state_update_begin() in cras_system_state_update_begin()
589 struct cras_server_state *cras_system_state_get_no_lock() in cras_system_state_get_no_lock()
Dcras.c128 struct cras_server_state *exp_state = in main()
129 (struct cras_server_state *)cras_shm_setup( in main()
Dcras_control_rclient.c33 struct cras_server_state *state; in dump_audio_thread_info()
407 struct cras_server_state *state; in ccr_handle_message_from_client()
Dcras_server.c190 struct cras_server_state *state; in send_client_list_to_clients()
Dcras_iodev_list.c1316 struct cras_server_state *state; in cras_iodev_list_update_device_list()
/external/adhd/cras/src/fuzz/
Drclient_message.cc31 struct cras_server_state* exp_state = in LLVMFuzzerInitialize()
32 (struct cras_server_state*)calloc(1, sizeof(*exp_state)); in LLVMFuzzerInitialize()
/external/adhd/cras/client/libcras/src/
Dcras_shm.rs14 cras_audio_shm_header, cras_server_state, CRAS_NUM_SHM_BUFFERS, CRAS_SHM_BUFFERS_MASK,
516 let size = mem::size_of::<cras_server_state>(); in new()
530 fn get_ref(&self) -> VolatileRef<cras_server_state> { in get_ref() argument
673 shm_fd: CrasShmFd::new(fd, mem::size_of::<cras_server_state>()), in new()
/external/adhd/cras/src/tests/
Dsystem_state_unittest.cc93 struct cras_server_state* exp_state = in do_sys_init()
94 (struct cras_server_state*)cras_shm_setup(shm_name, sizeof(*exp_state), in do_sys_init()
Diodev_list_unittest.cc26 struct cras_server_state server_state_stub;
27 struct cras_server_state* server_state_update_begin_return;
1605 struct cras_server_state* cras_system_state_update_begin() { in cras_system_state_update_begin()
Dcontrol_rclient_unittest.cc898 struct cras_server_state* cras_system_state_get_no_lock() { in cras_system_state_get_no_lock()
/external/adhd/cras/src/libcras/
Dcras_client.c238 const struct cras_server_state *server_state;
1348 begin_server_state_read(const struct cras_server_state *state) in begin_server_state_read()
1362 static inline int end_server_state_read(const struct cras_server_state *state, in end_server_state_read()
1625 client->server_state = (struct cras_server_state *)mmap( in client_attach_shm()
1630 if (client->server_state == (struct cras_server_state *)-1) { in client_attach_shm()
2796 const struct cras_server_state *state; in cras_client_get_output_devices()
2826 const struct cras_server_state *state; in cras_client_get_input_devices()
2855 const struct cras_server_state *state; in cras_client_get_attached_clients()
3327 const struct cras_server_state *state; in cras_client_get_first_node_type_idx()
/external/adhd/cras/src/common/
Dcras_types.h495 struct __attribute__((packed, aligned(4))) cras_server_state { struct