Searched defs:endbuf (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A D_getmessage.c48 char *endbuf; local
67 endbuf = buf + (long)stoh(buf);
68 if ((buf + MESG_DATA) > endbuf)
100 if ((buf + 4) > endbuf)
112 if ((buf + 8) > endbuf)
124 if ((buf + 4) > endbuf)
134 if ((buf + *t_short) > endbuf)
145 if ((buf + 4) > endbuf)
154 if ((buf + temp) > endbuf)
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_filbuf.c55 Uchar *endbuf; local
74 if ((endbuf = _findbuf(iop)) == 0) {
78 endbuf = _bufend(iop);
117 nbyte = endbuf - iop->_base;
H A D_findbuf.c59 Uchar *endbuf; local
99 endbuf = iop->_base + size;
100 _setbufend(iop, endbuf);
103 return (endbuf);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfwr.c38 { reg char *sp, *wbuf, *endbuf; local
43 endbuf = buf+n;
61 while(sp < endbuf)
68 if(sp > endbuf)
70 while(sp < endbuf)
90 { buf = endbuf;
H A Dsfpkrd.c56 reg char *buf = (char*)argbuf, *endbuf; local
264 for(endbuf = buf+t; buf < endbuf;)
279 for(endbuf = (sp = buf)+r; sp < endbuf; )
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dregexp.h79 _re_read(register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof) argument
99 RETURN((char*)endbuf);
121 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
123 prev = endbuf;
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c74 static char *dhl_compile(const char *instr, char *ep, char *endbuf);
102 compile(const char *instr, char *expbuf, char *endbuf) argument
104 return (dhl_compile(instr, expbuf, endbuf));
142 char *endbuf) /* ending addr of expbuf */
155 * Check values of expbuf and endbuf
164 endbuf = expbuf + regexc_size;
166 if (expbuf + regexc_size > endbuf) {
140 dhl_compile(const char *instr, char *expbuf, char *endbuf) argument
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfmt.c59 char* endbuf; member in struct:Fmt_s
129 fp->endbuf -= fp->nextdent;
199 if (fp->nwords > 0 && &fp->outp[n] >= fp->endbuf && !fp->retain && !q)
453 if (fp->endbuf > (fp->outbuf + fp->indent + 2*INDENT))
467 fp->endbuf += 2*INDENT;
498 if (fp->outp >= fp->endbuf)
576 fmt.endbuf = &outbuf[72];
597 fmt.endbuf = &outbuf[opt_info.num];
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmtrace.c111 char buf[1024], *bufp, *endbuf; local
135 bufp = buf; endbuf = buf+sizeof(buf);
155 { if((bufp + strlen(file) + SLOP) >= endbuf)
164 n = endbuf - bufp - SLOP - 3;
H A Dvmdebug.c112 char buf[1024], *bufp, *endbuf, *s; local
118 endbuf = buf + sizeof(buf);
165 if((s = DBFILE(data)) && (bufp + strlen(s) + SLOP) < endbuf)
173 if(file && file[0] && line > 0 && (bufp + strlen(file) + SLOP) < endbuf)
H A Dvmprofile.c365 char buf[1024], *bufp, *endbuf; local
366 #define INITBUF() (bufp = buf, endbuf = buf+sizeof(buf)-128)
367 #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp)
/illumos-gate/usr/src/head/
H A Dregexp.h76 compile(char *instring, char *ep, const char *endbuf, int seof) argument
112 if (ep >= endbuf)
152 if (&ep[17] >= endbuf)
172 if (&ep[32] >= endbuf)
185 if (&ep[32] >= endbuf)
/illumos-gate/usr/src/lib/libgen/common/
H A Dreg_compile.c136 compile(const char *sp, char *ep, char *endbuf) argument
138 return (_compile(sp, ep, endbuf, 0));
142 _compile(const char *sp, char *ep, char *endbuf, int viflag) argument
186 endbuf = ep + n;
196 endbuf--; /* avoid extra check for overflow */
198 if (ep >= endbuf)
232 if (start > endbuf)
301 if (start + n > endbuf)
422 if (ep + n > endbuf)
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_proc.c897 char *buf, *endbuf; local
914 endbuf = localbuf;
921 sprintf(endbuf, "%s %s\n", cp, name);
923 endbuf = &endbuf[strlen(endbuf)];
924 bsize = &localbuf[sizeof (localbuf)] - endbuf;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgunzip.c492 static uch endbuf[8]; variable
509 uch *eb = endbuf;
514 gzip_crc = *((unsigned long *) endbuf);
515 gzip_filemax = *((unsigned long *) (endbuf + 4));
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c927 char *endbuf; local
1497 endbuf = bufptr + req_count;
1517 (void) snprintf(bufptr, (size_t)(endbuf-bufptr),
1527 (size_t)(endbuf-bufptr),
1532 (size_t)(endbuf-bufptr),
1539 (size_t)(endbuf-bufptr),
1546 (size_t)(endbuf-bufptr),
1550 (size_t)(endbuf-bufptr), "\n");

Completed in 122 milliseconds