/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfgetr.c | 58 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 D | sfflsbuf.c | 58 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.c | 54 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 D | sfwrite.c | 107 { 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 D | sfsetbuf.c | 122 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 D | sfnew.c | 73 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 D | sffilbuf.c | 67 (f->flags&SF_STRING)) 87 else if(!(f->flags&SF_STRING) && !(f->bits&SF_MMAP) ) 92 else if(!(f->flags&SF_STRING) )
|
H A D | sfmode.c | 93 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 D | sfsk.c | 66 if(f->flags&SF_STRING) 93 if(f->flags&SF_STRING)
|
H A D | sfwr.c | 151 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 D | sfexcept.c | 64 if(io > 0 && !(f->flags&SF_STRING) ) 72 if(f->flags&SF_STRING)
|
H A D | sfclose.c | 105 if(f->data && (!local || (f->flags&SF_STRING) || (f->bits&SF_MMAP) ) ) 122 if(f->file >= 0 && !(f->flags&SF_STRING))
|
H A D | sfseek.c | 90 (f->mode&SF_READ) && !(f->flags&SF_STRING); 115 while(f->flags&SF_STRING) 138 else if(!(f->flags&SF_STRING))
|
H A D | sfsync.c | 55 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 D | sfio_t.h | 60 #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 D | sfio_t.h | 60 #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 D | sfio_t.h | 60 #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 D | sfio_t.h | 60 #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 D | sfio_t.h | 60 #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 D | tokline.c | 131 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 D | fmemopen.c | 31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL)); in fmemopen()
|
H A D | setvbuf.c | 33 else if (f->flags & SF_STRING) in setvbuf()
|
H A D | vswscanf.c | 39 f.flags = SF_STRING|SF_READ; in vswscanf()
|
/titanic_50/usr/src/lib/libpp/common/ |
H A D | ppprintf.c | 36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) in ppprintf()
|
/titanic_50/usr/src/lib/libast/common/disc/ |
H A D | sfstrtmp.c | 50 if (!(f->_flags & SF_STRING))
|