Home
last modified time | relevance | path

Searched refs:SF_MALLOC (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfstrtmp.c52 if (f->_flags & SF_MALLOC)
54 f->_flags &= ~(SF_ERROR|SF_MALLOC);
H A Dsfdcdio.c204 sfset(f,SF_MALLOC,1);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfnew.c74 { if(sflags&SF_MALLOC)
79 sflags &= ~SF_MALLOC;
109 f->flags = (flags&SF_FLAGS) | (sflags&(SF_MALLOC|SF_STATIC));
H A Dsfsetbuf.c205 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 Dsfresize.c50 { if((f->flags&SF_MALLOC) && (f->next - f->data) <= size)
H A Dsfungetc.c95 f->flags |= SF_MALLOC;
H A Dsftmp.c349 if(!(savf.flags&SF_MALLOC) )
354 if((savf.flags&SF_MALLOC) )
H A Dsfexcept.c78 { if(f->size >= 0 && !(f->flags&SF_MALLOC))
H A Dsfclose.c112 if(f->flags&SF_MALLOC)
H A Dsfreserve.c176 { if((f->mode&SF_WRITE) && (f->flags&SF_MALLOC) )
H A Dsfdisc.c263 f->flags |= (flags&SF_MALLOC);
H A Dsfmode.c470 f->flags |= (n&SF_MALLOC);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dfgets.c59 if(!(f->flags&(SF_BOTH|SF_MALLOC))) in _stdgets()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dsfio.h140 #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 Dio.c561 sfset(iop,SF_MALLOC,1); in sh_iostream()
1631 sfset(tmp,SF_MALLOC,1); in io_heredoc()
H A Dmacro.c2143 sp = sfnew(NIL(Sfio_t*),(char*)malloc(IOBSIZE+1),IOBSIZE,fd,SF_READ|SF_MALLOC); in comsubst()