Lines Matching refs:FILE
138 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 *);
221 typedef int (*_IO_doallocate_t) (FILE *);
240 typedef ssize_t (*_IO_read_t) (FILE *, void *, ssize_t);
248 typedef ssize_t (*_IO_write_t) (FILE *, const void *, ssize_t);
256 typedef off64_t (*_IO_seek_t) (FILE *, off64_t, int);
264 typedef int (*_IO_close_t) (FILE *); /* finalize */
272 typedef int (*_IO_stat_t) (FILE *, void *);
279 typedef int (*_IO_showmanyc_t) (FILE *);
285 typedef void (*_IO_imbue_t) (FILE *, void *);
326 FILE file;
349 FILE *_IO_fopencookie (void *cookie, const char *mode,
355 typedef FILE *_IO_ITER;
359 extern void _IO_switch_to_main_get_area (FILE *) __THROW;
360 extern void _IO_switch_to_backup_area (FILE *) __THROW;
361 extern int _IO_switch_to_get_mode (FILE *);
363 extern void _IO_init_internal (FILE *, int) attribute_hidden;
364 extern int _IO_sputbackc (FILE *, int) __THROW;
366 extern int _IO_sungetc (FILE *) __THROW;
371 extern void _IO_doallocbuf (FILE *) __THROW;
373 extern void _IO_unsave_markers (FILE *) __THROW;
375 extern void _IO_setb (FILE *, char *, char *, int) __THROW;
381 ssize_t _IO_least_wmarker (FILE *, wchar_t *) __THROW;
383 extern void _IO_switch_to_main_wget_area (FILE *) __THROW;
385 extern void _IO_switch_to_wbackup_area (FILE *) __THROW;
387 extern int _IO_switch_to_wget_mode (FILE *);
389 extern void _IO_wsetb (FILE *, wchar_t *, wchar_t *, int) __THROW;
391 extern wint_t _IO_sputbackwc (FILE *, wint_t) __THROW;
393 extern wint_t _IO_sungetwc (FILE *) __THROW;
394 extern void _IO_wdoallocbuf (FILE *) __THROW;
396 extern void _IO_unsave_wmarkers (FILE *) __THROW;
398 extern off64_t get_file_offset (FILE *fp);
402 extern void _IO_init_marker (struct _IO_marker *, FILE *);
403 extern void _IO_init_wmarker (struct _IO_marker *, FILE *);
409 extern int _IO_seekmark (FILE *, struct _IO_marker *, int) __THROW;
410 extern int _IO_seekwmark (FILE *, struct _IO_marker *, int) __THROW;
420 extern FILE *_IO_iter_file (_IO_ITER) __THROW;
433 extern int _IO_default_underflow (FILE *) __THROW;
434 extern int _IO_default_uflow (FILE *);
436 extern wint_t _IO_wdefault_uflow (FILE *);
438 extern int _IO_default_doallocate (FILE *) __THROW;
440 extern int _IO_wdefault_doallocate (FILE *) __THROW;
442 extern void _IO_default_finish (FILE *, int) __THROW;
444 extern void _IO_wdefault_finish (FILE *, int) __THROW;
446 extern int _IO_default_pbackfail (FILE *, int) __THROW;
448 extern wint_t _IO_wdefault_pbackfail (FILE *, wint_t) __THROW;
450 extern FILE* _IO_default_setbuf (FILE *, char *, ssize_t);
451 extern size_t _IO_default_xsputn (FILE *, const void *, size_t);
453 extern size_t _IO_wdefault_xsputn (FILE *, const void *, size_t);
455 extern size_t _IO_default_xsgetn (FILE *, void *, size_t);
457 extern size_t _IO_wdefault_xsgetn (FILE *, void *, size_t);
459 extern off64_t _IO_default_seekoff (FILE *, off64_t, int, int)
461 extern off64_t _IO_default_seekpos (FILE *, off64_t, int);
462 extern ssize_t _IO_default_write (FILE *, const void *, ssize_t);
463 extern ssize_t _IO_default_read (FILE *, void *, ssize_t);
464 extern int _IO_default_stat (FILE *, void *) __THROW;
465 extern off64_t _IO_default_seek (FILE *, off64_t, int) __THROW;
466 extern int _IO_default_sync (FILE *) __THROW;
468 extern int _IO_default_showmanyc (FILE *) __THROW;
469 extern void _IO_default_imbue (FILE *, void *) __THROW;
484 extern int _IO_do_write (FILE *, const char *, size_t);
486 extern int _IO_new_do_write (FILE *, const char *, size_t);
487 extern int _IO_old_do_write (FILE *, const char *, size_t);
488 extern int _IO_wdo_write (FILE *, const wchar_t *, size_t);
496 extern int _IO_new_fgetpos (FILE *, __fpos_t *);
497 extern int _IO_old_fgetpos (FILE *, __fpos_t *);
498 extern int _IO_new_fsetpos (FILE *, const __fpos_t *);
499 extern int _IO_old_fsetpos (FILE *, const __fpos_t *);
500 extern int _IO_new_fgetpos64 (FILE *, __fpos64_t *);
501 extern int _IO_old_fgetpos64 (FILE *, __fpos64_t *);
502 extern int _IO_new_fsetpos64 (FILE *, const __fpos64_t *);
503 extern int _IO_old_fsetpos64 (FILE *, const __fpos64_t *);
504 extern void _IO_old_init (FILE *fp, int flags) __THROW;
542 extern int _IO_file_doallocate (FILE *) __THROW;
544 extern FILE* _IO_file_setbuf (FILE *, char *, ssize_t);
546 extern off64_t _IO_file_seekoff (FILE *, off64_t, int, int);
548 extern off64_t _IO_file_seekoff_mmap (FILE *, off64_t, int, int)
550 extern size_t _IO_file_xsputn (FILE *, const void *, size_t);
552 extern size_t _IO_file_xsgetn (FILE *, void *, size_t);
554 extern int _IO_file_stat (FILE *, void *) __THROW;
556 extern int _IO_file_close (FILE *) __THROW;
558 extern int _IO_file_close_mmap (FILE *) __THROW;
559 extern int _IO_file_underflow (FILE *);
561 extern int _IO_file_underflow_mmap (FILE *);
562 extern int _IO_file_underflow_maybe_mmap (FILE *);
563 extern int _IO_file_overflow (FILE *, int);
566 extern FILE* _IO_file_attach (FILE *, int);
568 extern FILE* _IO_file_open (FILE *, const char *, int, int, int, int);
570 extern FILE* _IO_file_fopen (FILE *, const char *, const char *, int);
572 extern ssize_t _IO_file_write (FILE *, const void *, ssize_t);
573 extern ssize_t _IO_file_read (FILE *, void *, ssize_t);
575 extern int _IO_file_sync (FILE *);
577 extern int _IO_file_close_it (FILE *);
579 extern off64_t _IO_file_seek (FILE *, off64_t, int) __THROW;
581 extern void _IO_file_finish (FILE *, int);
584 extern FILE* _IO_new_file_attach (FILE *, int);
585 extern int _IO_new_file_close_it (FILE *);
586 extern void _IO_new_file_finish (FILE *, int);
587 extern FILE* _IO_new_file_fopen (FILE *, const char *, const char *,
589 extern void _IO_no_init (FILE *, int, int, struct _IO_wide_data *,
593 extern FILE* _IO_new_file_setbuf (FILE *, char *, ssize_t);
594 extern FILE* _IO_file_setbuf_mmap (FILE *, char *, ssize_t);
595 extern int _IO_new_file_sync (FILE *);
596 extern int _IO_new_file_underflow (FILE *);
597 extern int _IO_new_file_overflow (FILE *, int);
598 extern off64_t _IO_new_file_seekoff (FILE *, off64_t, int, int);
599 extern ssize_t _IO_new_file_write (FILE *, const void *, ssize_t);
600 extern size_t _IO_new_file_xsputn (FILE *, const void *, size_t);
602 extern FILE* _IO_old_file_setbuf (FILE *, char *, ssize_t);
603 extern off64_t _IO_old_file_seekoff (FILE *, off64_t, int, int);
604 extern size_t _IO_old_file_xsputn (FILE *, const void *, size_t);
605 extern int _IO_old_file_underflow (FILE *);
606 extern int _IO_old_file_overflow (FILE *, int);
609 extern FILE* _IO_old_file_attach (FILE *, int);
610 extern FILE* _IO_old_file_fopen (FILE *, const char *, const char *);
611 extern ssize_t _IO_old_file_write (FILE *, const void *, ssize_t);
612 extern int _IO_old_file_sync (FILE *);
613 extern int _IO_old_file_close_it (FILE *);
614 extern void _IO_old_file_finish (FILE *, int);
616 extern int _IO_wfile_doallocate (FILE *) __THROW;
617 extern size_t _IO_wfile_xsputn (FILE *, const void *, size_t);
619 extern FILE* _IO_wfile_setbuf (FILE *, wchar_t *, ssize_t);
620 extern wint_t _IO_wfile_sync (FILE *);
622 extern wint_t _IO_wfile_underflow (FILE *);
624 extern wint_t _IO_wfile_overflow (FILE *, wint_t);
626 extern off64_t _IO_wfile_seekoff (FILE *, off64_t, int, int);
630 extern FILE* _IO_proc_open (FILE *, const char *, const char *)
632 extern FILE* _IO_new_proc_open (FILE *, const char *, const char *)
634 extern FILE* _IO_old_proc_open (FILE *, const char *, const char *);
635 extern int _IO_proc_close (FILE *) __THROW;
636 extern int _IO_new_proc_close (FILE *) __THROW;
637 extern int _IO_old_proc_close (FILE *);
640 extern int _IO_str_underflow (FILE *) __THROW;
642 extern int _IO_str_overflow (FILE *, int) __THROW;
644 extern int _IO_str_pbackfail (FILE *, int) __THROW;
646 extern off64_t _IO_str_seekoff (FILE *, off64_t, int, int) __THROW;
648 extern void _IO_str_finish (FILE *, int) __THROW;
652 extern ssize_t _IO_str_count (FILE *) __THROW;
655 extern void _IO_wstr_init_static (FILE *, wchar_t *, size_t, wchar_t *)
657 extern ssize_t _IO_wstr_count (FILE *) __THROW;
658 extern wint_t _IO_wstr_overflow (FILE *, wint_t) __THROW;
659 extern wint_t _IO_wstr_underflow (FILE *) __THROW;
660 extern off64_t _IO_wstr_seekoff (FILE *, off64_t, int, int)
662 extern wint_t _IO_wstr_pbackfail (FILE *, wint_t) __THROW;
663 extern void _IO_wstr_finish (FILE *, int) __THROW;
667 extern int __vfprintf_internal (FILE *fp, const char *format, va_list ap,
670 extern int __vfwprintf_internal (FILE *fp, const wchar_t *format, va_list ap,
732 extern size_t _IO_getline (FILE *,char *, size_t, int, int);
734 extern size_t _IO_getline_info (FILE *,char *, size_t,
737 extern size_t _IO_getwline (FILE *,wchar_t *, size_t, wint_t, int);
738 extern size_t _IO_getwline_info (FILE *,wchar_t *, size_t,
747 extern off64_t _IO_seekoff_unlocked (FILE *, off64_t, int, int)
749 extern off64_t _IO_seekpos_unlocked (FILE *, off64_t, int)
797 extern int __vfscanf_internal (FILE *fp, const char *format, va_list argp,
800 extern int __vfwscanf_internal (FILE *fp, const wchar_t *format, va_list argp,
811 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (FILE *) CHAIN, FD, \
816 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (FILE *) CHAIN, FD, \
824 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (FILE *) CHAIN, FD, \
829 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (FILE *) CHAIN, FD, \
842 _IO_legacy_file (FILE *fp) in _IO_legacy_file()
844 return fp == (FILE *) &_IO_stdin_ || fp == (FILE *) &_IO_stdout_ in _IO_legacy_file()
845 || fp == (FILE *) &_IO_stderr_; in _IO_legacy_file()
852 _IO_deallocate_file (FILE *fp) in _IO_deallocate_file()
855 if (fp == (FILE *) &_IO_2_1_stdin_ || fp == (FILE *) &_IO_2_1_stdout_ in _IO_deallocate_file()
856 || fp == (FILE *) &_IO_2_1_stderr_) in _IO_deallocate_file()
866 # define CHECK_FILE(FILE, RET) do { \ argument
867 if ((FILE) == NULL \
868 || ((FILE)->_flags & _IO_MAGIC_MASK) != _IO_MAGIC) \
875 # define CHECK_FILE(FILE, RET) do { } while (0) argument
880 _IO_acquire_lock_fct (FILE **p) in _IO_acquire_lock_fct()
882 FILE *fp = *p; in _IO_acquire_lock_fct()