Searched refs:SF_MALLOC (Results 1 – 16 of 16) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfstrtmp.c | 52 if (f->_flags & SF_MALLOC) 54 f->_flags &= ~(SF_ERROR|SF_MALLOC);
|
H A D | sfdcdio.c | 204 sfset(f,SF_MALLOC,1);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfnew.c | 74 { if(sflags&SF_MALLOC) 79 sflags &= ~SF_MALLOC; 109 f->flags = (flags&SF_FLAGS) | (sflags&(SF_MALLOC|SF_STATIC));
|
H A D | sfsetbuf.c | 205 f->flags &= ~SF_MALLOC; 367 sf_malloc = (oflags&SF_MALLOC); 377 sf_malloc = SF_MALLOC; 402 f->flags = (f->flags & ~SF_MALLOC)|sf_malloc; 404 if(obuf && obuf != f->data && osize > 0 && (oflags&SF_MALLOC))
|
H A D | sfresize.c | 50 { if((f->flags&SF_MALLOC) && (f->next - f->data) <= size)
|
H A D | sfungetc.c | 95 f->flags |= SF_MALLOC;
|
H A D | sftmp.c | 349 if(!(savf.flags&SF_MALLOC) ) 354 if((savf.flags&SF_MALLOC) )
|
H A D | sfexcept.c | 78 { if(f->size >= 0 && !(f->flags&SF_MALLOC))
|
H A D | sfclose.c | 112 if(f->flags&SF_MALLOC)
|
H A D | sfreserve.c | 176 { if((f->mode&SF_WRITE) && (f->flags&SF_MALLOC) )
|
H A D | sfdisc.c | 263 f->flags |= (flags&SF_MALLOC);
|
H A D | sfmode.c | 470 f->flags |= (n&SF_MALLOC);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | fgets.c | 59 if(!(f->flags&(SF_BOTH|SF_MALLOC))) in _stdgets()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | sfio.h | 140 #define SF_MALLOC 0000020 /* buffer is malloc-ed */ macro 451 (sfsetbuf((f),(b),(n)), ((f)->_flags |= (m) ? SF_MALLOC : 0), \
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 561 sfset(iop,SF_MALLOC,1); in sh_iostream() 1631 sfset(tmp,SF_MALLOC,1); in io_heredoc()
|
H A D | macro.c | 2143 sp = sfnew(NIL(Sfio_t*),(char*)malloc(IOBSIZE+1),IOBSIZE,fd,SF_READ|SF_MALLOC); in comsubst()
|