Home
last modified time | relevance | path

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

123

/bionic/libc/stdio/
Dstdio_ext.cpp38 size_t __fbufsize(FILE* fp) { in __fbufsize()
54 int __freadable(FILE* fp) { in __freadable()
58 int __fwritable(FILE* fp) { in __fwritable()
62 int __flbf(FILE* fp) { in __flbf()
66 void __fpurge(FILE* fp) { in __fpurge()
70 size_t __fpending(FILE* fp) { in __fpending()
79 int __fsetlocking(FILE* fp, int type) { in __fsetlocking()
Dstdio.cpp103 explicit ScopedFileLock(FILE* fp) : fp_(fp) { in ScopedFileLock()
139 FILE *fp; in __sfp() local
194 FILE* fp = __sfp(); in __fopen() local
217 FILE* fp = __fopen(fd, flags); in fopen() local
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()
[all …]
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
Drefill.c40 lflush(FILE *fp) in lflush()
52 __srefill(FILE *fp) in __srefill()
Dlocal.h150 #define _EXT(fp) __BIONIC_CAST(reinterpret_cast, struct __sfileext*, (fp)->_ext._base) argument
152 #define _UB(fp) _EXT(fp)->_ub argument
153 #define _FLOCK(fp) _EXT(fp)->_lock argument
155 #define _FILEEXT_INIT(fp) \ argument
212 #define cantwrite(fp) \ argument
220 #define HASUB(fp) (_UB(fp)._base != NULL) argument
221 #define FREEUB(fp) { \ argument
230 #define HASLB(fp) ((fp)->_lb._base != NULL) argument
231 #define FREELB(fp) { \ argument
236 #define FLOCKFILE(fp) if (!_EXT(fp)->_caller_handles_locking) flockfile(fp) argument
[all …]
/bionic/libc/bionic/
Dflockfile.cpp38 void flockfile(FILE* fp) { in flockfile()
44 int ftrylockfile(FILE* fp) { in ftrylockfile()
54 void funlockfile(FILE* fp) { in funlockfile()
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()
Dmntent.cpp34 mntent* getmntent(FILE* fp) { in getmntent()
39 mntent* getmntent_r(FILE* fp, struct mntent* e, char* buf, int buf_len) { in getmntent_r()
70 int endmntent(FILE* fp) { in endmntent()
Dtmpfile.cpp90 FILE* fp = fdopen(fd, "w+"); in __tmpfile_dir() local
107 FILE* fp = __tmpfile_dir("/data/local/tmp"); in tmpfile() local
/bionic/tests/
Dstdio_ext_test.cpp36 FILE* fp = fopen("/proc/version", "r"); in TEST() local
56 FILE* fp = fopen("/proc/version", "r"); in TEST() local
69 FILE* fp = fopen("/dev/null", "w"); in TEST() local
81 FILE* fp = tmpfile(); in TEST() local
103 FILE* fp = fopen("/dev/null", "w"); in TEST() local
119 FILE* fp = fopen("/dev/null", "r"); in TEST() local
136 FILE* fp = fopen("/proc/version", "r"); in TEST() local
Dstdio_test.cpp47 static void AssertFileIs(FILE* fp, const char* expected, bool is_fmemopen = false) { in AssertFileIs()
75 FILE* fp = fopen("/dev/null", "w"); in TEST() local
84 FILE* fp = tmpfile(); in TEST() local
103 FILE* fp = tmpfile64(); in TEST() local
123 FILE* fp = tmpfile(); in TEST() local
158 FILE* fp = tmpfile(); in TEST() local
183 FILE* fp = fopen("/proc", "r"); in TEST() local
192 FILE* fp = tmpfile(); in TEST() local
234 FILE* fp = tmpfile(); in TEST() local
684 FILE* fp; in TEST() local
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfflush.c40 fflush(FILE *fp) in fflush()
58 __sflush(FILE *fp) in __sflush()
90 __sflush_locked(FILE *fp) in __sflush_locked()
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()
Dfgetwc.c38 __fgetwc_unlock(FILE *fp) in __fgetwc_unlock()
81 fgetwc(FILE *fp) in fgetwc()
Dmakebuf.c49 __smakebuf(FILE *fp) in __smakebuf()
80 __swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) in __swhatbuf()
Dfputwc.c40 __fputwc_unlock(wchar_t wc, FILE *fp) in __fputwc_unlock()
78 fputwc(wchar_t wc, FILE *fp) in fputwc()
Dfgetln.c43 __slbexpand(FILE *fp, size_t newsize) in __slbexpand()
64 fgetln(FILE *fp, size_t *lenp) in fgetln()
Drget.c43 __srget(FILE *fp) in __srget()
Dfpurge.c44 fpurge(FILE *fp) in fpurge()
Dwsetup.c44 __swsetup(FILE *fp) in __swsetup()
Dfputws.c40 fputws(ws, fp) in fputws() argument
Dwbuf.c44 __swbuf(int c, FILE *fp) in __swbuf()
Dfwide.c37 fwide(FILE *fp, int mode) in fwide()
/bionic/benchmarks/
Dstdio_benchmark.cpp33 FILE* fp = fopen("/dev/zero", "rw"); in ReadWriteTest() local
73 FILE* fp = fopen("/proc/version", "re"); in FopenFgetsFclose() local

123