Lines Matching refs:FILE
88 FILE __sF[3] = {
94 FILE* stdin = &__sF[0];
95 FILE* stdout = &__sF[1];
96 FILE* stderr = &__sF[2];
103 explicit ScopedFileLock(FILE* fp) : fp_(fp) { in ScopedFileLock()
111 FILE* fp_;
115 static FILE empty; in moreglue()
117 char* data = new char[sizeof(glue) + ALIGNBYTES + n * sizeof(FILE) + n * sizeof(__sfileext)]; in moreglue()
121 FILE* p = reinterpret_cast<FILE*>(ALIGN(data + sizeof(*g))); in moreglue()
122 __sfileext* pext = reinterpret_cast<__sfileext*>(ALIGN(data + sizeof(*g)) + n * sizeof(FILE)); in moreglue()
138 FILE* __sfp(void) { in __sfp()
139 FILE *fp; in __sfp()
186 static FILE* __fopen(int fd, int flags) { in __fopen()
194 FILE* fp = __sfp(); in __fopen()
207 FILE* fopen(const char* file, const char* mode) { in fopen()
217 FILE* fp = __fopen(fd, flags); in fopen()
237 FILE* fdopen(int fd, const char* mode) { in fdopen()
269 FILE* freopen(const char* file, const char* mode, FILE* fp) { in freopen()
374 int fclose(FILE* fp) { in fclose()
400 int fileno_unlocked(FILE* fp) { in fileno_unlocked()
409 int fileno(FILE* fp) { in fileno()
414 void clearerr_unlocked(FILE* fp) { in clearerr_unlocked()
418 void clearerr(FILE* fp) { in clearerr()
423 int feof_unlocked(FILE* fp) { in feof_unlocked()
427 int feof(FILE* fp) { in feof()
432 int ferror_unlocked(FILE* fp) { in ferror_unlocked()
436 int ferror(FILE* fp) { in ferror()
442 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sread()
447 FILE* fp = reinterpret_cast<FILE*>(cookie); in __swrite()
458 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek()
463 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek64()
468 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sclose()
472 static off64_t __seek_unlocked(FILE* fp, off64_t offset, int whence) { in __seek_unlocked()
489 static off64_t __ftello64_unlocked(FILE* fp) { in __ftello64_unlocked()
512 int __fseeko64(FILE* fp, off64_t offset, int whence, int off_t_bits) { in __fseeko64()
551 int fseeko(FILE* fp, off_t offset, int whence) { in fseeko()
557 int fseeko64(FILE* fp, off64_t offset, int whence) { in fseeko64()
561 int fsetpos(FILE* fp, const fpos_t* pos) { in fsetpos()
565 int fsetpos64(FILE* fp, const fpos64_t* pos) { in fsetpos64()
569 off_t ftello(FILE* fp) { in ftello()
580 off64_t ftello64(FILE* fp) { in ftello64()
585 int fgetpos(FILE* fp, fpos_t* pos) { in fgetpos()
590 int fgetpos64(FILE* fp, fpos64_t* pos) { in fgetpos64()
595 static FILE* __funopen(const void* cookie, in __funopen()
604 FILE* fp = __sfp(); in __funopen()
624 FILE* funopen(const void* cookie, in funopen()
629 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen()
636 FILE* funopen64(const void* cookie, in funopen64()
641 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()
660 int fprintf(FILE* fp, const char* fmt, ...) { in fprintf()
664 int fgetc(FILE* fp) { in fgetc()
668 int fputc(int c, FILE* fp) { in fputc()
672 int fscanf(FILE* fp, const char* fmt, ...) { in fscanf()
676 int fwprintf(FILE* fp, const wchar_t* fmt, ...) { in fwprintf()
680 int fwscanf(FILE* fp, const wchar_t* fmt, ...) { in fwscanf()
684 int getc(FILE* fp) { in getc()
689 int getc_unlocked(FILE* fp) { in getc_unlocked()
701 ssize_t getline(char** buf, size_t* len, FILE* fp) { in getline()
705 wint_t getwc(FILE* fp) { in getwc()
717 int putc(int c, FILE* fp) { in putc()
722 int putc_unlocked(int c, FILE* fp) { in putc_unlocked()
742 wint_t putwc(wchar_t wc, FILE* fp) { in putwc()
756 void rewind(FILE* fp) { in rewind()
766 void setbuf(FILE* fp, char* buf) { in setbuf()
770 void setbuffer(FILE* fp, char* buf, int size) { in setbuffer()
774 int setlinebuf(FILE* fp) { in setlinebuf()
819 FILE f; in vsnprintf()