Home
last modified time | relevance | path

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

1234

/bionic/libc/include/
Dstdio.h67 typedef struct __sFILE FILE; typedef
70 extern FILE* stdin __INTRODUCED_IN(23);
71 extern FILE* stdout __INTRODUCED_IN(23);
72 extern FILE* stderr __INTRODUCED_IN(23);
80 extern FILE __sF[] __REMOVED_IN(23);
118 void clearerr(FILE *);
119 int fclose(FILE *);
120 int feof(FILE *);
121 int ferror(FILE *);
122 int fflush(FILE *);
[all …]
Dstdio_ext.h41 size_t __fbufsize(FILE*) __INTRODUCED_IN(23);
42 int __freadable(FILE*) __INTRODUCED_IN(23);
43 int __fwritable(FILE*) __INTRODUCED_IN(23);
44 int __flbf(FILE*) __INTRODUCED_IN(23);
45 void __fpurge(FILE*) __INTRODUCED_IN(23);
46 size_t __fpending(FILE*) __INTRODUCED_IN(23);
48 int __fsetlocking(FILE*, int) __INTRODUCED_IN(23);
Dmntent.h60 int endmntent(FILE*) __INTRODUCED_IN(21);
61 struct mntent* getmntent(FILE*);
62 struct mntent* getmntent_r(FILE*, struct mntent*, char*, int) __INTRODUCED_IN(21);
63 FILE* setmntent(const char*, const char*) __INTRODUCED_IN(21);
Dwchar.h46 int fwprintf(FILE *, const wchar_t *, ...);
47 int fwscanf(FILE *, const wchar_t *, ...);
48 wint_t fgetwc(FILE *);
49 wchar_t *fgetws(wchar_t *, int, FILE *);
50 wint_t fputwc(wchar_t, FILE *);
51 int fputws(const wchar_t *, FILE *);
52 int fwide(FILE *, int);
53 wint_t getwc(FILE *);
60 wint_t putwc(wchar_t, FILE *);
64 wint_t ungetwc(wint_t, FILE *);
[all …]
/bionic/libc/stdio/
Dlocal.h179 __LIBC32_LEGACY_PUBLIC__ int __srget(FILE*);
180 __LIBC32_LEGACY_PUBLIC__ int __swbuf(int, FILE*);
181 __LIBC32_LEGACY_PUBLIC__ int __srefill(FILE*);
184 __LIBC32_LEGACY_PUBLIC__ int __swsetup(FILE*);
188 __LIBC32_LEGACY_PUBLIC__ FILE* __sfp(void);
189 __LIBC32_LEGACY_PUBLIC__ void __smakebuf(FILE*);
192 __LIBC32_LEGACY_PUBLIC__ int __sflush(FILE *);
197 __LIBC32_LEGACY_PUBLIC__ int _fwalk(int (*)(FILE *));
200 int __sflush_locked(FILE *);
201 int __swhatbuf(FILE *, size_t *, int *);
[all …]
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.cpp88 FILE __sF[3] = {
94 FILE* stdin = &__sF[0];
95 FILE* stdout = &__sF[1];
96 FILE* stderr = &__sF[2];
103 explicit ScopedFileLock(FILE* fp) : fp_(fp) { in ScopedFileLock()
111 FILE* fp_;
115 static FILE empty; in moreglue()
117 char* data = new char[sizeof(glue) + ALIGNBYTES + n * sizeof(FILE) + n * sizeof(__sfileext)]; in moreglue()
121 FILE* p = reinterpret_cast<FILE*>(ALIGN(data + sizeof(*g))); in moreglue()
122 __sfileext* pext = reinterpret_cast<__sfileext*>(ALIGN(data + sizeof(*g)) + n * sizeof(FILE)); in moreglue()
[all …]
Dglue.h46 FILE *iobs;
/bionic/tools/relocation_packer/src/
Delf_file_unittest.cc39 void OpenRelocsTestFile(const char* name, FILE** stream) { in OpenRelocsTestFile()
43 FILE* testfile = fopen(path.c_str(), "rb"); in OpenRelocsTestFile()
46 FILE* temporary = tmpfile(); in OpenRelocsTestFile()
65 void OpenRelocsTestFiles(const std::string& arch, FILE** relocs_so, FILE** packed_relocs_so) { in OpenRelocsTestFiles()
74 void CloseRelocsTestFile(FILE* temporary) { in CloseRelocsTestFile()
78 void CloseRelocsTestFiles(FILE* relocs_so, FILE* packed_relocs_so) { in CloseRelocsTestFiles()
83 void CheckFileContentsEqual(FILE* first, FILE* second) { in CheckFileContentsEqual()
103 static void ProcessUnpack(FILE* relocs_so, FILE* packed_relocs_so) { in ProcessUnpack()
119 FILE* relocs_so = NULL; in RunUnpackRelocationsTestFor()
120 FILE* packed_relocs_so = NULL; in RunUnpackRelocationsTestFor()
[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()
Dtmpfile.cpp59 static FILE* __tmpfile_dir(const char* tmp_dir) { in __tmpfile_dir()
90 FILE* fp = fdopen(fd, "w+"); in __tmpfile_dir()
101 FILE* tmpfile() { in tmpfile()
107 FILE* fp = __tmpfile_dir("/data/local/tmp"); in tmpfile()
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()
66 FILE* setmntent(const char* path, const char* mode) { in setmntent()
70 int endmntent(FILE* fp) { in endmntent()
Dmalloc_info.cpp25 explicit Elem(FILE* fp, const char* name, in Elem()
53 FILE* fp;
59 int malloc_info(int options, FILE* fp) { in malloc_info()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.h49 extern int __sfvwrite(FILE *, struct __suio *);
50 wint_t __fputwc_unlock(wchar_t wc, FILE *fp);
Dfwalk.c40 _fwalk(int (*function)(FILE *)) in _fwalk() argument
42 FILE *fp; in _fwalk()
Dfflush.c40 fflush(FILE *fp) in fflush()
58 __sflush(FILE *fp) in __sflush()
90 __sflush_locked(FILE *fp) in __sflush_locked()
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()
Dfputwc.c40 __fputwc_unlock(wchar_t wc, FILE *fp) in __fputwc_unlock()
78 fputwc(wchar_t wc, FILE *fp) in fputwc()
Drget.c43 __srget(FILE *fp) in __srget()
Dfputws.c42 FILE * __restrict fp;
/bionic/tests/
Dstdio_ext_test.cpp36 FILE* fp = fopen("/proc/version", "r"); in TEST()
56 FILE* fp = fopen("/proc/version", "r"); in TEST()
69 FILE* fp = fopen("/dev/null", "w"); in TEST()
81 FILE* fp = tmpfile(); in TEST()
103 FILE* fp = fopen("/dev/null", "w"); in TEST()
119 FILE* fp = fopen("/dev/null", "r"); in TEST()
136 FILE* fp = fopen("/proc/version", "r"); in TEST()
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()
84 FILE* fp = tmpfile(); in TEST()
103 FILE* fp = tmpfile64(); in TEST()
115 FILE* tfile = fdopen(tf.fd, "r"); in TEST()
123 FILE* fp = tmpfile(); in TEST()
158 FILE* fp = tmpfile(); in TEST()
183 FILE* fp = fopen("/proc", "r"); in TEST()
192 FILE* fp = tmpfile(); in TEST()
234 FILE* fp = tmpfile(); in TEST()
[all …]
/bionic/libc/dns/include/
Dhostent.h43 void sethostent_r(FILE **);
44 struct hostent *netbsd_gethostent_r(FILE *, struct hostent *, char *, size_t, int *);
45 void endhostent_r(FILE **);
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c69 FILE *fp;
80 FILE *
84 FILE *iop; in popen()
191 pclose(FILE *iop) in pclose()

1234