Home
last modified time | relevance | path

Searched refs:edit_ranges (Results 1 – 4 of 4) sorted by relevance

/dports/ports-mgmt/parfetch-overlay/parfetch-0.1.0/libias/
H A Ddiffutil.c78 struct Array *edit_ranges = mempool_array(pool); in get_hunks() local
86 array_append(edit_ranges, h); in get_hunks()
104 array_append(edit_ranges, h); in get_hunks()
107 ARRAY_FOREACH(edit_ranges, struct Hunk *, h) { in get_hunks()
113 array_sort(edit_ranges, by_start, NULL); in get_hunks()
117 ARRAY_FOREACH(edit_ranges, struct Hunk *, h) { in get_hunks()
/dports/ports-mgmt/portfmt/portfmt-1.1.0/libias/
H A Ddiffutil.c77 struct Array *edit_ranges = mempool_array(pool); in get_hunks() local
85 array_append(edit_ranges, h); in get_hunks()
103 array_append(edit_ranges, h); in get_hunks()
106 ARRAY_FOREACH(edit_ranges, struct Hunk *, h) { in get_hunks()
112 array_sort(edit_ranges, by_start, NULL); in get_hunks()
116 ARRAY_FOREACH(edit_ranges, struct Hunk *, h) { in get_hunks()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/rust-analyzer/src/
H A Dlsp_utils.rs171 let mut edit_ranges = Vec::new(); in all_edits_are_disjoint() localVariable
174 edit_ranges.push(edit.range); in all_edits_are_disjoint()
186 edit_ranges.push(replace); in all_edits_are_disjoint()
191 edit_ranges.extend(additional_changes.iter().map(|edit| edit.range)); in all_edits_are_disjoint()
193 edit_ranges.extend(additional_edits.iter().map(|edit| edit.range)); in all_edits_are_disjoint()
194 edit_ranges.sort_by_key(|range| (range.start, range.end)); in all_edits_are_disjoint()
195 edit_ranges in all_edits_are_disjoint()
197 .zip(edit_ranges.iter().skip(1)) in all_edits_are_disjoint()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/rust-analyzer/src/
H A Dlsp_utils.rs171 let mut edit_ranges = Vec::new(); in all_edits_are_disjoint() localVariable
174 edit_ranges.push(edit.range); in all_edits_are_disjoint()
186 edit_ranges.push(replace); in all_edits_are_disjoint()
191 edit_ranges.extend(additional_changes.iter().map(|edit| edit.range)); in all_edits_are_disjoint()
193 edit_ranges.extend(additional_edits.iter().map(|edit| edit.range)); in all_edits_are_disjoint()
194 edit_ranges.sort_by_key(|range| (range.start, range.end)); in all_edits_are_disjoint()
195 edit_ranges in all_edits_are_disjoint()
197 .zip(edit_ranges.iter().skip(1)) in all_edits_are_disjoint()