Lines Matching refs:hunk
122 DiffMyers.change hunk = script; in mergeDiffs()
125 for (; hunk != null; hunk = hunk.link) { in mergeDiffs()
126 int deletes = hunk.deleted; in mergeDiffs()
127 int inserts = hunk.inserted; in mergeDiffs()
131 lasthunk = hunk; in mergeDiffs()
135 int first0 = hunk.line0; // Index of first deleted word in mergeDiffs()
136 int first1 = hunk.line1; // Index of first inserted word in mergeDiffs()
145 lasthunk.link = hunk.link; in mergeDiffs()
166 DiffMyers.change hunk = script; in addDiffs() local
181 for (; hunk != null; hunk = hunk.link) { in addDiffs()
182 int deletes = hunk.deleted; in addDiffs()
183 int inserts = hunk.inserted; in addDiffs()
190 int first0 = hunk.line0; // Index of first deleted word in addDiffs()
192 int last0 = hunk.line0 + hunk.deleted - 1; in addDiffs()
193 int first1 = hunk.line1; // Index of first inserted word in addDiffs()
195 int last1 = hunk.line1 + hunk.inserted - 1; in addDiffs()