/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fwrite.c | 56 register unsigned char *cptr, *bufend; local 62 bufend = iop->_base + iop->_bufsiz; 82 while ((n = bufend - (cptr = iop->_ptr)) <= 0) /* full buf */
|
H A D | puts.c | 49 register unsigned char *cptr, *bufend; local 54 bufend = stdout->_base + stdout->_bufsiz; 57 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */
|
H A D | fputs.c | 50 unsigned char *cptr, *bufend; local 61 bufend = iop->_base + iop->_bufsiz; 66 while ((n = bufend - (cptr = iop->_ptr)) <= 0) 103 while ((n = bufend - (cptr = iop->_ptr)) <= 0)
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | gets.c | 51 Uchar *bufend; local 65 if ((bufend = _findbuf(stdin)) == 0) { 71 bufend = _bufend(stdin); 93 if (_needsync(stdin, bufend)) 94 _bufsync(stdin, bufend);
|
H A D | fgets.c | 50 Uchar *bufend; local 65 if ((bufend = _findbuf(iop)) == NULL) { 71 bufend = _bufend(iop); 93 if (_needsync(iop, bufend)) 94 _bufsync(iop, bufend);
|
H A D | puts.c | 48 unsigned char *cptr, *bufend; local 63 bufend = _bufend(stdout); 67 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */ 88 if (_needsync(stdout, bufend)) 89 _bufsync(stdout, bufend);
|
H A D | fputs.c | 54 unsigned char *cptr, *bufend; local 68 bufend = _bufend(iop); 73 while ((n = bufend - (cptr = iop->_ptr)) <= 0) { 94 if (_needsync(iop, bufend)) 95 _bufsync(iop, bufend);
|
H A D | fwrite.c | 69 unsigned char *bufend; local 85 bufend = _bufend(iop); 88 ssize_t buflen = bufend - iop->_base;
|
H A D | flush.c | 512 _bufsync(FILE *iop, Uchar *bufend) argument 516 spaceleft = bufend - iop->_ptr; 517 if (bufend < iop->_ptr) { 518 iop->_ptr = bufend; 530 Uchar *bufend; local 538 bufend = _bufend(iop); 542 iop->_cnt = bufend - base; 544 if (_needsync(iop, bufend)) /* recover from interrupts */ 545 _bufsync(iop, bufend);
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | flsbuf.c | 280 unsigned char *bufend = iop->_base + iop->_bufsiz; local 282 if ((spaceleft = bufend - iop->_ptr) < 0) 283 iop->_ptr = bufend;
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | flsbuf.c | 285 unsigned char *bufend = iop->_base + iop->_bufsiz; local 287 if ((spaceleft = bufend - iop->_ptr) < 0) 288 iop->_ptr = bufend;
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 79 char *msgp, *bufend; local 90 bufend = bufp + bufsize; 92 msgp += snprintf(msgp, bufend - msgp, "[fake_kernel] "); 93 msgp += snprintf(msgp, bufend - msgp, prefix); 94 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); 95 msgp += snprintf(msgp, bufend - msgp, suffix);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_umem.c | 153 /* LINTED - alignment of bufend */ 154 uint32_t *bufend = (uint32_t *)((char *)buf_arg + size); local 157 while (buf < bufend - 3) { 162 while (buf < bufend)
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strfmon.c | 89 *--bufend = *(avalue+avalue_size+padded); \ 94 bufend -= thousands_len; \ 95 (void) memcpy(bufend, thousands_sep, thousands_len); \ 535 char *bufend; local 598 bufend = rslt + bufsize - 1; /* reserve space for trailing '\0' */ 608 bufend -= right_prec; 609 (void) memcpy(bufend, avalue + avalue_size+padded-right_prec, 611 bufend -= decimal_len; 612 (void) memcpy(bufend, decimal_point, decimal_len); 643 bufend [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | parser.c | 198 uchar_t *bufend = buf + buflen; local 205 while (buf + 2 <= bufend) { 272 uchar_t *bufend = buf + buflen; local 278 while (buf + 2 <= bufend) { 307 uchar_t *bufend = buf + buflen; local 314 while (buf + USB_IA_DESCR_SIZE <= bufend) { 319 buf, _PTRDIFF(bufend, buf), 342 uchar_t *bufend = buf + buflen; local 349 while (buf + 4 <= bufend) { 355 buf, _PTRDIFF(bufend, bu 377 uchar_t *bufend = buf + buflen; local 433 uchar_t *bufend = buf + buflen; local 483 uchar_t *bufend = buf + buflen; local 512 uchar_t *bufend = buf + buflen; local 538 uchar_t *bufend = buf + buflen; local 584 uchar_t *bufend = buf + buflen; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | printf.c | 81 char *body, *msgp, *bufend; local 110 bufend = bufp + bufsize; 112 body = msgp += snprintf(msgp, bufend - msgp, 115 msgp += snprintf(msgp, bufend - msgp, prefix); 117 msgp += snprintf(msgp, bufend - msgp, "%s%d: ", 119 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); 120 msgp += snprintf(msgp, bufend - msgp, suffix);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | aux.c | 432 char *bufend, *nbufp; local 445 bufend = nbufp; 446 for (cp = name, cp2 = bufend; (c = *cp++) != 0;) { 522 bufend = cp2; 528 cp2 = bufend;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | headers.c | 1281 #define SM_HAVE_ROOM ((bp < buflim) && (buflim <= bufend)) 1324 char *bufend; local 1330 buflim = bufend = &buf[sizeof(buf) - 1]; 1624 if (realqmode && bp < bufend) 1626 while (realcmtlev-- > 0 && bp < bufend) 1628 if (addangle && bp < bufend) 1631 if (bp < bufend)
|
/illumos-gate/usr/src/uts/common/io/virtio/ |
H A D | virtio.c | 125 char *bufend = buf + len; local 128 buf += snprintf(buf, bufend - buf, "Generic ( "); 131 buf += snprintf(buf, bufend - buf, "INDIRECT_DESC "); 134 buf += snprintf(buf, bufend - buf, ") ");
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | module.c | 770 u_char *cp, *recptr, *bufend, *best; local 782 bufend = recptr + mdp->d_hintsz; 785 while (recptr < bufend && !found) {
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1283 *bufend; /* Pointer to end of buffer */ local 1305 bufend = http->buffer + http->used; 1307 while (bufptr < bufend) 1313 if (bufptr >= bufend && http->used < HTTP_MAX_BUFFER) 1324 bytes = http_read_ssl(http, bufend, HTTP_MAX_BUFFER - http->used); 1327 bytes = recv(http->fd, bufend, HTTP_MAX_BUFFER - http->used, 0); 1331 httpDumpData(stdout, "httpGets:", bufend, bytes); 1374 bufend += bytes; 1375 bufptr = bufend; 1378 while (bufptr >= bufend [all...] |
/illumos-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 1444 uint32_t *bufend = (uint32_t *)((char *)buf_arg + size); local 1447 while (buf < bufend - 3) { 1451 while (buf < bufend) 1458 uint32_t *bufend = (uint32_t *)((char *)buf_arg + size); local 1461 for (buf = buf_arg; buf < bufend; buf++)
|
/illumos-gate/usr/src/cmd/xargs/ |
H A D | xargs.c | 748 char *bufend; local 755 bufend = &buffer[MAXSBUF]; 759 if (pbuf + len >= bufend) { 768 if (pbuf >= bufend)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 908 char *arch, *s, *bufend; local 960 bufend = &buf[sizeof (buf) - 1]; 961 while ((*arch != '\0') && (s < bufend))
|
/illumos-gate/usr/src/uts/common/io/vioblk/ |
H A D | vioblk.c | 563 char *bufend = buf + sizeof (buf); local 566 bufp += snprintf(bufp, bufend - bufp, prefix); 569 bufp += virtio_show_features(features, bufp, bufend - bufp); 573 bufp += snprintf(bufp, bufend - bufp, "Vioblk ( "); 577 bufp += snprintf(bufp, bufend - bufp, "BARRIER "); 580 bufp += snprintf(bufp, bufend - bufp, "SIZE_MAX "); 583 bufp += snprintf(bufp, bufend - bufp, "SEG_MAX "); 586 bufp += snprintf(bufp, bufend - bufp, "GEOMETRY "); 589 bufp += snprintf(bufp, bufend - bufp, "RO "); 592 bufp += snprintf(bufp, bufend [all...] |