Home
last modified time | relevance | path

Searched refs:SF_AVAIL (Results 1 – 25 of 35) sorted by relevance

12

/dports/shells/ksh2020/ast-ksh2020/src/lib/libast/sfio/
H A Dsfswap.c42 if (!f1 || (f1->mode & SF_AVAIL) || (SFFROZEN(f1) && (f1->mode & SF_PUSH))) return NULL; in sfswap()
56 if ((!f2 || !(f2->mode & SF_AVAIL))) { in sfswap()
66 f2->mode = SF_AVAIL | SF_LOCK; in sfswap()
67 f2mode = SF_AVAIL; in sfswap()
107 if (f2mode & SF_AVAIL) /* swapping to a closed stream */ in sfswap()
H A Dsfnew.c51 } else if (f->mode & SF_AVAIL) { /* only allow SF_STATIC to be already closed */ in sfnew()
75 if (f->mode & SF_AVAIL) { in sfnew()
H A Dsfclrlock.c38 if (f && (f->mode & SF_AVAIL)) return 0; in sfclrlock()
H A Dsfpool.c50 p->mode = SF_AVAIL; in delpool()
60 if (p->mode == SF_AVAIL) { in newpool()
H A Dsfhdr.h230 #define SF_AVAIL 00020000 /* was closed, available for reuse */ macro
522 #define SFKILL(f) ((f)->mode = (SF_AVAIL | SF_LOCK))
523 #define SFKILLED(f) (((f)->mode & (SF_AVAIL | SF_LOCK)) == (SF_AVAIL | SF_LOCK))
H A Dsfclose.c162 f->mode = SF_AVAIL; in sfclose()
/dports/graphics/graphviz/graphviz-2.44.1/lib/sfio/
H A Dsfswap.c29 if (!f1 || (f1->mode & SF_AVAIL) in sfswap()
49 if ((!f2 || !(f2->mode & SF_AVAIL))) { in sfswap()
58 f2->mode = SF_AVAIL | SF_LOCK; in sfswap()
59 f2mode = SF_AVAIL; in sfswap()
97 if (f2mode & SF_AVAIL) { /* swapping to a closed stream */ in sfswap()
H A Dsfnew.c48 } else if (f->mode & SF_AVAIL) { /* only allow SF_STATIC to be already closed */ in sfnew()
75 if (f->mode & SF_AVAIL) { in sfnew()
H A Dsfclrlock.c27 if (f && (f->mode & SF_AVAIL)) in sfclrlock()
H A Dsfpool.c35 p->mode = SF_AVAIL; in delpool()
46 if (p->mode == SF_AVAIL) { in newpool()
H A Dsfhdr.h200 #define SF_AVAIL 00020000 /* was closed, available for reuse */ macro
501 #define SFKILL(f) ((f)->mode = (SF_AVAIL|SF_LOCK) )
502 #define SFKILLED(f) (((f)->mode&(SF_AVAIL|SF_LOCK)) == (SF_AVAIL|SF_LOCK) )
H A Dsfclose.c142 f->mode = SF_AVAIL; in sfclose()
/dports/shells/ksh93/ast-93u/src/lib/libast/sfio/
H A Dsfswap.c43 if(!f1 || (f1->mode&SF_AVAIL) || (SFFROZEN(f1) && (f1->mode&SF_PUSH)) )
63 if((!f2 || !(f2->mode&SF_AVAIL)) )
72 f2->mode = SF_AVAIL|SF_LOCK;
73 f2mode = SF_AVAIL;
107 if(f2mode&SF_AVAIL) /* swapping to a closed stream */
H A Dsfnew.c58 else if(f->mode&SF_AVAIL)
88 { if(f->mode&SF_AVAIL)
H A Dsfclrlock.c41 if(f && (f->mode&SF_AVAIL))
H A Dsfpool.c48 p->mode = SF_AVAIL;
64 { if(p->mode == SF_AVAIL )
H A Dsfclose.c170 f->mode = SF_AVAIL;
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/sfio/
H A Dsfswap.c43 if(!f1 || (f1->mode&SF_AVAIL) || (SFFROZEN(f1) && (f1->mode&SF_PUSH)) )
63 if((!f2 || !(f2->mode&SF_AVAIL)) )
72 f2->mode = SF_AVAIL|SF_LOCK;
73 f2mode = SF_AVAIL;
107 if(f2mode&SF_AVAIL) /* swapping to a closed stream */
H A Dsfnew.c58 else if(f->mode&SF_AVAIL)
88 { if(f->mode&SF_AVAIL)
H A Dsfclrlock.c41 if(f && (f->mode&SF_AVAIL))
H A Dsfpool.c48 p->mode = SF_AVAIL;
64 { if(p->mode == SF_AVAIL )
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/sfio/
H A Dsfswap.c43 if(!f1 || (f1->mode&SF_AVAIL) || (SFFROZEN(f1) && (f1->mode&SF_PUSH)) )
63 if((!f2 || !(f2->mode&SF_AVAIL)) )
72 f2->mode = SF_AVAIL|SF_LOCK;
73 f2mode = SF_AVAIL;
107 if(f2mode&SF_AVAIL) /* swapping to a closed stream */
H A Dsfnew.c58 else if(f->mode&SF_AVAIL)
88 { if(f->mode&SF_AVAIL)
H A Dsfclrlock.c41 if(f && (f->mode&SF_AVAIL))
H A Dsfpool.c48 p->mode = SF_AVAIL;
64 { if(p->mode == SF_AVAIL )

12