Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 86) sorted by relevance

1234

/bionic/libc/include/
Dstdio.h125 } FILE; typedef
128 extern FILE __sF[];
199 void clearerr(FILE *);
200 int fclose(FILE *);
201 int feof(FILE *);
202 int ferror(FILE *);
203 int fflush(FILE *);
204 int fgetc(FILE *);
205 int fgetpos(FILE *, fpos_t *);
206 char *fgets(char *, int, FILE *);
[all …]
Dwchar.h73 extern int fwprintf(FILE *, const wchar_t *, ...);
74 extern int fwscanf(FILE *, const wchar_t *, ...);
87 extern wint_t fgetwc(FILE *);
88 extern wchar_t *fgetws(wchar_t *, int, FILE *);
89 extern wint_t fputwc(wchar_t, FILE *);
90 extern int fputws(const wchar_t *, FILE *);
91 extern int fwide(FILE *, int);
92 extern wint_t getwc(FILE *);
99 extern wint_t putwc(wchar_t, FILE *);
105 extern wint_t ungetwc(wint_t, FILE *);
[all …]
/bionic/libc/stdio/
Dlocal.h44 int __sflush(FILE *);
45 int __sflush_locked(FILE *);
46 FILE *__sfp(void);
47 int __srefill(FILE *);
54 void __smakebuf(FILE *);
55 int __swhatbuf(FILE *, size_t *, int *);
56 int _fwalk(int (*)(FILE *));
57 int __swsetup(FILE *);
59 int __vfprintf(FILE *, const char *, __va_list);
Dfindfp.c55 static FILE usual[FOPEN_MAX - 3];
67 FILE __sF[3] = {
78 FILE *p; in moreglue()
80 static FILE empty; in moreglue()
83 data = malloc(sizeof(*g) + ALIGNBYTES + n * sizeof(FILE) in moreglue()
88 p = (FILE *)ALIGN(data + sizeof(*g)); in moreglue()
90 (ALIGN(data + sizeof(*g)) + n * sizeof(FILE)); in moreglue()
106 FILE *
109 FILE *fp; in __sfp()
Dstdio.c46 FILE *fp = cookie; in __sread()
61 FILE *fp = cookie; in __swrite()
72 FILE *fp = cookie; in __sseek()
88 return (close(((FILE *)cookie)->_file)); in __sclose()
Dputchar.c43 FILE *so = stdout; in putchar_unlocked()
56 FILE *so = stdout; in putchar()
Dsetbuffer.c37 setbuffer(FILE *fp, char *buf, int size) in setbuffer()
47 setlinebuf(FILE *fp) in setlinebuf()
Dgetc.c43 getc_unlocked(FILE *fp) in getc_unlocked()
54 getc(FILE *fp) in getc()
Dputc.c44 putc_unlocked(int c, FILE *fp) in putc_unlocked()
59 putc(int c, FILE *fp) in putc()
Dfwalk.c40 _fwalk(int (*function)(FILE *)) in _fwalk() argument
42 FILE *fp; in _fwalk()
Dfflush.c40 fflush(FILE *fp) in fflush()
57 __sflush(FILE *fp) in __sflush()
89 __sflush_locked(FILE *fp) in __sflush_locked()
Dfunopen.c38 FILE *
43 FILE *fp; in funopen()
Dfopen.c44 FILE *
47 FILE *fp; in fopen()
Dfgetc.c37 fgetc(FILE *fp) in fgetc()
Dfputc.c38 fputc(int c, FILE *fp) in fputc()
Dferror.c42 ferror(FILE *fp) in ferror()
Dglue.h42 FILE *iobs;
Dfgetpos.c40 fgetpos(FILE *fp, fpos_t *pos) in fgetpos()
Dfdopen.c41 FILE *
44 FILE *fp; in fdopen()
Dfsetpos.c40 fsetpos(FILE *iop, const fpos_t *pos) in fsetpos()
Drewind.c38 rewind(FILE *fp) in rewind()
/bionic/libc/bionic/
Dflockfile.c47 flockfile(FILE * fp) in flockfile()
56 ftrylockfile(FILE *fp) in ftrylockfile()
70 funlockfile(FILE * fp) in funlockfile()
Dtmpfile.cpp59 static FILE* __tmpfile_dir(const char* tmp_dir) { in __tmpfile_dir()
89 FILE* fp = fdopen(fd, "w+"); in __tmpfile_dir()
100 FILE* tmpfile() { in tmpfile()
106 FILE* fp = __tmpfile_dir("/data/local/tmp"); in tmpfile()
Dwchar.cpp41 int fwprintf(FILE* stream, const wchar_t* format, ...) { in fwprintf()
69 int vfwprintf(FILE* /*stream*/, const wchar_t* /*format*/, va_list /*arg*/) { in vfwprintf() argument
79 int fwscanf(FILE* /*stream*/, const wchar_t* /*format*/, ... ) { in fwscanf() argument
127 wint_t fgetwc(FILE* stream) { in fgetwc()
131 wchar_t* fgetws(wchar_t* ws, int n, FILE* stream) { in fgetws()
135 wint_t fputwc(wchar_t wc, FILE* stream) { in fputwc()
139 int fputws(const wchar_t* str, FILE* stream) { in fputws()
143 int fwide(FILE* /*stream*/, int mode) { in fwide() argument
147 wint_t getwc(FILE* stream) { in getwc()
200 wint_t putwc(wchar_t wc, FILE* stream) { in putwc()
[all …]
/bionic/tests/
Dstdio_test.cpp26 FILE* fp = tmpfile(); in TEST()
51 FILE* fp = tmpfile(); in TEST()
86 FILE* fp = tmpfile(); in TEST()
109 FILE* fp = tmpfile(); in TEST()
151 FILE* fp = tmpfile(); in TEST()
186 FILE* fp = popen("cat /proc/version", "r"); in TEST()

1234