Lines Matching refs:dprev

88 static void diff_copy_entry(diff_T *dprev, diff_T *dp, int idx_orig, int idx_new);
89 static diff_T *diff_alloc_new(tabpage_T *tp, diff_T *dprev, diff_T *dp);
287 diff_T *dprev; in diff_mark_adjust_tp() local
325 dprev = NULL; in diff_mark_adjust_tp()
334 && (dprev == NULL in diff_mark_adjust_tp()
335 || dprev->df_lnum[idx] + dprev->df_count[idx] < line1) in diff_mark_adjust_tp()
338 dnext = diff_alloc_new(tp, dprev, dp); in diff_mark_adjust_tp()
347 if (dprev == NULL) 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()
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()
486 dprev->df_next = dp->df_next; in diff_mark_adjust_tp()
488 dp = dprev->df_next; in diff_mark_adjust_tp()
493 dprev = dp; in diff_mark_adjust_tp()
498 dprev = NULL; in diff_mark_adjust_tp()
511 if (dprev == NULL) in diff_mark_adjust_tp()
514 dprev->df_next = dnext; in diff_mark_adjust_tp()
519 dprev = dp; in diff_mark_adjust_tp()
541 diff_alloc_new(tabpage_T *tp, diff_T *dprev, diff_T *dp) in diff_alloc_new() argument
549 if (dprev == NULL) in diff_alloc_new()
552 dprev->df_next = dnew; in diff_alloc_new()
1614 diff_T *dprev = NULL; in diff_read() local
1715 diff_copy_entry(dprev, dp, idx_orig, idx_new); in diff_read()
1716 dprev = dp; in diff_read()
1784 dp = diff_alloc_new(curtab, dprev, dp); in diff_read()
1798 diff_copy_entry(dprev, dp, idx_orig, i); in diff_read()
1807 diff_copy_entry(dprev, dp, idx_orig, idx_new); in diff_read()
1808 dprev = dp; in diff_read()
1823 diff_T *dprev, in diff_copy_entry() argument
1830 if (dprev == NULL) in diff_copy_entry()
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()
2608 diff_T *dprev; in ex_diffgetput() local
2739 dprev = NULL; in ex_diffgetput()
2847 if (dprev == NULL) in ex_diffgetput()
2850 dprev->df_next = dp; in ex_diffgetput()
2890 dprev = dp; in ex_diffgetput()