Searched refs:hunk (Results 1 – 2 of 2) sorted by relevance
544 for hunk in change.hunks:545 for start_line, end_line in hunk.actual_lines_changed_offset:
1227 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1); in CreateUnifiedDiff() local1229 hunk.PushLine(' ', left[l_i - i].c_str()); in CreateUnifiedDiff()1252 hunk.PushLine(edit == kMatch ? ' ' : '-', left[l_i].c_str()); in CreateUnifiedDiff()1255 hunk.PushLine('+', right[r_i].c_str()); in CreateUnifiedDiff()1263 if (!hunk.has_edits()) { in CreateUnifiedDiff()1268 hunk.PrintTo(&ss); in CreateUnifiedDiff()