/bionic/libc/stdio/ |
D | stdio_ext.cpp | 38 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 …]
|
D | stdio.cpp | 109 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 …]
|
D | local.h | 170 #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 …]
|
D | refill.c | 40 lflush(FILE *fp) in lflush() 52 __srefill(FILE *fp) in __srefill()
|
D | parsefloat.c | 40 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/ |
D | stdio_ext_test.cpp | 37 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
|
D | stdio_test.cpp | 66 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/ |
D | ungetc.c | 47 __submore(FILE *fp) in __submore() 79 ungetc(int c, FILE *fp) in ungetc()
|
D | ungetwc.c | 38 __ungetwc(wint_t wc, FILE *fp) in __ungetwc() 69 ungetwc(wint_t wc, FILE *fp) in ungetwc()
|
D | makebuf.c | 49 __smakebuf(FILE *fp) in __smakebuf() 80 __swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) in __swhatbuf()
|
D | fgetwc.c | 38 __fgetwc_unlock(FILE *fp) in __fgetwc_unlock() 81 fgetwc(FILE *fp) in fgetwc()
|
D | fgetln.c | 43 __slbexpand(FILE *fp, size_t newsize) in __slbexpand() 64 fgetln(FILE *fp, size_t *lenp) in fgetln()
|
D | fputwc.c | 40 __fputwc_unlock(wchar_t wc, FILE *fp) in __fputwc_unlock() 78 fputwc(wchar_t wc, FILE *fp) in fputwc()
|
D | wsetup.c | 45 __swsetup(FILE *fp) in __swsetup()
|
D | fpurge.c | 44 fpurge(FILE *fp) in fpurge()
|
D | rget.c | 43 __srget(FILE *fp) in __srget()
|
D | fputws.c | 40 fputws(const wchar_t * __restrict ws, FILE * __restrict fp) in fputws()
|
D | wbuf.c | 43 __swbuf(int c, FILE *fp) in __swbuf()
|
D | fwide.c | 37 fwide(FILE *fp, int mode) in fwide()
|
D | fgetws.c | 40 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp) in fgetws()
|
D | setvbuf.c | 44 setvbuf(FILE *fp, char *buf, int mode, size_t size) in setvbuf()
|
/bionic/libc/bionic/ |
D | mntent.cpp | 34 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/ |
D | stdio_benchmark.cpp | 32 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/ |
D | stdio_h.c | 73 FILE* fp; in stdio_h() local
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | memccpy.c | 40 const unsigned char *fp = f; in memccpy() local
|