sz 12 src/diffviewer/internal.h typedef int (*DFUNC) (void *ctx, int ch, int line, off_t off, size_t sz, const char *str); sz 770 src/diffviewer/ydiff.c int sz; sz 773 src/diffviewer/ydiff.c while ((sz = dview_fgets (buf, sizeof (buf) - 1, f)) != 0) sz 777 src/diffviewer/ydiff.c if (buf[sz - 1] != '\n') sz 780 src/diffviewer/ydiff.c buf[sz] = '\0'; sz 785 src/diffviewer/ydiff.c while (buf[sz - 1] != '\n' && (sz = dview_fgets (buf, sizeof (buf), f)) != 0) sz 851 src/diffviewer/ydiff.c size_t sz; sz 854 src/diffviewer/ydiff.c sz = dview_fgets (buf, sizeof (buf), f); sz 855 src/diffviewer/ydiff.c if (sz == 0) sz 859 src/diffviewer/ydiff.c printer (ctx, ch, *line, *off, sz, buf); sz 860 src/diffviewer/ydiff.c *off += sz; sz 862 src/diffviewer/ydiff.c while (buf[sz - 1] != '\n') sz 864 src/diffviewer/ydiff.c sz = dview_fgets (buf, sizeof (buf), f); sz 865 src/diffviewer/ydiff.c if (sz == 0) sz 871 src/diffviewer/ydiff.c printer (ctx, 0, 0, 0, sz, buf); sz 872 src/diffviewer/ydiff.c *off += sz; sz 1330 src/diffviewer/ydiff.c int sz = 0; sz 1395 src/diffviewer/ydiff.c sz = dst - tmp; sz 1400 src/diffviewer/ydiff.c return sz; sz 1426 src/diffviewer/ydiff.c int sz = 0; sz 1495 src/diffviewer/ydiff.c sz = dst - tmp; sz 1501 src/diffviewer/ydiff.c return sz; sz 1528 src/diffviewer/ydiff.c size_t sz; sz 1546 src/diffviewer/ydiff.c sz = dview_fgets (tmp, amount, f); sz 1547 src/diffviewer/ydiff.c if (sz == 0) sz 1550 src/diffviewer/ydiff.c base = cvt_cpy (cvt, tmp, sz, old_base, ts); sz 1575 src/diffviewer/ydiff.c sz = dview_fgets (tmp, dstsize - useful + 1, f); sz 1576 src/diffviewer/ydiff.c if (sz != 0) sz 1580 src/diffviewer/ydiff.c useful += cvt_ncpy (dst + useful, dstsize - useful, &ptr, sz, base, ts) - base; sz 1581 src/diffviewer/ydiff.c if (ptr < tmp + sz) sz 1585 src/diffviewer/ydiff.c sz = useful; sz 1590 src/diffviewer/ydiff.c sz = dstsize; sz 1594 src/diffviewer/ydiff.c dst[sz] = lastch; sz 1595 src/diffviewer/ydiff.c for (i = 0; i < sz && dst[i] != '\n'; i++) sz 1613 src/diffviewer/ydiff.c return sz; sz 1631 src/diffviewer/ydiff.c printer (void *ctx, int ch, int line, off_t off, size_t sz, const char *str) sz 1646 src/diffviewer/ydiff.c if (sz != 0 && str[sz - 1] == '\n') sz 1647 src/diffviewer/ydiff.c sz--; sz 1648 src/diffviewer/ydiff.c if (sz > 0) sz 1649 src/diffviewer/ydiff.c p.p = g_strndup (str, sz); sz 1650 src/diffviewer/ydiff.c p.u.len = sz; sz 1659 src/diffviewer/ydiff.c if (sz != 0 && str[sz - 1] == '\n') sz 1660 src/diffviewer/ydiff.c sz--; sz 1661 src/diffviewer/ydiff.c if (sz != 0) sz 1666 src/diffviewer/ydiff.c new_size = p->u.len + sz; sz 1668 src/diffviewer/ydiff.c memcpy (q + p->u.len, str, sz); sz 1671 src/diffviewer/ydiff.c p->u.len += sz; sz 1676 src/diffviewer/ydiff.c dview_fwrite (f, str, sz); sz 733 src/editor/editbuffer.c off_t sz; sz 737 src/editor/editbuffer.c sz = mc_read (fd, b, data_size); sz 738 src/editor/editbuffer.c if (sz >= 0) sz 739 src/editor/editbuffer.c ret += sz; sz 742 src/editor/editbuffer.c for (j = 0; j < sz; j++) sz 764 src/editor/editbuffer.c if (sz != data_size) sz 813 src/editor/editbuffer.c off_t data_size, sz; sz 823 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); sz 824 src/editor/editbuffer.c if (sz >= 0) sz 825 src/editor/editbuffer.c ret += sz; sz 827 src/editor/editbuffer.c ret = sz; sz 828 src/editor/editbuffer.c if (sz != data_size) sz 835 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); sz 836 src/editor/editbuffer.c if (sz >= 0) sz 837 src/editor/editbuffer.c ret += sz; sz 838 src/editor/editbuffer.c if (sz != data_size) sz 849 src/editor/editbuffer.c sz = mc_write (fd, (char *) b + EDIT_BUF_SIZE - data_size, data_size); sz 850 src/editor/editbuffer.c if (sz >= 0) sz 851 src/editor/editbuffer.c ret += sz; sz 853 src/editor/editbuffer.c if (sz == data_size) sz 860 src/editor/editbuffer.c sz = mc_write (fd, b, data_size); sz 861 src/editor/editbuffer.c if (sz >= 0) sz 862 src/editor/editbuffer.c ret += sz; sz 863 src/editor/editbuffer.c if (sz != data_size)