Lines Matching refs:src_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()
902 let src_range = src_index..src_index + len; in validate_copy() localVariable
905 Ok((src_range, dst_range)) in validate_copy()
1050 src_range: Range<usize>, in copy_elements()
1062 dst_funcrefs[dst_range].copy_from_slice(&src_funcrefs[src_range]); in copy_elements()
1067 src_range.end - src_range.start in copy_elements()
1070 assert!(src_range.end <= src_table.gc_refs().len()); in copy_elements()
1071 for (dst, src) in dst_range.zip(src_range) { in copy_elements()
1082 .copy_from_slice(&src_table.contrefs()[src_range]); in copy_elements()
1091 src_range: Range<usize>, in copy_elements_within()
1095 src_range.end - src_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()