Home
last modified time | relevance | path

Searched refs:SF_STRING (Results 1 – 25 of 65) sorted by relevance

123

/titanic_50/usr/src/lib/libast/common/sfio/
H A Dsfgetr.c58 type = type < 0 ? SF_LASTR : type == 1 ? SF_STRING : type;
61 { if((f->flags&SF_STRING) && (un = f->endb - f->next))
108 (!(type&SF_STRING) || !(f->flags&SF_STRING) ||
109 ((f->flags&SF_STRING) && (f->bits&SF_BOTH) ) ) )
121 …if(!found && (_Sfmaxr > 0 && un+n+1 >= _Sfmaxr || (f->flags&SF_STRING))) /* already exceed limit */
149 if(found && rc != 0 && (type&SF_STRING) )
H A Dsfflsbuf.c58 if(n == (f->endb-data) && (f->flags&SF_STRING))
64 if(f->next < f->endb || !(f->flags&SF_STRING) )
77 (f->flags&SF_LINE) && !(f->flags&SF_STRING))
92 if(n == 0 || (f->flags&SF_STRING))
H A D_sfopen.c54 if(f && !file && !((f->flags|sflags)&SF_STRING) )
87 if(sflags&SF_STRING)
173 sflags |= SF_STRING;
215 if((sflags&(SF_STRING|SF_RDWR)) == SF_STRING)
H A Dsfwrite.c107 { if(f->flags&SF_STRING) /* extend buffer */
110 { if(!(f->flags&SF_STRING)) /* maybe sftmp */
127 if(!(f->flags&SF_STRING) && f->next == f->data &&
152 else if(n == 0 && (f->flags&SF_LINE) && !(f->flags&SF_STRING))
H A Dsfsetbuf.c122 if(_Sfexiting && !(f->flags&SF_STRING) && (f->mode&SF_WRITE))
175 okmmap = (buf || (f->flags&SF_STRING) || (f->flags&SF_RDWR) == SF_RDWR) ? 0 : 1;
197 if((f->flags&(SF_RDWR|SF_STRING)) == SF_RDSTR &&
206 if((init || local) && !(f->flags&SF_STRING))
328 else if(f->flags&SF_STRING )
359 if(size == 0 && !(f->flags&SF_STRING) && !(f->bits&SF_MMAP) && (f->mode&SF_READ))
369 if(f->flags&SF_STRING)
H A Dsfnew.c73 if(f->data && ((flags&SF_STRING) || size != (size_t)SF_UNBOUND) )
85 if(!(flags&SF_STRING) && file >= 0 && file <= 2)
125 if(f->flags&SF_STRING)
H A Dsffilbuf.c67 (f->flags&SF_STRING))
87 else if(!(f->flags&SF_STRING) && !(f->bits&SF_MMAP) )
92 else if(!(f->flags&SF_STRING) )
H A Dsfmode.c93 if(f->flags&SF_STRING) in _sfcleanup()
379 if((!local && SFFROZEN(f)) || (!(f->flags&SF_STRING) && f->file < 0))
389 (!(f->flags&SF_STRING) && f->file < 0) )
451 if((f->flags&SF_STRING) && f->size >= 0 && f->data)
479 else if(f->flags&SF_STRING)
538 else if(f->flags&SF_STRING)
H A Dsfsk.c66 if(f->flags&SF_STRING)
93 if(f->flags&SF_STRING)
H A Dsfwr.c151 if(!(f->flags&SF_STRING) && f->file < 0)
158 if(f->flags&SF_STRING) /* total required buffer */
236 if(!local && !(f->flags&SF_STRING))
H A Dsfexcept.c64 if(io > 0 && !(f->flags&SF_STRING) )
72 if(f->flags&SF_STRING)
H A Dsfclose.c105 if(f->data && (!local || (f->flags&SF_STRING) || (f->bits&SF_MMAP) ) )
122 if(f->file >= 0 && !(f->flags&SF_STRING))
H A Dsfseek.c90 (f->mode&SF_READ) && !(f->flags&SF_STRING);
115 while(f->flags&SF_STRING)
138 else if(!(f->flags&SF_STRING))
H A Dsfsync.c55 if(f->flags&SF_STRING ) in _sfall()
126 if((f->flags&SF_STRING) || (f->mode&SF_SYNCED))
/titanic_50/usr/src/lib/libast/amd64/include/ast/
H A Dsfio_t.h60 #define SF_RDSTR (SF_READ|SF_STRING)
61 #define SF_WRSTR (SF_WRITE|SF_STRING)
62 #define SF_RDWRSTR (SF_RDWR|SF_STRING)
/titanic_50/usr/src/lib/libast/sparc/include/ast/
H A Dsfio_t.h60 #define SF_RDSTR (SF_READ|SF_STRING)
61 #define SF_WRSTR (SF_WRITE|SF_STRING)
62 #define SF_RDWRSTR (SF_RDWR|SF_STRING)
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio_t.h60 #define SF_RDSTR (SF_READ|SF_STRING)
61 #define SF_WRSTR (SF_WRITE|SF_STRING)
62 #define SF_RDWRSTR (SF_RDWR|SF_STRING)
/titanic_50/usr/src/lib/libast/common/include/
H A Dsfio_t.h60 #define SF_RDSTR (SF_READ|SF_STRING)
61 #define SF_WRSTR (SF_WRITE|SF_STRING)
62 #define SF_RDWRSTR (SF_RDWR|SF_STRING)
/titanic_50/usr/src/lib/libast/i386/include/ast/
H A Dsfio_t.h60 #define SF_RDSTR (SF_READ|SF_STRING)
61 #define SF_WRSTR (SF_WRITE|SF_STRING)
62 #define SF_RDWRSTR (SF_RDWR|SF_STRING)
/titanic_50/usr/src/lib/libast/common/string/
H A Dtokline.c131 if (!j && buf[n - 1] != '\n' && (s->_flags & SF_STRING)) in spliceline()
175 if (!(flags & (SF_STRING|SF_READ))) in tokline()
177 else if (!(f = sfopen(NiL, arg, (flags & SF_STRING) ? "s" : "r"))) in tokline()
/titanic_50/usr/src/lib/libast/common/stdio/
H A Dfmemopen.c31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL)); in fmemopen()
H A Dsetvbuf.c33 else if (f->flags & SF_STRING) in setvbuf()
H A Dvswscanf.c39 f.flags = SF_STRING|SF_READ; in vswscanf()
/titanic_50/usr/src/lib/libpp/common/
H A Dppprintf.c36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) in ppprintf()
/titanic_50/usr/src/lib/libast/common/disc/
H A Dsfstrtmp.c50 if (!(f->_flags & SF_STRING))

123