Searched refs:endbuf (Results 1 - 23 of 23) 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.c58 Uchar *endbuf; local
77 if ((endbuf = _findbuf(iop)) == 0) /* get buffer and */
82 endbuf = _bufend(iop);
119 nbyte = endbuf - iop->_base;
H A D_findbuf.c57 Uchar *endbuf; local
98 endbuf = iop->_base + size;
99 _setbufend(iop, endbuf);
102 return (endbuf);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dregexp.h90 _re_read __PARAM__((register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; const char* instring; char* ep; const char* endbuf; int seof;){
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dregexp.h90 _re_read __PARAM__((register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; const char* instring; char* ep; const char* endbuf; int seof;){
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dregexp.h90 _re_read __PARAM__((register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; const char* instring; char* ep; const char* endbuf; int seof;){
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dregexp.h90 _re_read __PARAM__((register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; const char* instring; char* ep; const char* endbuf; int seof;){
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = 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/lib/libgen/common/
H A Dreg_compile.c138 compile(const char *sp, char *ep, char *endbuf) argument
140 return (_compile(sp, ep, endbuf, 0));
144 _compile(const char *sp, char *ep, char *endbuf, int viflag) argument
188 endbuf = ep + n;
198 endbuf--; /* avoid extra check for overflow */
200 if (ep >= endbuf)
234 if (start > endbuf)
303 if (start + n > endbuf)
420 if (ep + n > endbuf)
/illumos-gate/usr/src/lib/libgen/inc/
H A Dregexpr.h62 extern char *compile(const char *instring, char *expbuf, char *endbuf);
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c75 static char * dhl_compile(const char *instr, char *ep, char *endbuf);
103 compile(const char *instr, char *expbuf, char *endbuf) argument
105 return (dhl_compile(instr, expbuf, endbuf));
141 dhl_compile(instr, expbuf, endbuf)
144 char *endbuf; /* ending addr of expbuf */
157 * Check values of expbuf and endbuf
166 endbuf = expbuf + regexc_size;
168 if (expbuf + regexc_size > 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/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/cmd/ypcmd/
H A Dypserv_proc.c896 char *buf, *endbuf; local
913 endbuf = localbuf;
920 sprintf(endbuf, "%s %s\n", cp, name);
922 endbuf = &endbuf[strlen(endbuf)];
923 bsize = &localbuf[sizeof (localbuf)] - endbuf;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfts.c76 char* endbuf; /* space to build paths */ \
718 if (fts->endbuf)
719 fts->endbuf = newp + fts->homesize - 4;
763 fts->endbuf = fts->home + fts->homesize - 4;
904 if ((fts->baselen = f->fts_namelen) >= (fts->endbuf - fts->base) && resize(fts, fts->baselen))
1035 if (i >= fts->endbuf - fts->endbase)
/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/cmd/mail/
H A Dmail.h277 extern char *altcompile(const char *instring, char *expbuf, char *endbuf);
/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 315 milliseconds