/device/google/cuttlefish/host/commands/vhost_user_input/ |
D | vhu_input.rs | 26 const VIRTIO_INPUT_NUM_QUEUES: usize = 2; 27 const VIRTIO_INPUT_MAX_QUEUE_SIZE: usize = 256; 50 fn num_queues(&self) -> usize { in num_queues() argument 55 fn max_queue_size(&self) -> usize { in max_queue_size() argument 84 fn exit_event(&self, thread_index: usize) -> Option<vmm_sys_util::eventfd::EventFd> { in exit_event() 112 Ok(raw_config) => raw_config[offset as usize..(offset + size) as usize].to_vec(), in get_config() 115 vec![0u8; size as usize] in get_config() 130 _thread_id: usize, in handle_event() argument 135 self.send_pending_events(&vrings[EVENT_QUEUE as usize]).map_err(IoError::other)?; in handle_event() 139 self.write_status_updates(&vrings[STATUS_QUEUE as usize]) in handle_event() [all …]
|
D | vio_input.rs | 18 pub const VIRTIO_INPUT_EVENT_SIZE: usize = 8; 21 pub fn trim_to_event_size_multiple(v: usize) -> usize { in trim_to_event_size_multiple() argument 73 let byte_pos = (idx / 8) as usize; in set() 140 let mut start = offset as usize; in set_raw()
|
D | buf_reader.rs | 12 size: usize, 44 pub fn consume(&mut self, count: usize) { in consume() argument
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/ |
D | version.rs | 10 major: usize, 11 minor: usize, 12 patch: usize, 17 pub fn new(major: usize, minor: usize, patch: usize) -> Self { in new() argument
|
D | lib.rs | 193 pub fn probe_rustc_version(&self, major: usize, minor: usize) -> bool { in probe_rustc_version() argument 199 pub fn emit_rustc_version(&self, major: usize, minor: usize) { in emit_rustc_version() argument
|
D | tests.rs | 15 fn assert_min(&self, major: usize, minor: usize, probe_result: bool) { in assert_min() argument
|
/device/google/cuttlefish/host/commands/secure_env/rust/ |
D | tpm.rs | 61 fn hkdf_expand(&self, info: &[u8], out_len: usize) -> Result<Vec<u8>, Error> { in hkdf_expand() 91 fn derive_bytes(&self, context: &[u8], output_len: usize) -> Result<Vec<u8>, Error> { in derive_bytes() 154 _out_len: usize, in hkdf() argument 175 out_len: usize, in expand() argument
|
D | lib.rs | 181 let req_len = u32::from_be_bytes(req_len_data) as usize; in ta_main()
|
/device/google/cuttlefish/guest/hals/bluetooth/src/ |
D | hci.rs | 149 Idc::ACL_DATA => u16::from_le_bytes([data[3], data[4]]) as usize, in new() 150 Idc::SCO_DATA => data[3] as usize, in new() 151 Idc::ISO_DATA => (u16::from_le_bytes([data[3], data[4]]) & 0x3fff) as usize, in new() 152 Idc::EVENT => data[2] as usize, in new()
|
/device/google/cuttlefish/guest/hals/nfc/src/ |
D | nfc.rs | 36 const BUF_SIZE: usize = 1024; 37 const NCI_HEADER_SIZE: usize = 3; 174 let total_packet_length = (buf[2] as usize) + NCI_HEADER_SIZE; in new()
|
/device/google/cuttlefish/guest/hals/keymint/rust/src/ |
D | keymint_hal_main.rs | 45 const MAX_SIZE: usize = kmr_wire::DEFAULT_MAX_SIZE;
|
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 4976 usb_uas_xfer_data(int addr, uint16_t tag, uint32_t copy, uint32_t uoff, uint32_t usize, uint32_t so…
|
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/ |
D | trace-events-all | 4976 usb_uas_xfer_data(int addr, uint16_t tag, uint32_t copy, uint32_t uoff, uint32_t usize, uint32_t so…
|