Home
last modified time | relevance | path

Searched refs:read_write (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/libio/
Diofdopen.c36 int read_write; in _IO_new_fdopen() local
56 read_write = _IO_NO_WRITES; in _IO_new_fdopen()
59 read_write = _IO_NO_READS; in _IO_new_fdopen()
62 read_write = _IO_NO_READS|_IO_IS_APPENDING; in _IO_new_fdopen()
75 read_write &= _IO_IS_APPENDING; in _IO_new_fdopen()
92 if (((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES)) in _IO_new_fdopen()
93 || ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS))) in _IO_new_fdopen()
115 if ((read_write & _IO_IS_APPENDING) && !(fd_flags & O_APPEND)) in _IO_new_fdopen()
130 (use_mmap && (read_write & _IO_NO_WRITES)) in _IO_new_fdopen()
136 (use_mmap && (read_write & _IO_NO_WRITES)) ? &_IO_file_jumps_maybe_mmap : in _IO_new_fdopen()
[all …]
Doldiofdopen.c39 int read_write; in _IO_old_fdopen() local
53 read_write = _IO_NO_WRITES; in _IO_old_fdopen()
56 read_write = _IO_NO_READS; in _IO_old_fdopen()
60 read_write = _IO_NO_READS|_IO_IS_APPENDING; in _IO_old_fdopen()
67 read_write &= _IO_IS_APPENDING; in _IO_old_fdopen()
70 || ((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES)) in _IO_old_fdopen()
71 || ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS))) in _IO_old_fdopen()
113 _IO_mask_flags (&new_f->fp.file._file, read_write, in _IO_old_fdopen()
Diofopncook.c151 _IO_cookie_init (struct _IO_cookie_file *cfile, int read_write, in _IO_cookie_init() argument
162 _IO_mask_flags (&cfile->__fp.file, read_write, in _IO_cookie_init()
178 int read_write; in _IO_fopencookie() local
190 read_write = _IO_NO_WRITES; in _IO_fopencookie()
193 read_write = _IO_NO_READS; in _IO_fopencookie()
196 read_write = _IO_NO_READS|_IO_IS_APPENDING; in _IO_fopencookie()
203 read_write &= _IO_IS_APPENDING; in _IO_fopencookie()
212 _IO_cookie_init (&new_f->cfile, read_write, cookie, io_functions); in _IO_fopencookie()
Doldfileops.c171 int read_write, fdesc; in _IO_old_file_fopen() local
179 read_write = _IO_NO_WRITES; in _IO_old_file_fopen()
184 read_write = _IO_NO_READS; in _IO_old_file_fopen()
189 read_write = _IO_NO_READS|_IO_IS_APPENDING; in _IO_old_file_fopen()
198 read_write &= _IO_IS_APPENDING; in _IO_old_file_fopen()
204 _IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); in _IO_old_file_fopen()
205 if (read_write & _IO_IS_APPENDING) in _IO_old_file_fopen()
Dfileops.c181 int read_write, int is32not64) in libc_hidden_ver()
192 _IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); in libc_hidden_ver()
195 if ((read_write & (_IO_IS_APPENDING | _IO_NO_READS)) in libc_hidden_ver()
215 int read_write; in libc_hidden_def() local
228 read_write = _IO_NO_WRITES; in libc_hidden_def()
233 read_write = _IO_NO_READS; in libc_hidden_def()
238 read_write = _IO_NO_READS|_IO_IS_APPENDING; in libc_hidden_def()
253 read_write &= _IO_IS_APPENDING; in libc_hidden_def()
280 result = _IO_file_open (fp, filename, omode|oflags, oprot, read_write, in libc_hidden_def()