Lines Matching refs:fp
38 size_t __fbufsize(FILE* fp) { in __fbufsize() argument
39 return fp->_bf._size; in __fbufsize()
42 int __freading(FILE* fp) { in __freading() argument
43 return (fp->_flags & __SRD) != 0; in __freading()
46 int __fwriting(FILE* fp) { in __fwriting() argument
47 return (fp->_flags & __SWR) != 0; in __fwriting()
50 int __freadable(FILE* fp) { in __freadable() argument
51 return (fp->_flags & (__SRD|__SRW)) != 0; in __freadable()
54 int __fwritable(FILE* fp) { in __fwritable() argument
55 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()
58 int __flbf(FILE* fp) { in __flbf() argument
59 return (fp->_flags & __SLBF) != 0; in __flbf()
62 void __fpurge(FILE* fp) { in __fpurge() argument
63 fpurge(fp); in __fpurge()
66 size_t __fpending(FILE* fp) { in __fpending() argument
67 return fp->_p - fp->_bf._base; in __fpending()
75 void __fseterr(FILE* fp) { in __fseterr() argument
76 fp->_flags |= __SERR; in __fseterr()
79 int __fsetlocking(FILE* fp, int type) { in __fsetlocking() argument
80 int old_state = _EXT(fp)->_caller_handles_locking ? FSETLOCKING_BYCALLER : FSETLOCKING_INTERNAL; in __fsetlocking()
90 _EXT(fp)->_caller_handles_locking = (type == FSETLOCKING_BYCALLER); in __fsetlocking()