Searched refs:sub_slice (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/ |
D | array_test.cc | 187 Array<int64> sub_slice = arr.Slice({1, 0}, {2, 2}); in TEST() local 188 EXPECT_EQ(sub_slice.dimensions(), (std::vector<int64>{1, 2})); in TEST() 190 EXPECT_EQ(expected, sub_slice.ToString()); in TEST()
|
/external/crosvm/disk/src/qcow/ |
D | mod.rs | 1553 let sub_slice = slice.get_slice(already_read, count).unwrap(); in read() localVariable 1555 Some(f) => f.read_exact_at_volatile(sub_slice, offset), in read() 1557 sub_slice.write_bytes(0); in read() 1623 let sub_slice = slice.get_slice(read, count).unwrap(); in read_volatile() localVariable 1625 Some(f) => f.read_exact_at_volatile(sub_slice, offset), in read_volatile() 1627 sub_slice.write_bytes(0); in read_volatile() 1640 let sub_slice = slice.get_slice(offset, count).unwrap(); in write_volatile() localVariable 1641 file.write_all_volatile(sub_slice) in write_volatile() 1651 let sub_slice = slice.get_slice(read, count).unwrap(); in read_at_volatile() localVariable 1653 Some(f) => f.read_exact_at_volatile(sub_slice, offset), in read_at_volatile() [all …]
|
/external/crosvm/data_model/src/ |
D | volatile_memory.rs | 176 pub fn sub_slice(self, offset: usize, count: usize) -> Result<VolatileSlice<'a>> { in sub_slice() method 313 self.sub_slice(offset, count) in get_slice()
|
/external/crosvm/disk/src/ |
D | composite.rs | 252 .sub_slice(0, new_size as usize) in read_at_volatile() 266 .sub_slice(0, new_size as usize) in write_at_volatile()
|
D | android_sparse.rs | 298 .sub_slice(0, (chunk_size - chunk_offset) as usize) in read_at_volatile()
|
/external/crosvm/gpu_display/src/ |
D | lib.rs | 107 .sub_slice(byte_offset as usize, count as usize) in sub_region()
|