Searched refs:SF_MALLOC (Results 1 - 17 of 17) sorted by relevance

/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);
/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 Dsfresize.c50 { if((f->flags&SF_MALLOC) && (f->next - f->data) <= size)
H A Dsfungetc.c95 f->flags |= SF_MALLOC;
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 Dsfexcept.c78 { if(f->size >= 0 && !(f->flags&SF_MALLOC))
H A Dsfclose.c112 if(f->flags&SF_MALLOC)
H A Dsftmp.c349 if(!(savf.flags&SF_MALLOC) )
354 if((savf.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);
/ast/src/cmd/tests/sfio/
H A Dtsize.c88 if(sfset(f,0,0)&SF_MALLOC)
89 terror("SF_MALLOC should not have been set");
135 f = sfnew((Sfio_t*)0, (void*)s, 5, -1, SF_STRING|SF_READ|SF_WRITE|SF_MALLOC);
/ast/src/lib/libast/stdio/
H A Dfgets.c59 if(!(f->flags&(SF_BOTH|SF_MALLOC)))
/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), \
/ast/src/lib/librecsort/
H A Drsmerge.c429 if((mg->flags&SF_MALLOC) && !(mg->flags&SF_STRING) )
/ast/src/cmd/ksh93/sh/
H A Dio.c561 sfset(iop,SF_MALLOC,1);
1604 sfset(tmp,SF_MALLOC,1);

Completed in 30 milliseconds