Lines Matching refs:buf_used
86 Int buf_used;
97 if (b->buf_used > sizeof(b->buf) - 2 ) {
98 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used );
99 b->buf_used = 0;
101 b->buf[b->buf_used++] = c;
102 b->buf[b->buf_used] = 0;
103 tl_assert(b->buf_used < sizeof(b->buf));
125 if (myprintf_buf.buf_used > 0) {
128 myprintf_buf.buf_used );
218 Int buf_used;
225 if (b->buf_size > 0 && b->buf_used < b->buf_size) {
226 b->buf[b->buf_used++] = c;
227 if (b->buf_used < b->buf_size)
228 b->buf[b->buf_used] = 0;
240 b.buf_used = 0;
245 return b.buf_used;
372 Int buf_used;
396 vg_assert(b->buf_used >= 0 && b->buf_used < sizeof(b->buf)-128);
409 b->buf[b->buf_used++] = '>';
414 b->buf[b->buf_used++] = 'v';
415 b->buf[b->buf_used++] = 'a';
416 b->buf[b->buf_used++] = 'l';
417 b->buf[b->buf_used++] = 'g';
418 b->buf[b->buf_used++] = 'r';
419 b->buf[b->buf_used++] = 'i';
420 b->buf[b->buf_used++] = 'n';
421 b->buf[b->buf_used++] = 'd';
422 b->buf[b->buf_used++] = ':';
423 b->buf[b->buf_used++] = ' ';
432 b->buf[b->buf_used++] = ch;
433 b->buf[b->buf_used++] = ch;
440 b->buf[b->buf_used++] = tmp[i];
446 b->buf[b->buf_used++] = tmp[i];
448 b->buf[b->buf_used++] = ch;
449 b->buf[b->buf_used++] = ch;
450 b->buf[b->buf_used++] = ' ';
455 vg_assert(b->buf_used < sizeof(b->buf)-32);
458 b->buf[b->buf_used++] = c;
459 b->buf[b->buf_used] = 0;
461 if (b->buf_used >= sizeof(b->buf) - 128) {
462 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used );
463 b->buf_used = 0;
489 if (b->atLeft && b->buf_used > 0) {
490 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used );
491 b->buf_used = 0;
574 send_bytes_to_logging_sink( b->sink, b->buf, b->buf_used );
575 b->buf_used = 0;