Lines Matching refs:bufcnt
289 if (unlikely (bufcnt == bufsize)) \
291 buf[bufcnt++] = (ch); \
298 if (unlikely (bufcnt + _len > bufsize)) \
300 memcpy (buf + bufcnt, str, _len); \
301 bufcnt += _len; \
315 size_t bufcnt;
325 .bufcntp = &bufcnt,
359 bufcnt = 0;
449 bufcnt = 0;
499 bufcnt = 0;
661 size_t start_idx = bufcnt;
869 string_end_idx = bufcnt;
892 string_end_idx = bufcnt;
913 string_end_idx = bufcnt;
938 string_end_idx = bufcnt;
941 bufcnt = string_end_idx;
945 string_end_idx = bufcnt;
950 while (bufcnt < (size_t) width)
961 string_end_idx = bufcnt;
977 size_t bufavail = bufsize - bufcnt;
980 r = snprintf (&buf[bufcnt], bufavail, "# <%s>",
984 r = snprintf (&buf[bufcnt], bufavail, "# %#" PRIx64,
991 bufcnt += r;
992 string_end_idx = bufcnt;
1000 while (bufcnt + prefix_size < start_idx + width)
1009 bufcnt = string_end_idx;
1026 if (bufcnt == bufsize)
1028 buf[bufcnt] = '\0';
1031 retval = outcb (buf, bufcnt, outcbarg);