Home
last modified time | relevance | path

Searched refs:ecb (Results 1 – 7 of 7) sorted by relevance

/vim-8.2.3635/src/xdiff/
H A Dxutils.c40 xdemitcb_t *ecb) { in xdl_emit_diffrec() argument
53 if (ecb->out_line(ecb->priv, mb, i) < 0) { in xdl_emit_diffrec()
345 xdemitcb_t *ecb) { in xdl_format_hunk_hdr() argument
387 if (ecb->out_line(ecb->priv, &mb, 1) < 0) in xdl_format_hunk_hdr()
394 xdemitcb_t *ecb) { in xdl_emit_hunk_hdr() argument
395 if (!ecb->out_hunk) in xdl_emit_hunk_hdr()
396 return xdl_format_hunk_hdr(s1, c1, s2, c2, func, funclen, ecb); in xdl_emit_hunk_hdr()
397 if (ecb->out_hunk(ecb->priv, in xdl_emit_hunk_hdr()
H A Dxemit.c33 static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) { in xdl_emit_record() argument
38 if (xdl_emit_diffrec(rec, size, pre, psize, ecb) < 0) { in xdl_emit_record()
177 int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb, in xdl_emit_diff() argument
301 func_line.buf, func_line.len, ecb) < 0) in xdl_emit_diff()
308 if (xdl_emit_record(&xe->xdf2, s2, " ", ecb) < 0) in xdl_emit_diff()
316 if (xdl_emit_record(&xe->xdf2, s2, " ", ecb) < 0) in xdl_emit_diff()
323 if (xdl_emit_record(&xe->xdf1, s1, "-", ecb) < 0) in xdl_emit_diff()
330 if (xdl_emit_record(&xe->xdf2, s2, "+", ecb) < 0) in xdl_emit_diff()
343 if (xdl_emit_record(&xe->xdf2, s2, " ", ecb) < 0) in xdl_emit_diff()
H A Dxemit.h27 typedef int (*emit_func_t)(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
31 int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
H A Dxutils.h30 xdemitcb_t *ecb);
41 const char *func, long funclen, xdemitcb_t *ecb);
H A Dxdiffi.c984 static int xdl_call_hunk_func(xdfenv_t *xe UNUSED, xdchange_t *xscr, xdemitcb_t *ecb, in xdl_call_hunk_func() argument
995 ecb->priv) < 0) in xdl_call_hunk_func()
1065 xdemitconf_t const *xecfg, xdemitcb_t *ecb) { in xdl_diff() argument
1090 if (ef(&xe, xscr, ecb, xecfg) < 0) { in xdl_diff()
H A Dxdiffi.h57 int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
H A Dxdiff.h136 xdemitconf_t const *xecfg, xdemitcb_t *ecb);