/external/crosvm/data_model/src/ |
D | volatile_memory.rs | 87 fn get_slice(&self, offset: u64, count: u64) -> Result<VolatileSlice>; in get_slice() method 91 let slice = self.get_slice(offset, size_of::<T>() as u64)?; in get_ref() 100 fn get_slice(&self, offset: u64, count: u64) -> Result<VolatileSlice> { in get_slice() method 297 fn get_slice(&self, offset: u64, count: u64) -> Result<VolatileSlice> { in get_slice() method 407 fn get_slice(&self, offset: u64, count: u64) -> Result<VolatileSlice> { in get_slice() method 495 let s = a.get_slice(0, 27).unwrap(); in slice_size() 498 let s = a.get_slice(34, 27).unwrap(); in slice_size() 501 let s = s.get_slice(20, 5).unwrap(); in slice_size() 509 let res = a.get_slice(MAX, 1).unwrap_err(); in slice_overflow_error() 522 a.get_slice(50, 50).unwrap(); in slice_oob_error() [all …]
|
/external/crosvm/sys_util/src/ |
D | shm.rs | 357 mmap1.get_slice(0, 1).unwrap().as_ptr(), in mmap_page() 358 mmap2.get_slice(0, 1).unwrap().as_ptr() in mmap_page() 362 .get_slice(0, 4096) in mmap_page() 386 .get_slice(0, 4096) in mmap_page_offset()
|
D | mmap.rs | 587 fn get_slice(&self, offset: u64, count: u64) -> VolatileMemoryResult<VolatileSlice> { in get_slice() method 883 let s = m.get_slice(2, 3).unwrap(); in slice_size() 890 let s = m.get_slice(2, 3).unwrap(); in slice_addr() 905 let res = m.get_slice(std::u64::MAX, 3).unwrap_err(); in slice_overflow_error() 917 let res = m.get_slice(3, 3).unwrap_err(); in slice_oob_error()
|
D | guest_memory.rs | 555 fn get_slice(&self, offset: u64, count: u64) -> VolatileMemoryResult<VolatileSlice> { in get_slice() method 560 .get_slice(offset - region.guest_base.0, count); in get_slice()
|
/external/crosvm/gpu_buffer/src/ |
D | lib.rs | 582 .get_slice(line_offset, line_copy_size) in read_to_volatile() 585 .get_slice(line_offset, line_copy_size) in read_to_volatile() 633 .get_slice(src_offset, copy_sg_size) in write_from_sg() 665 .get_slice(src_offset, copy_sg_size) in write_from_sg() 837 [dst.as_mut_slice().get_slice(0, dst_len).unwrap()] in buffer_transfer() 848 dst.as_mut_slice().get_slice(0, dst_len).unwrap(), in buffer_transfer()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | multi_gpu_utils.py | 185 def get_slice(data, i, parts): function 227 get_slice,
|
/external/flatbuffers/include/flatbuffers/ |
D | grpc.h | 141 grpc_slice &get_slice(uint8_t *p, size_t size) { in get_slice() function 248 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size); in GetMessage()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | sparsify_gather.cc | 163 bool get_slice = false; in ReadTensorFromCheckpoint() local 168 get_slice = (parsed_full_shape != parsed_slice_shape); in ReadTensorFromCheckpoint() 170 if (get_slice) { in ReadTensorFromCheckpoint()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 273 match data.get_slice(0, cmd_size as u64) { in process_gpu_command() 366 if let Ok(desc_mem) = mem.get_slice(desc.addr.offset(), desc.len as u64) { in process_descriptor() 371 match mem.get_slice(data_desc.0.offset(), data_desc.1 as u64) { in process_descriptor() 389 if let Ok(ret_desc_mem) = mem.get_slice(ret_desc.0.offset(), ret_desc.1 as u64) { in process_descriptor()
|
D | protocol.rs | 715 resp.get_slice(size_of_val(&hdr) as u64, data.len() as u64)?; in encode()
|
D | backend.rs | 293 .map(|&(addr, len)| mem.get_slice(addr.offset(), len as u64).unwrap_or_default()), in write_from_guest_memory()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 371 let vfd_slice = desc_mem.get_slice( in encode_vfd_recv() 381 let data_slice = desc_mem.get_slice( in encode_vfd_recv() 1372 let vfd_mem = mem.get_slice(vfds_addr.0, (vfd_count * vfd_size) as u64)?; in execute() 1373 let data_mem = mem.get_slice(data_addr.0, data_len as u64)?; in execute() 1609 .get_slice(resp_desc.addr.0, resp_desc.len as u64) in run() 1647 let desc_mem = self.mem.get_slice(addr.0, desc_len as u64).unwrap(); in run()
|
D | block.rs | 548 .get_slice(self.data_addr.0, self.data_len as u64) in execute() 576 .get_slice(self.data_addr.0, self.data_len as u64) in execute()
|
/external/crosvm/gpu_display/src/ |
D | lib.rs | 289 .get_slice( in framebuffer_memory()
|
/external/crosvm/gpu_renderer/src/ |
D | lib.rs | 786 .any(|&(addr, len)| mem.get_slice(addr.offset(), len as u64).is_err()) in attach_backing() 794 let slice = mem.get_slice(addr.offset(), len as u64).unwrap(); in attach_backing()
|
/external/crosvm/x86_64/src/ |
D | mptable.rs | 138 mem.get_slice(base_mp.0, mp_size as u64) in setup_mptable()
|
/external/crosvm/qcow/src/ |
D | qcow.rs | 1462 let sub_slice = slice.get_slice(offset as u64, count as u64).unwrap(); in read_volatile() 1475 let sub_slice = slice.get_slice(offset as u64, count as u64).unwrap(); in write_volatile()
|
/external/crosvm/devices/src/pci/ |
D | ac97_bus_master.rs | 635 mem.get_slice(read_pos, samples_remaining as u64 * sample_size) in next_guest_buffer()
|