Home
last modified time | relevance | path

Searched refs:_mode (Results 1 – 25 of 33) sorted by relevance

12

/glibc-2.36/libio/
Dlibio.h245 if ((__fp)->_mode == 0) \
247 (__fp)->_mode = -1; \
248 __result = (__fp)->_mode; \
251 __result = _IO_fwide_maybe_incompatible ? -1 : (__fp)->_mode; \
Dgenops.c201 if (f->_mode == 0) in libc_hidden_def()
273 if (fp->_mode == 0) in __underflow()
303 if (fp->_mode == 0) in libc_hidden_def()
346 if (!(fp->_flags & _IO_UNBUFFERED) || fp->_mode > 0) in libc_hidden_def()
565 fp->_mode = orientation; in _IO_no_init()
701 if (((fp->_mode <= 0 && fp->_IO_write_ptr > fp->_IO_write_base) in libc_hidden_def()
703 && fp->_mode > 0 && (fp->_wide_data->_IO_write_ptr in libc_hidden_def()
801 && (legacy || fp->_mode != 0)) in _IO_unbuffer_all()
826 if (! legacy && fp->_mode > 0) in _IO_unbuffer_all()
838 fp->_mode = -1; in _IO_unbuffer_all()
Dfwide.c39 if (mode == 0 || fp->_mode != 0) in fwide()
42 return fp->_mode; in fwide()
Dwgenops.c213 if (f->_mode == 0) in libc_hidden_def()
223 if (fp->_mode < 0 || (fp->_mode == 0 && _IO_fwide (fp, 1) != 1)) in libc_hidden_def()
226 if (fp->_mode == 0) in libc_hidden_def()
253 if (fp->_mode < 0 || (fp->_mode == 0 && _IO_fwide (fp, 1) != 1)) in libc_hidden_def()
256 if (fp->_mode == 0) in libc_hidden_def()
Diofgetpos64.c43 if (fp->_mode <= 0) in _IO_new_fgetpos64()
57 if (fp->_mode > 0 && __libio_codecvt_encoding (fp->_codecvt) < 0) in _IO_new_fgetpos64()
Diofgetpos.c54 if (fp->_mode <= 0) in _IO_new_fgetpos()
73 if (fp->_mode > 0 && __libio_codecvt_encoding (fp->_codecvt) < 0) in _IO_new_fgetpos()
Diofwide.c58 if (fp->_mode != 0 in _IO_fwide()
61 return fp->_mode; in _IO_fwide()
103 fp->_mode = mode; in _IO_fwide()
Dfileops.c145 if (fp->_mode > 0) in _IO_new_file_close_it()
351 result->_mode = 1; in libc_hidden_def()
453 fp->_IO_write_end = (fp->_mode <= 0 in libc_hidden_ver()
629 if (fp->_mode <= 0) in libc_hidden_ver()
699 if (fp->_mode <= 0) in decide_maybe_mmap()
712 if (fp->_mode <= 0) in decide_maybe_mmap()
771 if (f->_mode <= 0 && f->_flags & (_IO_LINE_BUF | _IO_UNBUFFERED)) in _IO_new_file_overflow()
D__fbufsize.c23 if (fp->_mode > 0) in __fbufsize()
D__fpending.c23 if (fp->_mode > 0) in __fpending()
D__fpurge.c24 if (fp->_mode > 0) in __fpurge()
Diosetbuffer.c38 if (_IO_vtable_offset (fp) == 0 && fp->_mode == 0 && _IO_CHECK_WIDE (fp)) in _IO_setbuffer()
Dftello64.c43 if (fp->_mode <= 0) in __ftello64()
Dioftell.c41 if (_IO_vtable_offset (fp) != 0 || fp->_mode <= 0) in _IO_ftell()
Diofsetpos64.c51 if (fp->_mode > 0 && __libio_codecvt_encoding (fp->_codecvt) < 0) in _IO_new_fsetpos64()
Dftello.c45 if (fp->_mode <= 0) in __ftello()
Dioseekoff.c48 if (_IO_vtable_offset (fp) != 0 || fp->_mode <= 0) in _IO_seekoff_unlocked()
Diofclose.c58 if (fp->_mode > 0) in _IO_new_fclose()
Diofsetpos.c61 if (fp->_mode > 0 && __libio_codecvt_encoding (fp->_codecvt) < 0) in _IO_new_fsetpos()
Dfreopen64.c66 result->_mode = 0; in freopen64()
Diofopen.c44 if (fp->_mode <= 0) in __fopen_maybe_mmap()
Dfreopen.c83 result->_mode = 0; in freopen()
Diogetline.c53 if (__builtin_expect (fp->_mode, -1) == 0) in libc_hidden_def()
Diogetwline.c53 if (__builtin_expect (fp->_mode, 1) == 0) in _IO_getwline_info()
/glibc-2.36/libio/bits/types/
Dstruct_FILE.h96 int _mode; member

12