Home
last modified time | relevance | path

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

123

/bionic/libc/stdio/
Dstdio_ext.cpp38 size_t __fbufsize(FILE* fp) { in __fbufsize()
42 int __freading(FILE* fp) { in __freading()
46 int __fwriting(FILE* fp) { in __fwriting()
50 int __freadable(FILE* fp) { in __freadable()
54 int __fwritable(FILE* fp) { in __fwritable()
58 int __flbf(FILE* fp) { in __flbf()
62 void __fpurge(FILE* fp) { in __fpurge()
66 size_t __fpending(FILE* fp) { in __fpending()
75 void __fseterr(FILE* fp) { in __fseterr()
79 int __fsetlocking(FILE* fp, int type) { in __fsetlocking()
Dstdio.cpp109 static uint64_t __get_file_tag(FILE* fp) { in __get_file_tag()
126 explicit ScopedFileLock(FILE* fp) : fp_(fp) { in ScopedFileLock()
156 static inline void free_fgetln_buffer(FILE* fp) { in free_fgetln_buffer()
167 FILE *fp; in __sfp() local
214 FILE* fp = g->iobs; in _fwalk() local
237 FILE* fp = __sfp(); in __fopen() local
261 FILE* fp = __fopen(fd, flags); in fopen() local
306 FILE* freopen(const char* file, const char* mode, FILE* fp) { in freopen()
408 static int __FILE_close(FILE* fp) { in __FILE_close()
444 int fclose(FILE* fp) { in fclose()
[all …]
Dlocal.h170 #define _EXT(fp) __BIONIC_CAST(reinterpret_cast, struct __sfileext*, (fp)->_ext._base) argument
172 #define _UB(fp) _EXT(fp)->_ub argument
173 #define _FLOCK(fp) _EXT(fp)->_lock argument
175 #define _FILEEXT_SETUP(fp, fext) \ argument
219 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp)) argument
225 #define HASUB(fp) (_UB(fp)._base != NULL) argument
226 #define FREEUB(fp) \ argument
232 #define FLOCKFILE(fp) \ argument
234 #define FUNLOCKFILE(fp) \ argument
264 #define CHECK_FP(fp) \ argument
[all …]
Drefill.c40 lflush(FILE *fp) in lflush()
52 __srefill(FILE *fp) in __srefill()
Dparsefloat.c40 size_t parsefloat(FILE *fp, char *buf, char *end) { in parsefloat()
188 size_t wparsefloat(FILE *fp, wchar_t *buf, wchar_t *end) { in wparsefloat()
/bionic/tests/
Dstdio_ext_test.cpp37 FILE* fp = fopen("/proc/version", "r"); in TEST() local
57 FILE* fp = fopen("/proc/version", "r"); in TEST() local
70 FILE* fp = fopen("/dev/null", "w"); in TEST() local
82 FILE* fp = tmpfile(); in TEST() local
104 FILE* fp = fopen("/dev/null", "w"); in TEST() local
120 FILE* fp; in TEST() local
150 FILE* fp; in TEST() local
211 FILE* fp = fopen("/proc/version", "r"); in TEST() local
Dstdio_test.cpp62 FILE* fp; in SetFileTo() local
69 FILE* fp; in AssertFileIs() local
79 static void AssertFileIs(FILE* fp, const char* expected, bool is_fmemopen = false) { in AssertFileIs()
107 FILE* fp = fopen("/dev/null", "w"); in TEST() local
116 FILE* fp = tmpfile(); in TEST() local
135 FILE* fp = tmpfile64(); in TEST() local
155 FILE* fp = tmpfile(); in TEST() local
190 FILE* fp = tmpfile(); in TEST() local
209 FILE* fp = fopen("/proc", "r"); in TEST() local
218 FILE* fp = tmpfile(); in TEST() local
[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()
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.cpp45 FILE* fp = fdopen(fd, "w+"); in __fd_to_fp() local
93 FILE* fp = __tmpfile_dir("/data/local/tmp"); in tmpfile() local
/bionic/libc/upstream-openbsd/lib/libc/stdio/
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()
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()
78 fputwc(wchar_t wc, FILE *fp) in fputwc()
Dfpurge.c44 fpurge(FILE *fp) in fpurge()
Drget.c43 __srget(FILE *fp) in __srget()
Dwsetup.c44 __swsetup(FILE *fp) in __swsetup()
Dfputws.c40 fputws(ws, fp) in fputws() argument
Dfwide.c37 fwide(FILE *fp, int mode) in fwide()
Dwbuf.c44 __swbuf(int c, FILE *fp) in __swbuf()
Dfgetws.c40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws()
/bionic/benchmarks/
Dstdio_benchmark.cpp32 FILE* fp = fopen(tf.path, "we"); in FillFile() local
41 FILE* fp = fopen("/dev/zero", "r+e"); in ReadWriteTest() local
85 FILE* fp = fopen(tf.path, "re"); in FopenFgetlnFclose() local
110 FILE* fp = fopen(tf.path, "re"); in FopenFgetsFclose() local
132 FILE* fp = fopen(tf.path, "re"); in FopenGetlineFclose() local
156 FILE* fp = fopen("/dev/zero", "re"); in FopenFgetcFclose() local
/bionic/tests/headers/posix/
Dstdio_h.c73 FILE* fp; in stdio_h() local

123