Home
last modified time | relevance | path

Searched refs:file (Results 1 – 15 of 15) sorted by relevance

/libio/
A Diovdprintf.c39 tmpfil.file._lock = NULL; in __vdprintf_internal()
41 _IO_no_init (&tmpfil.file, _IO_USER_LOCK, 0, &wd, &_IO_wfile_jumps); in __vdprintf_internal()
44 if (_IO_file_attach (&tmpfil.file, d) == NULL) in __vdprintf_internal()
49 tmpfil.file._flags |= _IO_DELETE_DONT_CLOSE; in __vdprintf_internal()
51 _IO_mask_flags (&tmpfil.file, _IO_NO_READS, in __vdprintf_internal()
54 done = __vfprintf_internal (&tmpfil.file, format, arg, mode_flags); in __vdprintf_internal()
56 if (done != EOF && _IO_do_flush (&tmpfil.file) == EOF) in __vdprintf_internal()
59 _IO_FINISH (&tmpfil.file); in __vdprintf_internal()
A Dobprintf.c33 struct _IO_FILE_plus file; member
131 new_f.ofile.file.file._lock = NULL; in __obstack_vprintf_internal()
134 _IO_no_init (&new_f.ofile.file.file, _IO_USER_LOCK, -1, NULL, NULL); in __obstack_vprintf_internal()
135 _IO_JUMPS (&new_f.ofile.file) = &_IO_obstack_jumps; in __obstack_vprintf_internal()
158 assert (size == (new_f.ofile.file.file._IO_write_end in __obstack_vprintf_internal()
159 - new_f.ofile.file.file._IO_write_base)); in __obstack_vprintf_internal()
160 assert (new_f.ofile.file.file._IO_write_ptr in __obstack_vprintf_internal()
161 == (new_f.ofile.file.file._IO_write_base in __obstack_vprintf_internal()
167 result = __vfprintf_internal (&new_f.ofile.file.file, format, args, in __obstack_vprintf_internal()
171 obstack_blank_fast (obstack, (new_f.ofile.file.file._IO_write_ptr in __obstack_vprintf_internal()
[all …]
A Diofdopen.c126 new_f->fp.file._lock = &new_f->lock; in _IO_new_fdopen()
128 _IO_no_init (&new_f->fp.file, 0, 0, &new_f->wd, in _IO_new_fdopen()
145 new_f->fp.file._fileno = fd; in _IO_new_fdopen()
146 new_f->fp.file._flags &= ~_IO_DELETE_DONT_CLOSE; in _IO_new_fdopen()
148 _IO_mask_flags (&new_f->fp.file, read_write, in _IO_new_fdopen()
157 off64_t new_pos = _IO_SYSSEEK (&new_f->fp.file, 0, _IO_seek_end); in _IO_new_fdopen()
161 return &new_f->fp.file; in _IO_new_fdopen()
A Doldiofdopen.c100 new_f->fp.file._file._lock = &new_f->lock; in _IO_old_fdopen()
102 _IO_old_init (&new_f->fp.file._file, 0); in _IO_old_fdopen()
105 if (_IO_old_file_attach (&new_f->fp.file._file, fd) == NULL) in _IO_old_fdopen()
111 new_f->fp.file._file._flags &= ~_IO_DELETE_DONT_CLOSE; in _IO_old_fdopen()
113 _IO_mask_flags (&new_f->fp.file._file, read_write, in _IO_old_fdopen()
A Doldiopopen.c41 struct _IO_FILE_complete_plus file; member
153 new_f->fpx.file.file._file._lock = &new_f->lock; in _IO_old_popen()
155 fp = &new_f->fpx.file.file._file; in _IO_old_popen()
157 _IO_JUMPS_FILE_plus (&new_f->fpx.file) = &_IO_old_proc_jumps; in _IO_old_popen()
158 _IO_old_file_init_internal ((struct _IO_FILE_plus *) &new_f->fpx.file); in _IO_old_popen()
161 _IO_un_link ((struct _IO_FILE_plus *) &new_f->fpx.file); in _IO_old_popen()
A Diopopen.c41 struct _IO_FILE_plus file; member
234 new_f->fpx.file.file._lock = &new_f->lock; in _IO_new_popen()
236 fp = &new_f->fpx.file.file; in _IO_new_popen()
238 _IO_JUMPS (&new_f->fpx.file) = &_IO_proc_jumps; in _IO_new_popen()
239 _IO_new_file_init_internal (&new_f->fpx.file); in _IO_new_popen()
241 return (FILE *) &new_f->fpx.file; in _IO_new_popen()
242 _IO_un_link (&new_f->fpx.file); in _IO_new_popen()
A Diofopen.c70 new_f->fp.file._lock = &new_f->lock; in __fopen_internal()
72 _IO_no_init (&new_f->fp.file, 0, 0, &new_f->wd, &_IO_wfile_jumps); in __fopen_internal()
76 return __fopen_maybe_mmap (&new_f->fp.file); in __fopen_internal()
A Doldiofopen.c50 new_f->fp.file._file._lock = &new_f->lock; in _IO_old_fopen()
52 _IO_old_init (&new_f->fp.file._file, 0); in _IO_old_fopen()
A Diofopncook.c154 _IO_init_internal (&cfile->__fp.file, 0); in _IO_cookie_init()
162 _IO_mask_flags (&cfile->__fp.file, read_write, in _IO_cookie_init()
165 cfile->__fp.file._flags2 |= _IO_FLAGS2_NEED_LOCK; in _IO_cookie_init()
170 cfile->__fp.file._fileno = -2; in _IO_cookie_init()
209 new_f->cfile.__fp.file._lock = &new_f->lock; in _IO_fopencookie()
A Dtst-vtables-common.c386 struct my_file file = my_file_create (); in check_for_termination() local
387 shared->fp = &file.f; in check_for_termination()
458 struct my_file file = my_file_create (); in check_call() local
459 shared->fp = &file.f; in check_call()
461 _IO_init (shared->fp, file.f._flags); in check_call()
A Dgenops.c54 if (fp->file._flags & _IO_LINKED) in _IO_un_link()
66 _IO_list_all = (struct _IO_FILE_plus *) _IO_list_all->file._chain; in _IO_un_link()
68 for (f = &_IO_list_all->file._chain; *f; f = &(*f)->_chain) in _IO_un_link()
71 *f = fp->file._chain; in _IO_un_link()
74 fp->file._flags &= ~_IO_LINKED; in _IO_un_link()
88 if ((fp->file._flags & _IO_LINKED) == 0) in libc_hidden_def()
90 fp->file._flags |= _IO_LINKED; in libc_hidden_def()
97 fp->file._chain = (FILE *) _IO_list_all; in libc_hidden_def()
A Doldfileops.c103 fp->file._old_offset = _IO_pos_BAD; in _IO_old_file_init_internal()
104 fp->file._flags |= CLOSED_FILEBUF_FLAGS; in _IO_old_file_init_internal()
107 fp->file._vtable_offset = ((int) sizeof (struct _IO_FILE) in _IO_old_file_init_internal()
109 fp->file._fileno = -1; in _IO_old_file_init_internal()
A Dtst-widetext.input7 This file contains the UTF-8 sequences of all code positions in the
A Dfileops.c110 fp->file._offset = _IO_pos_BAD; in _IO_new_file_init_internal()
111 fp->file._flags |= CLOSED_FILEBUF_FLAGS; in _IO_new_file_init_internal()
114 fp->file._fileno = -1; in _IO_new_file_init_internal()
A DlibioP.h326 FILE file; member
336 struct _IO_FILE_complete file; member

Completed in 29 milliseconds