Home
last modified time | relevance | path

Searched refs:endbuf (Results 1 – 25 of 31) sorted by relevance

12

/titanic_51/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)
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dregexp.h90 …t char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; cons… in __OTORP__()
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dregexp.h90 …t char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; cons… in __OTORP__()
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dregexp.h90 …t char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; cons… in __OTORP__()
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dregexp.h90 …t char* endbuf, int seof), (re, instring, ep, endbuf, seof)) __OTORP__(register regexp_t* re; cons… in __OTORP__()
109 RETURN((char*)endbuf);
131 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
133 prev = endbuf;
/titanic_51/usr/src/lib/libgen/common/
H A Dreg_compile.c138 compile(const char *sp, char *ep, char *endbuf) in compile() argument
140 return (_compile(sp, ep, endbuf, 0)); in compile()
144 _compile(const char *sp, char *ep, char *endbuf, int viflag) in _compile() argument
188 endbuf = ep + n; in _compile()
198 endbuf--; /* avoid extra check for overflow */ in _compile()
200 if (ep >= endbuf) in _compile()
234 if (start > endbuf) in _compile()
303 if (start + n > endbuf) in _compile()
420 if (ep + n > endbuf) in _compile()
/titanic_51/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) in compile() argument
105 return (dhl_compile(instr, expbuf, endbuf)); in compile()
141 dhl_compile(instr, expbuf, endbuf) in dhl_compile() argument
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) {
/titanic_51/usr/src/lib/libc/port/stdio/
H A D_filbuf.c58 Uchar *endbuf; in _filbuf() local
77 if ((endbuf = _findbuf(iop)) == 0) /* get buffer and */ in _filbuf()
82 endbuf = _bufend(iop); in _filbuf()
119 nbyte = endbuf - iop->_base; in _filbuf()
H A D_findbuf.c57 Uchar *endbuf; in _findbuf() local
98 endbuf = iop->_base + size; in _findbuf()
99 _setbufend(iop, endbuf); in _findbuf()
102 return (endbuf); in _findbuf()
/titanic_51/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) in _re_read() argument
99 RETURN((char*)endbuf); in _re_read()
121 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep)) in _re_read()
123 prev = endbuf; in _re_read()
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dregexp.h79 _re_read(register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof) in _re_read() argument
99 RETURN((char*)endbuf); in _re_read()
121 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep)) in _re_read()
123 prev = endbuf; in _re_read()
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfwr.c41 { reg char *sp, *wbuf, *endbuf; local
46 endbuf = buf+n;
64 while(sp < endbuf)
71 if(sp > endbuf)
73 while(sp < endbuf)
93 { buf = endbuf;
H A Dsfpkrd.c56 reg char *buf = (char*)argbuf, *endbuf; local
298 for(endbuf = buf+t; buf < endbuf;)
313 for(endbuf = (sp = buf)+r; sp < endbuf; )
/titanic_51/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; )
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dfmt.c59 char* endbuf; member
129 fp->endbuf -= fp->nextdent; in outline()
199 if (fp->nwords > 0 && &fp->outp[n] >= fp->endbuf && !fp->retain && !q) in split()
453 if (fp->endbuf > (fp->outbuf + fp->indent + 2*INDENT)) in dofmt()
467 fp->endbuf += 2*INDENT; in dofmt()
498 if (fp->outp >= fp->endbuf) in dofmt()
576 fmt.endbuf = &outbuf[72]; in b_fmt()
598 fmt.endbuf = &outbuf[opt_info.num]; in b_fmt()
/titanic_51/usr/src/lib/libcmd/common/
H A Dfmt.c59 char* endbuf; member
129 fp->endbuf -= fp->nextdent; in outline()
199 if (fp->nwords > 0 && &fp->outp[n] >= fp->endbuf && !fp->retain && !q) in split()
453 if (fp->endbuf > (fp->outbuf + fp->indent + 2*INDENT)) in dofmt()
467 fp->endbuf += 2*INDENT; in dofmt()
498 if (fp->outp >= fp->endbuf) in dofmt()
576 fmt.endbuf = &outbuf[72]; in b_fmt()
597 fmt.endbuf = &outbuf[opt_info.num]; in b_fmt()
/titanic_51/usr/src/head/
H A Dregexp.h76 compile(char *instring, char *ep, const char *endbuf, int seof) in compile() argument
112 if (ep >= endbuf) in compile()
152 if (&ep[17] >= endbuf) in compile()
172 if (&ep[32] >= endbuf) in compile()
185 if (&ep[32] >= endbuf) in compile()
/titanic_51/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;
/titanic_51/usr/src/contrib/ast/src/lib/libast/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.c111 char buf[1024], *bufp, *endbuf, *s; local
117 endbuf = buf + sizeof(buf);
164 if((s = DBFILE(data)) && (bufp + strlen(s) + SLOP) < endbuf)
172 if(file && file[0] && line > 0 && (bufp + strlen(file) + SLOP) < endbuf)
/titanic_51/usr/src/lib/libgen/inc/
H A Dregexpr.h62 extern char *compile(const char *instring, char *expbuf, char *endbuf);
/titanic_51/usr/src/cmd/ypcmd/
H A Dypserv_proc.c896 char *buf, *endbuf; in multihomed() local
913 endbuf = localbuf; in multihomed()
920 sprintf(endbuf, "%s %s\n", cp, name); in multihomed()
922 endbuf = &endbuf[strlen(endbuf)]; in multihomed()
923 bsize = &localbuf[sizeof (localbuf)] - endbuf; in multihomed()
/titanic_51/usr/src/grub/grub-0.97/stage2/
H A Dgunzip.c492 static uch endbuf[8]; variable
509 uch *eb = endbuf; in get_byte()
514 gzip_crc = *((unsigned long *) endbuf); in get_byte()
515 gzip_filemax = *((unsigned long *) (endbuf + 4)); in get_byte()
/titanic_51/usr/src/lib/libast/common/misc/
H A Dfts.c76 char* endbuf; /* space to build paths */ \
718 if (fts->endbuf) in resize()
719 fts->endbuf = newp + fts->homesize - 4; in resize()
763 fts->endbuf = fts->home + fts->homesize - 4; in fts_open()
904 if ((fts->baselen = f->fts_namelen) >= (fts->endbuf - fts->base) && resize(fts, fts->baselen)) in fts_read()
1035 if (i >= fts->endbuf - fts->endbase) in fts_read()

12