Searched refs:write_obj (Results 1 – 13 of 13) sorted by relevance
/external/crosvm/devices/src/virtio/video/ |
D | response.rs | 100 NoData | Error(_) => w.write_obj(hdr), in write() 102 w.write_obj(virtio_video_query_capability_resp { in write() 113 } => w.write_obj(virtio_video_resource_queue_resp { in write() 121 w.write_obj(virtio_video_get_params_resp { hdr, params }) in write() 124 w.write_obj(virtio_video_query_control_resp { hdr })?; in write() 128 w.write_obj(virtio_video_get_control_resp { hdr })?; in write() 131 SetControl => w.write_obj(virtio_video_set_control_resp { hdr }), in write()
|
D | control.rs | 34 w.write_obj(virtio_video_query_control_resp_profile { in write() 41 w.write_obj(virtio_video_query_control_resp_level { in write() 70 CtrlVal::Bitrate(r) => w.write_obj(virtio_video_control_val_bitrate { in write() 74 CtrlVal::Profile(p) => w.write_obj(virtio_video_control_val_profile { in write() 78 CtrlVal::Level(l) => w.write_obj(virtio_video_control_val_level { in write()
|
D | event.rs | 30 w.write_obj(virtio_video_event { in write()
|
D | format.rs | 198 w.write_obj(virtio_video_format_frame { in write() 221 w.write_obj(virtio_video_format_desc { in write()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | protocol.rs | 944 resp.write_obj(disp_info)?; in encode() 952 resp.write_obj(virtio_gpu_resp_capset_info { in encode() 962 resp.write_obj(hdr)?; in encode() 988 resp.write_obj(plane_info)?; in encode() 994 resp.write_obj(virtio_gpu_ctrl_hdr { in encode() 1004 resp.write_obj(resp_info)?; in encode() 1013 resp.write_obj(resp_info)?; in encode() 1017 resp.write_obj(hdr)?; in encode()
|
/external/crosvm/base/src/ |
D | mmap.rs | 29 pub fn write_obj<T: DataInit>(&self, val: T, offset: usize) -> Result<()> { in write_obj() method 30 self.mapping.write_obj(val, offset) in write_obj()
|
/external/crosvm/kvm/tests/ |
D | read_only_memory.rs | 70 .write_obj(vcpu_regs.rax as u8, 0) in test_run()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 162 .write_obj(ctrl_vfd_new) in encode_vfd_new() 196 .write_obj(ctrl_vfd_new_dmabuf) in encode_vfd_new_dmabuf() 210 .write_obj(ctrl_vfd_recv) in encode_vfd_recv() 215 .write_obj(Le32::from(recv_vfd_id)) in encode_vfd_recv() 232 .write_obj(ctrl_vfd_new) in encode_vfd_hup() 256 .write_obj(Le32::from(r.get_code())) in encode_resp()
|
D | descriptor_utils.rs | 543 pub fn write_obj<T: DataInit>(&mut self, val: T) -> io::Result<()> { in write_obj() method 555 iter.try_for_each(|v| self.write_obj(v)) in write_iter() 927 assert!(writer.write_obj(0u8).is_err()); in writer_test_incompatible_chain() 1062 if let Err(_) = writer.write_obj(secret) { in reader_writer_shattered_object()
|
D | pmem.rs | 141 writer.write_obj(response).map_err(Error::WriteQueue)?; in handle_request()
|
/external/crosvm/devices/src/virtio/input/ |
D | mod.rs | 361 writer.write_obj(evt).map_err(InputError::WriteQueue)?; in fill_event_virtqueue()
|
/external/crosvm/vm_memory/src/ |
D | guest_memory.rs | 475 .write_obj(val, offset) in write_obj_at_addr()
|
/external/crosvm/sys_util/src/ |
D | mmap.rs | 536 pub fn write_obj<T: DataInit>(&self, val: T, offset: usize) -> Result<()> { in write_obj() method
|