/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | vfwprintf.c | 52 if (w = (wchar_t*)sfreserve(f, n * sizeof(wchar_t) + 1, 0))
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | asa.c | 69 cp = sfreserve(in,n=reclen, -1);
|
H A D | cmp.c | 169 if (!(p1 = (unsigned char*)sfreserve(f1, SF_UNBOUND, 0)) || (c1 = sfvalue(f1)) <= 0) 175 if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) 194 if (!(p2 = (unsigned char*)sfreserve(f2, SF_UNBOUND, 0)) || (c2 = sfvalue(f2)) <= 0)
|
H A D | cat.c | 112 if (!(r = sfreserve(sp, 4, f))) 113 r = sfreserve(sp, n, f); 403 Reserve_f reserve = sfreserve; 441 reserve = opt_info.num ? regress : sfreserve;
|
H A D | wclib.c | 206 if (!(buff = (unsigned char*)sfreserve(fd, SF_UNBOUND, 0)) || (n = sfvalue(fd)) <= 0) 262 while ((cp = (unsigned char*)sfreserve(fd, SF_UNBOUND, 0)) && (c = sfvalue(fd)) > 0) 281 while ((cp = buff = (unsigned char*)sfreserve(fd, SF_UNBOUND, 0)) && (c = sfvalue(fd)) > 0) 353 while ((cp = buff = (unsigned char*)sfreserve(fd, SF_UNBOUND, 0)) && (c = sfvalue(fd)) > 0)
|
H A D | cut.c | 267 bp = sfreserve(fdin, len, -1); 383 while ((bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) && (c = sfvalue(fdin)) > 0) 440 if (!(bp = (unsigned char*)sfreserve(fdin, SF_UNBOUND, -1)) || (c = sfvalue(fdin)) <= 0)
|
H A D | tail.c | 179 if (!(s = sfreserve(fp, n, SF_LOCKR))) 653 if ((s = sfreserve(fp->sp, z, SF_LOCKR)) || (z = sfvalue(fp->sp)) && (s = sfreserve(fp->sp, z, SF_LOCKR)) && (i = 1))
|
H A D | cksum.c | 200 while (p = sfreserve(ip, SF_UNBOUND, 0)) 226 while (p = sfreserve(ip, SF_UNBOUND, 0))
|
H A D | tr.c | 440 if (!(inbuff = (unsigned char*)sfreserve(ip, SF_UNBOUND, SF_LOCKR))) 475 if (!(outbuff = (unsigned char*)sfreserve(op, (ncopy < 0) ? SF_UNBOUND : (ncopy - nwrite), SF_LOCKR)))
|
H A D | uniq.c | 224 if (!(outbuff = sfreserve(fdout, 0, 0)) || (outsize = sfvalue(fdout)) < 0)
|
H A D | grep.c | 276 while (s = (char*)sfreserve(f, SF_UNBOUND, SF_LOCKR)) 470 if (!(s = sfreserve(input, SF_UNBOUND, 0)) || (len = sfvalue(input)) <= 0) 516 if (!(s = sfreserve(input, SF_UNBOUND, 0)))
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfpeek.c | 25 ** This function is obsolete. sfreserve() should be used. 70 *bp = sfreserve(f, sz <= 0 ? 0 : sz > f->size ? f->size : sz, 0);
|
H A D | sfreserve.c | 30 Void_t* sfreserve(Sfio_t* f, ssize_t size, int type) function 32 Void_t* sfreserve(f,size,type) 144 { /* sfreserve(f,0,0) == sfread(f, sfreserve(f,-1,SF_LOCKR), 0) */
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | fcin.c | 48 if(!(buff=(char*)sfreserve(f,SF_UNBOUND,SF_LOCKR))) 61 buff = (char*)sfreserve(f,SF_UNBOUND,SF_LOCKR); 71 * If _Fcin.fclast!=0, performs an sfreserve() for the next buffer.
|
H A D | main.c | 556 if(tdone || !sfreserve(iop,0,0)) 603 && !sfreserve(iop,0,0))
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | recfmt.c | 154 if (!(s = sfreserve(sfstdin, SF_UNBOUND, 0)))
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 165 if(r && (shp->prompt=(char*)sfreserve(sfstderr,r,SF_LOCKR))) 343 cp = sfreserve(iop,0,0); 353 cp = sfreserve(iop,c,SF_LOCKR); 360 m = (cp = sfreserve(iop,c,0)) ? sfvalue(iop) : 0; 366 m = (cp = sfreserve(iop,c,SF_LOCKR)) ? sfvalue(iop) : 0;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppinput.c | 526 if (!(t = sfreserve(sp, 22, 0))) 537 if (!(s = sfreserve(sp, n - index_offset, 0))) 630 if (!(s = sfreserve(sp, index_offset - macro_offset, 0)))
|
/osnet-11/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 524 if(!(buff=(char*)sfreserve(hist_old->histfp,SF_UNBOUND,0))) 563 while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR)) 638 while(cp=(char*)sfreserve(hp->histfp,SF_UNBOUND,0)) 769 if(buff=(char*)sfreserve(hp->histfp,0,SF_LOCKR))
|
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | sfio.h | 159 /* for sfgetr/sfreserve to hold a record */ 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 444 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
|
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | sfio.h | 159 /* for sfgetr/sfreserve to hold a record */ 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 444 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | sfio.h | 159 /* for sfgetr/sfreserve to hold a record */ 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 444 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
|
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | sfio.h | 159 /* for sfgetr/sfreserve to hold a record */ 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 444 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
|
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | sfio.h | 159 /* for sfgetr/sfreserve to hold a record */ 239 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int)); 444 (sfreserve((f),(n),SF_WRITE|SF_LOCKR), sfwrite((f),(f)->_next,0), \
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | iconv.c | 1370 if (!(tb = (char*)sfreserve(op, -(tn + 1), SF_WRITE|SF_LOCKR)) || !(tn = sfvalue(op))) 1475 if ((!(fb = (char*)sfreserve(ip, n, locked = SF_LOCKR)) || !(fo = sfvalue(ip))) && 1476 (!(fb = (char*)sfreserve(ip, n, locked = 0)) || !(fo = sfvalue(ip)))) 1480 if (!(tb = (char*)sfreserve(op, SF_UNBOUND, SF_WRITE|SF_LOCKR)))
|