Searched refs:bufend (Results 1 - 17 of 17) sorted by relevance

/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfgets.c50 Uchar *bufend; local
65 if ((bufend = _findbuf(iop)) == NULL) {
71 bufend = _bufend(iop);
93 if (_needsync(iop, bufend))
94 _bufsync(iop, bufend);
H A Dgets.c51 Uchar *bufend; local
65 if ((bufend = _findbuf(stdin)) == 0) {
71 bufend = _bufend(stdin);
93 if (_needsync(stdin, bufend))
94 _bufsync(stdin, bufend);
H A Dputs.c48 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 Dfputs.c54 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 Dfwrite.c69 unsigned char *bufend; local
85 bufend = _bufend(iop);
88 ssize_t buflen = bufend - iop->_base;
H A Dflush.c512 _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);
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/serial/
H A Dcommon.c119 if (port->bufstart < port->bufend)
129 port->bufend = actual;
130 if (port->bufstart >= port->bufend)
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dserial.h86 int bufstart, bufend; member in struct:grub_serial_port::__anon814::__anon816
/osnet-11/usr/src/lib/libc/inc/
H A Dstdiom.h161 extern void _bufsync(FILE *iop, Uchar *bufend);
242 #define _needsync(p, bufend) ((bufend - (p)->_ptr) < \
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/
H A Dxnu.c529 void *buf, *bufstart, *bufend; local
556 bufend = (char *) buf + size;
559 for (i = 0; i < grub_le_to_cpu32 (head->num_devices) && buf < bufend; i++)
574 while (!GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp) && buf < bufend);
579 for (j = 0; j < grub_le_to_cpu32 (devhead->num_values) && buf < bufend;
590 if (buf >= bufend)
595 if (buf >= bufend)
600 if (buf >= bufend)
605 if (buf >= bufend)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/File/Glob/
H A Dbsd_glob.c253 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; local
282 bufend = bufnext + MAXPATHLEN - 1;
294 bufend - bufnext > 4) {
360 while (bufnext < bufend && (c = *patnext++) != BG_EOS)
381 while (bufnext < bufend && (c = *patnext++) != BG_EOS)
/osnet-11/usr/src/cmd/sendmail/src/
H A Dheaders.c1281 #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)
/osnet-11/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c1954 uint32_t *bufend = (uint32_t *)((char *)buf_arg + size); local
1957 while (buf < bufend - 3) {
1961 while (buf < bufend)
1968 uint32_t *bufend = (uint32_t *)((char *)buf_arg + size); local
1971 for (buf = buf_arg; buf < bufend; buf++)
/osnet-11/usr/src/lib/libumem/common/
H A Dumem.c628 uint64_t *bufend = (uint64_t *)((char *)buf_arg + size); local
631 while (buf < bufend)
638 uint64_t *bufend = (uint64_t *)((char *)buf_arg + size); local
641 for (buf = buf_arg; buf < bufend; buf++)
650 uint64_t *bufend = (uint64_t *)((char *)buf_arg + size); local
653 for (buf = buf_arg; buf < bufend; buf++) {
/osnet-11/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c2303 char *bufend = (buffer + buflen); local
2313 if ((buffer + i) > bufend)
2320 if ((buffer + i) > bufend)
/osnet-11/usr/src/lib/libscf/common/
H A Dlowlevel.c8153 char *bufend = outbuf + outmax; local
8177 while ((i < inlen) && (out < bufend)) {
8210 if ((count >= 2) && (out < bufend)) {
8218 if ((count >= 4) && (out < bufend)) {
8228 if ((count >= 5) && (out < bufend)) {
8236 if ((count >= 7) && (out < bufend)) {
8246 if ((count == 8) && (out < bufend)) {
8262 if (out < bufend)
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc1248 void _bufsync(FILE *iop, Uchar *bufend);

Completed in 134 milliseconds