Lines Matching refs:df_count

335 		    || dprev->df_lnum[idx] + dprev->df_count[idx] < line1)  in diff_mark_adjust_tp()
343 dnext->df_count[idx] = inserted; in diff_mark_adjust_tp()
351 + (dprev->df_lnum[i] + dprev->df_count[i]) in diff_mark_adjust_tp()
352 - (dprev->df_lnum[idx] + dprev->df_count[idx]); in diff_mark_adjust_tp()
353 dnext->df_count[i] = deleted; in diff_mark_adjust_tp()
373 last = dp->df_lnum[idx] + dp->df_count[idx] - 1; in diff_mark_adjust_tp()
406 n -= dp->df_count[idx]; in diff_mark_adjust_tp()
410 n = deleted - dp->df_count[idx]; in diff_mark_adjust_tp()
411 dp->df_count[idx] = 0; in diff_mark_adjust_tp()
417 dp->df_count[idx] -= line2 - dp->df_lnum[idx] + 1; in diff_mark_adjust_tp()
428 dp->df_count[idx] -= last - lnum_deleted + 1; in diff_mark_adjust_tp()
447 dp->df_count[idx] -= deleted; in diff_mark_adjust_tp()
455 dp->df_count[i] += n; in diff_mark_adjust_tp()
463 dp->df_count[idx] += inserted; in diff_mark_adjust_tp()
480 if (dprev != NULL && dprev->df_lnum[idx] + dprev->df_count[idx] in diff_mark_adjust_tp()
485 dprev->df_count[i] += dp->df_count[i]; in diff_mark_adjust_tp()
504 if (tp->tp_diffbuf[i] != NULL && dp->df_count[i] != 0) in diff_mark_adjust_tp()
590 while (dp->df_count[i_org] > 0) in diff_check_unchanged()
594 off_org = dp->df_count[i_org] - 1; in diff_check_unchanged()
604 off_new = dp->df_count[i_new] - 1; in diff_check_unchanged()
606 if (off_new < 0 || off_new >= dp->df_count[i_new]) in diff_check_unchanged()
624 --dp->df_count[i_new]; in diff_check_unchanged()
644 if (dp->df_lnum[i] + dp->df_count[i] - 1 in diff_check_sanity()
1712 && lnum_orig > dp->df_lnum[idx_orig] + dp->df_count[idx_orig]) in diff_read()
1722 && lnum_orig <= dp->df_lnum[idx_orig] + dp->df_count[idx_orig] in diff_read()
1740 dp->df_count[idx_new] = count_new; in diff_read()
1746 dp->df_count[idx_new] = count_new - off; in diff_read()
1750 dp->df_count[idx_new] += count_new - count_orig in diff_read()
1751 + dpl->df_lnum[idx_orig] + dpl->df_count[idx_orig] in diff_read()
1752 - (dp->df_lnum[idx_orig] + dp->df_count[idx_orig]); in diff_read()
1757 - (dpl->df_lnum[idx_orig] + dpl->df_count[idx_orig]); in diff_read()
1763 dp->df_count[idx_new] += -off; in diff_read()
1768 dp->df_count[i] = dpl->df_lnum[i] + dpl->df_count[i] in diff_read()
1789 dp->df_count[idx_orig] = count_orig; in diff_read()
1791 dp->df_count[idx_new] = count_new; in diff_read()
1833 off = (dprev->df_lnum[idx_orig] + dprev->df_count[idx_orig]) in diff_copy_entry()
1834 - (dprev->df_lnum[idx_new] + dprev->df_count[idx_new]); in diff_copy_entry()
1836 dp->df_count[idx_new] = dp->df_count[idx_orig]; in diff_copy_entry()
1896 if (lnum <= dp->df_lnum[idx] + dp->df_count[idx]) in diff_check()
1901 if (lnum < dp->df_lnum[idx] + dp->df_count[idx]) in diff_check()
1912 if (dp->df_count[i] == 0) in diff_check()
1916 if (dp->df_count[i] != dp->df_count[idx]) in diff_check()
1927 && dp->df_count[i] != 0) in diff_check()
1949 if (curtab->tp_diffbuf[i] != NULL && dp->df_count[i] > maxcount) in diff_check()
1950 maxcount = dp->df_count[i]; in diff_check()
1951 return maxcount - dp->df_count[idx]; in diff_check()
1964 if (dp->df_count[idx1] != dp->df_count[idx2]) in diff_equal_entry()
1968 for (i = 0; i < dp->df_count[idx1]; ++i) in diff_equal_entry()
2108 if (lnum <= dp->df_lnum[fromidx] + dp->df_count[fromidx]) in diff_set_topline()
2132 && max_count < dp->df_count[i]) in diff_set_topline()
2133 max_count = dp->df_count[i]; in diff_set_topline()
2135 if (dp->df_count[toidx] == dp->df_count[fromidx]) in diff_set_topline()
2140 else if (dp->df_count[toidx] > dp->df_count[fromidx]) in diff_set_topline()
2142 if (lnum == dp->df_lnum[fromidx] + dp->df_count[fromidx]) in diff_set_topline()
2146 if (max_count - fromwin->w_topfill >= dp->df_count[toidx]) in diff_set_topline()
2150 + dp->df_count[toidx]; in diff_set_topline()
2160 + dp->df_count[toidx]) in diff_set_topline()
2164 towin->w_topline = dp->df_lnum[toidx] + dp->df_count[toidx]; in diff_set_topline()
2167 if (lnum == dp->df_lnum[fromidx] + dp->df_count[fromidx]) in diff_set_topline()
2418 if (lnum <= dp->df_lnum[idx] + dp->df_count[idx]) in diff_find_change()
2432 if (off >= dp->df_count[i]) in diff_find_change()
2557 if (dp->df_lnum[idx] + dp->df_count[idx] + diff_context > lnum) in diff_infold()
2747 count = dp->df_count[idx_to]; in ex_diffgetput()
2748 if (dp->df_lnum[idx_cur] + dp->df_count[idx_cur] > eap->line1 + off in ex_diffgetput()
2775 end_skip = dp->df_lnum[idx_cur] + dp->df_count[idx_cur] - 1 in ex_diffgetput()
2782 i = dp->df_count[idx_cur] - start_skip - end_skip; in ex_diffgetput()
2789 end_skip = dp->df_count[idx_from] - start_skip - count; in ex_diffgetput()
2807 for (i = 0; i < dp->df_count[idx_from] - start_skip - end_skip; ++i) in ex_diffgetput()
2830 new_count = dp->df_count[idx_to] + added; in ex_diffgetput()
2831 dp->df_count[idx_to] = new_count; in ex_diffgetput()
2880 dp->df_count[idx_to] = new_count; in ex_diffgetput()
2944 dp->df_lnum[i] + dp->df_count[i]); in diff_fold_update()
3048 if ((dp->df_lnum[idx1] + dp->df_count[idx1]) > lnum1) in diff_get_corresponding_line_int()
3052 if (baseline > dp->df_count[idx2]) in diff_get_corresponding_line_int()
3053 baseline = dp->df_count[idx2]; in diff_get_corresponding_line_int()
3058 && (dp->df_count[idx1] == 0) in diff_get_corresponding_line_int()
3060 && ((dp->df_lnum[idx2] + dp->df_count[idx2]) in diff_get_corresponding_line_int()
3070 baseline = (dp->df_lnum[idx1] + dp->df_count[idx1]) in diff_get_corresponding_line_int()
3071 - (dp->df_lnum[idx2] + dp->df_count[idx2]); in diff_get_corresponding_line_int()
3114 if (lnum <= dp->df_lnum[idx] + dp->df_count[idx]) in diff_lnum_win()
3128 if (n > dp->df_lnum[i] + dp->df_count[i]) in diff_lnum_win()
3129 n = dp->df_lnum[i] + dp->df_count[i]; in diff_lnum_win()