Home
last modified time | relevance | path

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

12345678910>>...35

/glibc-2.36/libio/
DlibioP.h138 typedef void (*_IO_finish_t) (FILE *, int); /* finalize */
145 typedef int (*_IO_overflow_t) (FILE *, int);
153 typedef int (*_IO_underflow_t) (FILE *);
167 typedef int (*_IO_pbackfail_t) (FILE *, int);
174 typedef size_t (*_IO_xsputn_t) (FILE *FP, const void *DATA,
182 typedef size_t (*_IO_xsgetn_t) (FILE *FP, void *DATA, size_t N);
191 typedef off64_t (*_IO_seekoff_t) (FILE *FP, off64_t OFF, int DIR,
201 typedef off64_t (*_IO_seekpos_t) (FILE *, off64_t, int);
207 typedef FILE* (*_IO_setbuf_t) (FILE *, char *, ssize_t);
214 typedef int (*_IO_sync_t) (FILE *);
[all …]
Diolibio.h10 extern int _IO_fclose (FILE*);
11 extern int _IO_new_fclose (FILE*);
12 extern int _IO_old_fclose (FILE*);
13 extern FILE *_IO_fdopen (int, const char*) __THROW;
15 extern FILE *_IO_old_fdopen (int, const char*) __THROW;
16 extern FILE *_IO_new_fdopen (int, const char*) __THROW;
17 extern int _IO_fflush (FILE*);
19 extern int _IO_fgetpos (FILE*, __fpos_t*);
20 extern int _IO_fgetpos64 (FILE*, __fpos64_t*);
21 extern char* _IO_fgets (char*, int, FILE*);
[all …]
Dstdio.h143 extern FILE *stdin; /* Standard input stream. */
144 extern FILE *stdout; /* Standard output stream. */
145 extern FILE *stderr; /* Standard error output stream. */
178 extern int fclose (FILE *__stream);
188 extern FILE *tmpfile (void)
192 extern FILE *__REDIRECT (tmpfile, (void), tmpfile64)
200 extern FILE *tmpfile64 (void)
230 extern int fflush (FILE *__stream);
239 extern int fflush_unlocked (FILE *__stream);
258 extern FILE *fopen (const char *__restrict __filename,
[all …]
Dlibio.h107 FILE *_sbuf;
158 extern int __underflow (FILE *);
159 extern wint_t __wunderflow (FILE *);
160 extern wint_t __wuflow (FILE *);
161 extern wint_t __woverflow (FILE *, wint_t);
186 extern int _IO_getc (FILE *__fp);
187 extern int _IO_putc (int __c, FILE *__fp);
188 extern int _IO_feof (FILE *__fp) __THROW;
189 extern int _IO_ferror (FILE *__fp) __THROW;
191 extern int _IO_peekc_locked (FILE *__fp);
[all …]
Dgenops.c39 static FILE *run_fp;
56 FILE **f; in _IO_un_link()
60 run_fp = (FILE *) fp; in _IO_un_link()
61 _IO_flockfile ((FILE *) fp); in _IO_un_link()
69 if (*f == (FILE *) fp) in _IO_un_link()
76 _IO_funlockfile ((FILE *) fp); in _IO_un_link()
94 run_fp = (FILE *) fp; in libc_hidden_def()
95 _IO_flockfile ((FILE *) fp); in libc_hidden_def()
97 fp->file._chain = (FILE *) _IO_list_all; in libc_hidden_def()
100 _IO_funlockfile ((FILE *) fp); in libc_hidden_def()
[all …]
Dtst-vtables-common.c47 FILE *fp;
92 log_method (FILE *fp, const char *name) in log_method()
99 method_finish (FILE *fp, int dummy) in method_finish()
108 method_overflow (FILE *fp, int ch) in method_overflow()
119 method_underflow (FILE *fp) in method_underflow()
129 method_uflow (FILE *fp) in method_uflow()
139 method_pbackfail (FILE *fp, int ch) in method_pbackfail()
150 method_xsputn (FILE *fp, const void *data, size_t n) in method_xsputn()
166 method_xsgetn (FILE *fp, void *data, size_t n) in method_xsgetn()
176 method_seekoff (FILE *fp, off64_t offset, int dir, int mode) in method_seekoff()
[all …]
Dwgenops.c35 static int save_for_wbackup (FILE *fp, wchar_t *end_p) __THROW;
40 _IO_least_wmarker (FILE *fp, wchar_t *end_p) in _IO_least_wmarker()
53 _IO_switch_to_main_wget_area (FILE *fp) in libc_hidden_def()
73 _IO_switch_to_wbackup_area (FILE *fp) in libc_hidden_def()
92 _IO_wsetb (FILE *f, wchar_t *b, wchar_t *eb, int a) in libc_hidden_def()
107 _IO_wdefault_pbackfail (FILE *fp, wint_t c) in libc_hidden_def()
170 _IO_wdefault_finish (FILE *fp, int dummy) in libc_hidden_def()
199 _IO_wdefault_uflow (FILE *fp) in libc_hidden_def()
211 __woverflow (FILE *f, wint_t wch) in libc_hidden_def()
221 __wuflow (FILE *fp) in libc_hidden_def()
[all …]
Diofopncook.c33 _IO_cookie_read (FILE *fp, void *buf, ssize_t size) in _IO_cookie_read()
48 _IO_cookie_write (FILE *fp, const void *buf, ssize_t size) in _IO_cookie_write()
70 _IO_cookie_seek (FILE *fp, off64_t offset, int dir) in _IO_cookie_seek()
86 _IO_cookie_close (FILE *fp) in _IO_cookie_close()
102 _IO_cookie_seekoff (FILE *fp, off64_t offset, int dir, int mode) in _IO_cookie_seekoff()
174 FILE *
214 return (FILE *) &new_f->cfile.__fp; in _IO_fopencookie()
223 _IO_old_cookie_seek (FILE *fp, off64_t offset, int dir) in _IO_old_cookie_seek()
226 int (*seek_cb) (FILE *, off_t, int) in _IO_old_cookie_seek()
227 = (int (*) (FILE *, off_t, int)) cfile->__io_functions.seek; in _IO_old_cookie_seek()
[all …]
Dstdio.c33 FILE *stdin = (FILE *) &_IO_2_1_stdin_;
34 FILE *stdout = (FILE *) &_IO_2_1_stdout_;
35 FILE *stderr = (FILE *) &_IO_2_1_stderr_;
Dfileops.c127 _IO_new_file_close_it (FILE *fp) in _IO_new_file_close_it()
167 _IO_new_file_finish (FILE *fp, int dummy) in libc_hidden_ver()
179 FILE * in libc_hidden_ver()
180 _IO_file_open (FILE *fp, const char *filename, int posix_mode, int prot, in libc_hidden_ver()
210 FILE * in libc_hidden_def()
211 _IO_new_file_fopen (FILE *fp, const char *filename, const char *mode, in libc_hidden_def()
218 FILE *result; in libc_hidden_def()
359 FILE * in libc_hidden_ver()
360 _IO_new_file_attach (FILE *fp, int fd) in libc_hidden_ver()
379 FILE * in libc_hidden_ver()
[all …]
Doldstdfiles.c62 extern FILE *stdin;
63 extern FILE *stdout;
64 extern FILE *stderr;
78 stdin = (FILE *) &_IO_stdin_; in _IO_check_libio()
79 stdout = (FILE *) &_IO_stdout_; in _IO_check_libio()
80 stderr = (FILE *) &_IO_stderr_; in _IO_check_libio()
Doldfileops.c111 if (&_IO_stdin_used != NULL || !_IO_legacy_file ((FILE *) fp)) in _IO_old_file_init_internal()
127 _IO_old_file_close_it (FILE *fp) in _IO_old_file_close_it()
155 _IO_old_file_finish (FILE *fp, int dummy) in _IO_old_file_finish()
166 FILE *
168 _IO_old_file_fopen (FILE *fp, const char *filename, const char *mode) in _IO_old_file_fopen()
213 FILE *
215 _IO_old_file_attach (FILE *fp, int fd) in _IO_old_file_attach()
231 FILE *
233 _IO_old_file_setbuf (FILE *fp, char *p, ssize_t len) in _IO_old_file_setbuf()
245 static int old_do_write (FILE *, const char *, size_t);
[all …]
/glibc-2.36/localedata/tests-mbwc/
Dtgn_funcdef.h109 extern int tst_iswalnum (FILE *, int);
110 extern int tst_iswalpha (FILE *, int);
111 extern int tst_iswcntrl (FILE *, int);
112 extern int tst_iswctype (FILE *, int);
113 extern int tst_iswdigit (FILE *, int);
114 extern int tst_iswgraph (FILE *, int);
115 extern int tst_iswlower (FILE *, int);
116 extern int tst_iswprint (FILE *, int);
117 extern int tst_iswpunct (FILE *, int);
118 extern int tst_iswspace (FILE *, int);
[all …]
/glibc-2.36/conform/data/
Dstdio.h-data35 macro stdin {FILE *}
36 macro stdout {FILE *}
37 macro stderr {FILE *}
39 type FILE
52 function void clearerr (FILE*)
62 function int fclose (FILE*)
64 function {FILE*} fdopen (int, const char*)
66 function int feof (FILE*)
67 function int ferror (FILE*)
68 function int fflush (FILE*)
[all …]
Dwchar.h-data9 type FILE
11 # define FILE __FILE
20 function int fwprintf (FILE*, const wchar_t*, ...)
21 function int fwscanf (FILE*, const wchar_t*, ...)
36 function wint_t fgetwc (FILE*)
37 function {wchar_t*} fgetws (wchar_t*, int, FILE*)
38 function wint_t fputwc (wchar_t, FILE*)
39 function int fputws (const wchar_t*, FILE*)
40 function int fwide (FILE*, int)
41 function wint_t getwc (FILE*)
[all …]
/glibc-2.36/include/
Dstdio.h36 fseterr_unlocked (FILE *fp) in fseterr_unlocked()
47 extern int __vfscanf (FILE *__restrict __s,
56 FILE *__stream) attribute_hidden;
70 extern int __fprintf_chk (FILE *, int, const char *, ...);
72 extern int __vfprintf_chk (FILE *, int, const char *, __gnuc_va_list);
73 extern char *__fgets_unlocked_chk (char *buf, size_t size, int n, FILE *fp);
74 extern char *__fgets_chk (char *buf, size_t size, int n, FILE *fp);
84 extern int __isoc99_fscanf (FILE *__restrict __stream,
89 extern int __isoc99_vfscanf (FILE *__restrict __s,
126 extern FILE *__new_tmpfile (void);
[all …]
Dnss_files.h29 FILE *__nss_files_fopen (const char *path);
37 int __nss_readline (FILE *fp, char *buf, size_t len, off64_t *poffset);
45 int __nss_readline_seek (FILE *fp, off64_t offset) attribute_hidden;
51 int __nss_parse_line_result (FILE *fp, off64_t offset, int parse_line_result);
58 FILE *stream;
150 int __nss_fgetent_r (FILE *fp, void *result,
/glibc-2.36/stdio-common/
Dstdio_ext.h46 extern size_t __fbufsize (FILE *__fp) __THROW;
51 extern int __freading (FILE *__fp) __THROW;
56 extern int __fwriting (FILE *__fp) __THROW;
61 extern int __freadable (FILE *__fp) __THROW;
64 extern int __fwritable (FILE *__fp) __THROW;
68 extern int __flbf (FILE *__fp) __THROW;
72 extern void __fpurge (FILE *__fp) __THROW;
75 extern size_t __fpending (FILE *__fp) __THROW;
82 extern int __fsetlocking (FILE *__fp, int __type) __THROW;
/glibc-2.36/htl/
Dlockfile.c23 _cthreads_flockfile (FILE *fp) in _cthreads_flockfile()
29 _cthreads_funlockfile (FILE *fp) in _cthreads_funlockfile()
35 _cthreads_ftrylockfile (FILE *fp) in _cthreads_ftrylockfile()
47 void _IO_flockfile (FILE *)
49 void _IO_funlockfile (FILE *)
51 int _IO_ftrylockfile (FILE *)
54 void flockfile (FILE *)
56 void funlockfile (FILE *)
58 int ftrylockfile (FILE *)
/glibc-2.36/sunrpc/
Dxdr_stdio.c84 xdrstdio_create (XDR *xdrs, FILE *file, enum xdr_op op) in xdrstdio_create()
102 (void) fflush ((FILE *) xdrs->x_private); in xdrstdio_destroy()
111 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getlong()
122 if (fwrite ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putlong()
131 (FILE *) xdrs->x_private) != 1)) in xdrstdio_getbytes()
140 (FILE *) xdrs->x_private) != 1)) in xdrstdio_putbytes()
148 return (u_int) ftell ((FILE *) xdrs->x_private); in xdrstdio_getpos()
154 return fseek ((FILE *) xdrs->x_private, (long) pos, 0) < 0 ? FALSE : TRUE; in xdrstdio_setpos()
177 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getint32()
189 if (fwrite ((caddr_t) ip, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putint32()
/glibc-2.36/libio/bits/
Dstdio.h56 fgetc_unlocked (FILE *__fp) in fgetc_unlocked()
66 getc_unlocked (FILE *__fp) in getc_unlocked()
91 fputc_unlocked (int __c, FILE *__stream) in fputc_unlocked()
101 putc_unlocked (int __c, FILE *__stream) in putc_unlocked()
118 getline (char **__lineptr, size_t *__n, FILE *__stream) in getline()
128 __NTH (feof_unlocked (FILE *__stream)) in __NTH()
135 __NTH (ferror_unlocked (FILE *__stream)) in __NTH()
152 FILE *__stream = (stream); \
176 FILE *__stream = (stream); \
Dstdio2.h77 fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) in fprintf()
106 vfprintf (FILE *__restrict __stream, in vfprintf()
200 FILE *__restrict __stream), fgets)
204 FILE *__restrict __stream), __fgets_chk)
209 fgets (char *__restrict __s, int __n, FILE *__restrict __stream) in fgets()
221 size_t __n, FILE *__restrict __stream),
226 FILE *__restrict __stream),
233 FILE *__restrict __stream) in fread()
246 FILE *__restrict __stream), fgets_unlocked)
250 FILE *__restrict __stream), __fgets_unlocked_chk)
[all …]
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
Dnldbl-compat.c85 __nldbl_fprintf (FILE *stream, const char *fmt, ...) in __nldbl_fprintf()
100 __nldbl_fwprintf (FILE *stream, const wchar_t *fmt, ...) in weak_alias()
144 __nldbl_vfprintf (FILE *s, const char *fmt, va_list ap) in strong_alias()
223 __nldbl_vfwprintf (FILE *s, const wchar_t *fmt, va_list ap) in __nldbl_vfwprintf()
276 __nldbl__IO_vfscanf (FILE *s, const char *fmt, va_list ap, int *errp) in __nldbl__IO_vfscanf()
287 __nldbl___vfscanf (FILE *s, const char *fmt, va_list ap) in __nldbl___vfscanf()
299 FILE *f = _IO_strfile_read (&sf, s); in weak_alias()
316 FILE *f = _IO_strfile_read (&sf, s); in strong_alias()
331 __nldbl_fscanf (FILE *stream, const char *fmt, ...) in __nldbl_fscanf()
359 __nldbl_vfwscanf (FILE *s, const wchar_t *fmt, va_list ap) in __nldbl_vfwscanf()
[all …]
/glibc-2.36/misc/
Dmntent.h64 extern FILE *setmntent (const char *__file, const char *__mode) __THROW;
69 extern struct mntent *getmntent (FILE *__stream) __THROW;
73 extern struct mntent *getmntent_r (FILE *__restrict __stream,
81 extern int addmntent (FILE *__restrict __stream,
85 extern int endmntent (FILE *__stream) __THROW;
/glibc-2.36/iconv/
Diconv_prog.c50 static void print_version (FILE *stream, struct argp_state *state);
51 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
107 static int process_block (iconv_t cd, char *addr, size_t len, FILE **output,
109 static int process_fd (iconv_t cd, int fd, FILE **output,
111 static int process_file (iconv_t cd, FILE *input, FILE **output,
243 FILE *output = NULL; in main()
401 print_version (FILE *stream, struct argp_state *state) in print_version()
414 write_output (const char *outbuf, const char *outptr, FILE **output, in write_output()
449 process_block (iconv_t cd, char *addr, size_t len, FILE **output, in process_block()
538 process_fd (iconv_t cd, int fd, FILE **output, const char *output_file) in process_fd()
[all …]

12345678910>>...35