Home
last modified time | relevance | path

Searched defs:AsRawDescriptor (Results 1 – 25 of 69) sorted by relevance

123

/external/crosvm/base/src/
Dnotifiers.rs10 fn get_read_notifier(&self) -> &dyn AsRawDescriptor; in get_read_notifier()
14 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
21 fn get_close_notifier(&self) -> &dyn AsRawDescriptor; in get_close_notifier()
Dwait_context.rs171 pub fn build_with(triggers: &[(&dyn AsRawDescriptor, T)]) -> Result<WaitContext<T>> { in build_with()
178 pub fn add(&self, descriptor: &dyn AsRawDescriptor, token: T) -> Result<()> { in add()
185 descriptor: &dyn AsRawDescriptor, in add_for_event()
193 pub fn add_many(&self, triggers: &[(&dyn AsRawDescriptor, T)]) -> Result<()> { in add_many()
204 descriptor: &dyn AsRawDescriptor, in modify()
Ddescriptor.rs31 pub trait AsRawDescriptor { trait
/external/crosvm/base/src/sys/windows/
Dioctl.rs170 descriptor: &dyn AsRawDescriptor, in ioctl_with_val()
198 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
207 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ref()
219 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr_sized()
256 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr()
269 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ptr()
298 pub unsafe fn device_io_control<F: AsRawDescriptor, T, T2>( in device_io_control()
Dread_write_wrappers.rs26 handle: &dyn AsRawDescriptor, in write_file()
69 handle: &dyn AsRawDescriptor, in read_file()
132 handle: &dyn AsRawDescriptor, in read_overlapped_blocking()
Dmmap.rs96 file_handle: &dyn AsRawDescriptor, in from_descriptor()
107 file_handle: &dyn AsRawDescriptor, in from_descriptor_offset()
227 file_descriptor: Option<&'a dyn AsRawDescriptor>, in wrap()
Ddescriptor.rs134 macro_rules! AsRawDescriptor { macro
136 impl AsRawDescriptor for $name { impl
Dtube.rs364 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
370 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
388 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
394 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
463 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
Dmmap_platform.rs89 file_handle: &dyn AsRawDescriptor, in from_descriptor_offset_protection()
138 descriptor: &dyn AsRawDescriptor, in from_descriptor_offset_protection_fixed()
Dconsole.rs50 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
/external/crosvm/base/src/sys/linux/
Dnotifiers.rs12 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
18 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
Dioctl.rs167 pub unsafe fn ioctl_with_val(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val()
175 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
188 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ref()
203 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr()
214 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ptr()
Dpoll.rs83 pub fn build_with(fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<EventContext<T>> { in build_with()
94 pub fn add_many(&self, fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<()> { in add_many()
107 pub fn add(&self, fd: &dyn AsRawDescriptor, token: T) -> Result<()> { in add()
120 descriptor: &dyn AsRawDescriptor, in add_for_event()
147 pub fn modify(&self, fd: &dyn AsRawDescriptor, event_type: EventType, token: T) -> Result<()> { in modify()
Dfile.rs18 fn lseek(fd: &dyn AsRawDescriptor, offset: u64, option: LseekOption) -> Result<u64> { in lseek()
40 fd: &dyn AsRawDescriptor, in find_next_data()
83 pub fn new(fd: &'a dyn AsRawDescriptor, offset: u64, len: u64) -> Self { in new()
Dmmap.rs130 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd()
135 fd: &dyn AsRawDescriptor, in from_fd_offset()
150 fd: &dyn AsRawDescriptor, in from_fd_offset_protection()
168 fd: &dyn AsRawDescriptor, in from_fd_offset_protection_populate()
227 fd: &dyn AsRawDescriptor, in from_descriptor_offset_protection_fixed()
241 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_mmap()
253 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_mmap_populate()
700 fd: &dyn AsRawDescriptor, in add_fd_offset()
720 fd: &dyn AsRawDescriptor, in add_fd_offset_protection()
734 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_add()
[all …]
/external/crosvm/base/src/sys/macos/
Dmod.rs63 _fd_tokens: &[(&dyn crate::AsRawDescriptor, T)], in build_with()
69 _descriptor: &dyn crate::AsRawDescriptor, in add_for_event()
77 _fd: &dyn crate::AsRawDescriptor, in modify()
130 _fd: &dyn crate::AsRawDescriptor, in from_descriptor_offset_protection_fixed()
164 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_val()
174 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_ref()
184 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_mut_ref()
194 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_ptr()
204 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_mut_ptr()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/stub/
Ddescriptor.rs38 macro_rules! AsRawDescriptor { macro
40 impl AsRawDescriptor for $name { impl
/external/crosvm/gpu_display/src/vulkan/sys/
Dunix.rs70 _memory_descriptor: &dyn AsRawDescriptor, in create_post_image_memory_import_info()
78 _descriptor: &dyn AsRawDescriptor, in import_semaphore_from_descriptor()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/linux/
Ddescriptor.rs103 macro_rules! AsRawDescriptor { macro
105 impl AsRawDescriptor for $name { impl
/external/crosvm/devices/src/virtio/vhost_user_frontend/
Dhandler.rs60 fd: &dyn AsRawDescriptor, in shmem_map()
116 descriptor: &dyn AsRawDescriptor, in gpu_map()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
Ddescriptor.rs131 macro_rules! AsRawDescriptor { macro
133 impl AsRawDescriptor for $name { impl
/external/crosvm/rutabaga_gfx/src/rutabaga_os/
Ddescriptor.rs23 pub trait AsRawDescriptor { trait
/external/crosvm/third_party/vmm_vhost/src/
Dfrontend_client.rs110 fd: &dyn AsRawDescriptor, in shmem_map()
129 descriptor: &dyn AsRawDescriptor, in gpu_map()
/external/crosvm/cros_async/src/sys/windows/
Devent.rs36 descriptor: &dyn AsRawDescriptor, in clone_raw_without_reset()
/external/crosvm/base/src/sys/unix/
Ddescriptor.rs187 macro_rules! AsRawDescriptor { macro
189 impl AsRawDescriptor for $name { impl

123