Lines Matching refs:fp
35 size_t __fbufsize(FILE* fp) { in __fbufsize() argument
36 return fp->_bf._size; in __fbufsize()
51 int __freadable(FILE* fp) { in __freadable() argument
52 return (fp->_flags & (__SRD|__SRW)) != 0; in __freadable()
55 int __fwritable(FILE* fp) { in __fwritable() argument
56 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()
59 int __flbf(FILE* fp) { in __flbf() argument
60 return (fp->_flags & __SLBF) != 0; in __flbf()
63 void __fpurge(FILE* fp) { in __fpurge() argument
64 fpurge(fp); in __fpurge()
67 size_t __fpending(FILE* fp) { in __fpending() argument
68 return fp->_p - fp->_bf._base; in __fpending()
76 int __fsetlocking(FILE* fp, int type) { in __fsetlocking() argument
77 int old_state = _EXT(fp)->_stdio_handles_locking ? FSETLOCKING_INTERNAL : FSETLOCKING_BYCALLER; in __fsetlocking()
87 _EXT(fp)->_stdio_handles_locking = (type == FSETLOCKING_INTERNAL); in __fsetlocking()
91 void clearerr_unlocked(FILE* fp) { in clearerr_unlocked() argument
92 return __sclearerr(fp); in clearerr_unlocked()
95 int feof_unlocked(FILE* fp) { in feof_unlocked() argument
96 return __sfeof(fp); in feof_unlocked()
99 int ferror_unlocked(FILE* fp) { in ferror_unlocked() argument
100 return __sferror(fp); in ferror_unlocked()