Home
last modified time | relevance | path

Searched defs:fp (Results 1 – 25 of 65) 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()
70 size_t __freadahead(FILE* fp) { in __freadahead()
81 void __fseterr(FILE* fp) { in __fseterr()
[all …]
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
229 static FILE* __FILE_init(FILE* fp, int fd, int flags) { in __FILE_init()
257 FILE* fp = __FILE_init(__sfp(), fd, flags); in fopen() local
299 FILE* freopen(const char* file, const char* mode, FILE* fp) { in freopen()
406 static int __FILE_close(FILE* fp) { in __FILE_close()
442 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
174 #define _FILEEXT_SETUP(fp, fext) \ argument
218 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp)) argument
224 #define HASUB(fp) (_UB(fp)._base != NULL) argument
225 #define FREEUB(fp) \ argument
231 #define FLOCKFILE(fp) \ argument
233 #define FUNLOCKFILE(fp) \ argument
263 #define CHECK_FP(fp) \ argument
291 #define WCIO_GET(fp) (_EXT(fp) ? &(_EXT(fp)->_wcio) : NULL) 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
100 FILE* fp = tmpfile(); in TEST() local
122 FILE* fp = fopen("/dev/null", "w"); in TEST() local
138 FILE* fp; in TEST() local
168 FILE* fp; in TEST() local
229 FILE* fp = fopen("/proc/version", "r"); in TEST() local
Dstdio_test.cpp66 FILE* fp; in SetFileTo() local
73 FILE* fp; in AssertFileIs() local
83 static void AssertFileIs(FILE* fp, const char* expected, bool is_fmemopen = false) { in AssertFileIs()
133 FILE* fp = fopen("/dev/null", "w"); in TEST() local
144 FILE* fp = tmpfile(); in TEST() local
163 FILE* fp = tmpfile64(); in TEST() local
172 FILE* fp = tmpfile(); in TEST() local
199 FILE* fp = tmpfile(); in TEST() local
236 FILE* fp = tmpfile(); in TEST() local
256 FILE* fp = fopen("/proc", "r"); in TEST() local
[all …]
/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()
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()
78 fputwc(wchar_t wc, FILE *fp) in fputwc()
Dwsetup.c45 __swsetup(FILE *fp) in __swsetup()
Dfpurge.c44 fpurge(FILE *fp) in fpurge()
Drget.c43 __srget(FILE *fp) in __srget()
Dfputws.c40 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) in fputws()
Dwbuf.c43 __swbuf(int c, FILE *fp) in __swbuf()
Dfwide.c37 fwide(FILE *fp, int mode) in fwide()
Dfgetws.c40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws()
Dsetvbuf.c44 setvbuf(FILE *fp, char *buf, int mode, size_t size) in setvbuf()
/bionic/libc/bionic/
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()
/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
/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemccpy.c40 const unsigned char *fp = f; in memccpy() local

123