Lines Matching refs:dst_range
848 let (src_range, dst_range) = Table::validate_copy(self, dst, dst_index, src_index, len)?; in copy_to()
849 Self::copy_elements(gc_store, dst, self, dst_range, src_range); in copy_to()
867 let (src_range, dst_range) = Table::validate_copy(self, self, dst_index, src_index, len)?; in copy_within()
868 self.copy_elements_within(gc_store, dst_range, src_range); in copy_within()
903 let dst_range = dst_index..dst_index + len; in validate_copy() localVariable
905 Ok((src_range, dst_range)) in validate_copy()
1049 dst_range: Range<usize>, in copy_elements()
1062 dst_funcrefs[dst_range].copy_from_slice(&src_funcrefs[src_range]); in copy_elements()
1066 dst_range.end - dst_range.start, in copy_elements()
1069 assert!(dst_range.end <= dst_table.gc_refs().len()); in copy_elements()
1071 for (dst, src) in dst_range.zip(src_range) { in copy_elements()
1081 dst_table.contrefs_mut()[dst_range] in copy_elements()
1090 dst_range: Range<usize>, in copy_elements_within()
1094 dst_range.end - dst_range.start, in copy_elements_within()
1099 if src_range.start == dst_range.start { in copy_elements_within()
1108 funcrefs.copy_within(src_range, dst_range.start); in copy_elements_within()
1114 if dst_range.start < src_range.start { in copy_elements_within()
1115 for (d, s) in dst_range.zip(src_range) { in copy_elements_within()
1122 for (s, d) in src_range.rev().zip(dst_range.rev()) { in copy_elements_within()
1132 self.contrefs_mut().copy_within(src_range, dst_range.start); in copy_elements_within()