Home
last modified time | relevance | path

Searched defs:fp (Results 1 – 25 of 91) sorted by relevance

1234

/bionic/libc/stdio/
Dstdio_ext.cpp35 size_t __fbufsize(FILE* fp) { in __fbufsize()
51 int __freadable(FILE* fp) { in __freadable()
55 int __fwritable(FILE* fp) { in __fwritable()
59 int __flbf(FILE* fp) { in __flbf()
63 void __fpurge(FILE* fp) { in __fpurge()
67 size_t __fpending(FILE* fp) { in __fpending()
76 int __fsetlocking(FILE* fp, int type) { in __fsetlocking()
91 void clearerr_unlocked(FILE* fp) { in clearerr_unlocked()
95 int feof_unlocked(FILE* fp) { in feof_unlocked()
99 int ferror_unlocked(FILE* fp) { in ferror_unlocked()
Dlocal.h90 #define cantwrite(fp) \ argument
98 #define HASUB(fp) (_UB(fp)._base != NULL) argument
99 #define FREEUB(fp) { \ argument
108 #define HASLB(fp) ((fp)->_lb._base != NULL) argument
109 #define FREELB(fp) { \ argument
114 #define FLOCKFILE(fp) if (_EXT(fp)->_stdio_handles_locking) flockfile(fp) argument
115 #define FUNLOCKFILE(fp) if (_EXT(fp)->_stdio_handles_locking) funlockfile(fp) argument
Dfileext.h51 #define _EXT(fp) reinterpret_cast<__sfileext*>((fp)->_ext._base) argument
53 #define _EXT(fp) ((struct __sfileext *)((fp)->_ext._base)) argument
56 #define _UB(fp) _EXT(fp)->_ub argument
57 #define _FLOCK(fp) _EXT(fp)->_lock argument
59 #define _FILEEXT_INIT(fp) \ argument
Dwcio.h52 #define WCIO_GET(fp) \ argument
55 #define _SET_ORIENTATION(fp, mode) \ argument
65 #define WCIO_FREE(fp) \ argument
74 #define WCIO_FREEUB(fp) \ argument
82 #define WCIO_INIT(fp) \ argument
Dstdio.c47 FILE *fp = cookie; in __sread() local
62 FILE *fp = cookie; in __swrite() local
73 FILE *fp = cookie; in __sseek() local
/bionic/tests/
Dstdio_ext_test.cpp35 FILE* fp = fopen("/proc/version", "r"); in TEST() local
55 FILE* fp = fopen("/proc/version", "r"); in TEST() local
68 FILE* fp = fopen("/dev/null", "w"); in TEST() local
80 FILE* fp = tmpfile(); in TEST() local
102 FILE* fp = fopen("/dev/null", "w"); in TEST() local
118 FILE* fp = fopen("/dev/null", "r"); in TEST() local
135 FILE* fp = fopen("/proc/version", "r"); in TEST() local
Dstdio_test.cpp43 FILE* fp = fopen("/dev/null", "w"); in TEST() local
52 FILE* fp = tmpfile(); in TEST() local
95 FILE* fp = tmpfile(); in TEST() local
130 FILE* fp = tmpfile(); in TEST() local
155 FILE* fp = fopen("/proc", "r"); in TEST() local
164 FILE* fp = tmpfile(); in TEST() local
206 FILE* fp = tmpfile(); in TEST() local
527 FILE* fp; in TEST() local
549 FILE* fp = popen("cat /proc/version", "r"); in TEST() local
561 FILE* fp = fopen("/proc/version", "r"); in TEST() local
[all …]
/bionic/libc/bionic/
Dflockfile.cpp38 void flockfile(FILE* fp) { in flockfile()
48 int ftrylockfile(FILE* fp) { in ftrylockfile()
62 void funlockfile(FILE* fp) { in funlockfile()
Dmntent.cpp37 mntent* getmntent(FILE* fp) { in getmntent()
43 mntent* getmntent_r(FILE* fp, struct mntent* e, char* buf, int buf_len) { in getmntent_r()
74 int endmntent(FILE* fp) { in endmntent()
Dmalloc_info.cpp25 explicit Elem(FILE* fp, const char* name, in Elem()
53 FILE* fp; member in Elem
59 int malloc_info(int options, FILE* fp) { in malloc_info()
Dtmpfile.cpp90 FILE* fp = fdopen(fd, "w+"); in __tmpfile_dir() local
107 FILE* fp = __tmpfile_dir("/data/local/tmp"); in tmpfile() local
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfflush.c40 fflush(FILE *fp) in fflush()
57 __sflush(FILE *fp) in __sflush()
89 __sflush_locked(FILE *fp) in __sflush_locked()
Drefill.c40 lflush(FILE *fp) in lflush()
52 __srefill(FILE *fp) in __srefill()
Dgetc.c43 getc_unlocked(FILE *fp) in getc_unlocked()
54 getc(FILE *fp) in getc()
Dsetbuffer.c37 setbuffer(FILE *fp, char *buf, int size) in setbuffer()
47 setlinebuf(FILE *fp) in setlinebuf()
Dftell.c43 ftello(FILE *fp) in ftello()
88 ftell(FILE *fp) in ftell()
Dputc.c44 putc_unlocked(int c, FILE *fp) in putc_unlocked()
60 putc(int c, FILE *fp) in putc()
Dungetc.c47 __submore(FILE *fp) in __submore()
79 ungetc(int c, FILE *fp) in ungetc()
Dungetwc.c38 __ungetwc(wint_t wc, FILE *fp) in __ungetwc()
69 ungetwc(wint_t wc, FILE *fp) in ungetwc()
Dmakebuf.c49 __smakebuf(FILE *fp) in __smakebuf()
80 __swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) in __swhatbuf()
Dfgetwc.c38 __fgetwc_unlock(FILE *fp) in __fgetwc_unlock()
81 fgetwc(FILE *fp) in fgetwc()
Dfgetln.c43 __slbexpand(FILE *fp, size_t newsize) in __slbexpand()
64 fgetln(FILE *fp, size_t *lenp) in fgetln()
Dfputwc.c40 __fputwc_unlock(wchar_t wc, FILE *fp) in __fputwc_unlock()
79 fputwc(wchar_t wc, FILE *fp) in fputwc()
Dfseek.c49 fseeko(FILE *fp, off_t offset, int whence) in fseeko()
248 fseek(FILE *fp, long offset, int whence) in fseek()
Dwsetup.c44 __swsetup(FILE *fp) in __swsetup()

1234