/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | _getmessage.c | 48 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/libgen/common/ |
H A D | reg_compile.c | 136 compile(const char *sp, char *ep, char *endbuf) in compile() argument 138 return (_compile(sp, ep, endbuf, 0)); in compile() 142 _compile(const char *sp, char *ep, char *endbuf, int viflag) in _compile() argument 186 endbuf = ep + n; in _compile() 196 endbuf--; /* avoid extra check for overflow */ in _compile() 198 if (ep >= endbuf) in _compile() 232 if (start > endbuf) in _compile() 301 if (start + n > endbuf) in _compile() 422 if (ep + n > endbuf) in _compile()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _filbuf.c | 55 Uchar *endbuf; in _filbuf() local 74 if ((endbuf = _findbuf(iop)) == 0) { in _filbuf() 78 endbuf = _bufend(iop); in _filbuf() 117 nbyte = endbuf - iop->_base; in _filbuf()
|
H A D | _findbuf.c | 61 Uchar *endbuf; in _findbuf() local 110 endbuf = iop->_base + size; in _findbuf() 111 _setbufend(iop, endbuf); in _findbuf() 114 return (endbuf); in _findbuf()
|
/illumos-gate/usr/src/cmd/expr/ |
H A D | compile.c | 74 static char *dhl_compile(const char *instr, char *ep, char *endbuf); 102 compile(const char *instr, char *expbuf, char *endbuf) in compile() argument 104 return (dhl_compile(instr, expbuf, endbuf)); in compile() 142 char *endbuf) /* ending addr of expbuf */ in dhl_compile() argument 164 endbuf = expbuf + regexc_size; in dhl_compile() 166 if (expbuf + regexc_size > endbuf) { in dhl_compile()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | regexp.h | 79 _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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfwr.c | 41 { 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 D | sfpkrd.c | 56 reg char *buf = (char*)argbuf, *endbuf; local 298 for(endbuf = buf+t; buf < endbuf;) 313 for(endbuf = (sp = buf)+r; sp < endbuf; )
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | fmt.c | 59 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()
|
/illumos-gate/usr/src/head/ |
H A D | regexp.h | 76 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmtrace.c | 111 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 D | vmdebug.c | 111 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)
|
H A D | vmprofile.c | 365 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/lib/libgen/inc/ |
H A D | regexpr.h | 60 extern char *compile(const char *instring, char *expbuf, char *endbuf);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_proc.c | 895 char *buf, *endbuf; in multihomed() local 912 endbuf = localbuf; in multihomed() 919 sprintf(endbuf, "%s %s\n", cp, name); in multihomed() 921 endbuf = &endbuf[strlen(endbuf)]; in multihomed() 922 bsize = &localbuf[sizeof (localbuf)] - endbuf; in multihomed()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | gunzip.c | 492 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | fts.c | 76 char* endbuf; /* space to build paths */ \ 731 if (fts->endbuf) in resize() 732 fts->endbuf = newp + fts->homesize - 4; in resize() 776 fts->endbuf = fts->home + fts->homesize - 4; in fts_open() 921 if ((fts->baselen = f->fts_namelen) >= (fts->endbuf - fts->base) && resize(fts, fts->baselen)) in fts_read() 1052 if (i >= fts->endbuf - fts->endbase) in fts_read()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | mail.h | 277 extern char *altcompile(const char *instring, char *expbuf, char *endbuf);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 930 char *endbuf; in bofi_ioctl() local 1500 endbuf = bufptr + req_count; in bofi_ioctl() 1520 (void) snprintf(bufptr, (size_t)(endbuf-bufptr), in bofi_ioctl() 1530 (size_t)(endbuf-bufptr), in bofi_ioctl() 1535 (size_t)(endbuf-bufptr), in bofi_ioctl() 1542 (size_t)(endbuf-bufptr), in bofi_ioctl() 1549 (size_t)(endbuf-bufptr), in bofi_ioctl() 1553 (size_t)(endbuf-bufptr), "\n"); in bofi_ioctl()
|