| /vim-8.2.3635/src/xdiff/ |
| H A D | xpatience.c | 74 xpparam_t const *xpp; member 81 if (!strncmp(line, xpp->anchors[i], strlen(xpp->anchors[i]))) in is_anchor() 143 xpparam_t const *xpp, xdfenv_t *env, in fill_hashmap() argument 149 result->xpp = xpp; in fill_hashmap() 260 xpparam_t const *xpp, xdfenv_t *env, 292 map->xpp, map->env, in walk_common_sequence() 316 xpparam_t xpp; in fall_back_to_classic_diff() local 318 memset(&xpp, 0, sizeof(xpp)); in fall_back_to_classic_diff() 319 xpp.flags = map->xpp->flags & ~XDF_DIFF_ALGORITHM_MASK; in fall_back_to_classic_diff() 332 xpparam_t const *xpp, xdfenv_t *env, in patience_diff() argument [all …]
|
| H A D | xhistogram.c | 72 xpparam_t const *xpp; member 91 static int cmp_recs(xpparam_t const *xpp, in cmp_recs() argument 96 xpp->flags); in cmp_recs() 99 #define CMP_ENV(xpp, env, s1, l1, s2, l2) \ argument 100 (cmp_recs(xpp, REC(env, s1, l1), REC(env, s2, l2))) 240 xpparam.flags = xpp->flags & ~XDF_DIFF_ALGORITHM_MASK; in fall_back_to_classic_diff() 265 index.xpp = xpp; in find_lcs() 355 result = histogram_diff(xpp, env, in histogram_diff() 378 xpparam_t const *xpp, xdfenv_t *env) in xdl_do_histogram_diff() argument 380 if (xdl_prepare_env(file1, file2, xpp, env) < 0) in xdl_do_histogram_diff() [all …]
|
| H A D | xprepare.c | 184 if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF) in xdl_prepare_ctx() 198 hav = xdl_hash_record(&cur, top, xpp->flags); in xdl_prepare_ctx() 212 if ((XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) && in xdl_prepare_ctx() 276 sample = (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF in xdl_prepare_env() 282 if (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF && in xdl_prepare_env() 283 xdl_init_classifier(&cf, enl1 + enl2 + 1, xpp->flags) < 0) in xdl_prepare_env() 286 if (xdl_prepare_ctx(1, mf1, enl1, xpp, &cf, &xe->xdf1) < 0) { in xdl_prepare_env() 291 if (xdl_prepare_ctx(2, mf2, enl2, xpp, &cf, &xe->xdf2) < 0) { in xdl_prepare_env() 298 if ((XDF_DIFF_ALG(xpp->flags) != XDF_PATIENCE_DIFF) && in xdl_prepare_env() 299 (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) && in xdl_prepare_env() [all …]
|
| H A D | xdiffi.c | 320 return xdl_do_patience_diff(mf1, mf2, xpp, xe); in xdl_do_diff() 323 return xdl_do_histogram_diff(mf1, mf2, xpp, xe); in xdl_do_diff() 325 if (xdl_prepare_env(mf1, mf2, xpp, xe) < 0) { in xdl_do_diff() 1027 for (i = 0; i < xpp->ignore_regex_nr; i++) 1036 xpparam_t const *xpp) 1053 ignore = record_matches_regex(rec[i], xpp); 1057 ignore = record_matches_regex(rec[i], xpp); 1070 if (xdl_do_diff(mf1, mf2, xpp, &xe) < 0) { in xdl_diff() 1082 if (xpp->flags & XDF_IGNORE_BLANK_LINES) in xdl_diff() 1086 if (xpp->ignore_regex) in xdl_diff() [all …]
|
| H A D | xdiffi.h | 52 int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, 59 int xdl_do_patience_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, 61 int xdl_do_histogram_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
|
| H A D | xdiff.h | 135 int xdl_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, 139 xpparam_t xpp; member
|
| H A D | xprepare.h | 28 int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
|
| H A D | xutils.h | 42 int xdl_fall_back_diff(xdfenv_t *diff_env, xpparam_t const *xpp,
|
| H A D | xutils.c | 405 int xdl_fall_back_diff(xdfenv_t *diff_env, xpparam_t const *xpp, in xdl_fall_back_diff() argument 425 if (xdl_do_diff(&subfile1, &subfile2, xpp, &env) < 0) in xdl_fall_back_diff()
|