Home
last modified time | relevance | path

Searched refs:_IO_write_ptr (Results 1 – 23 of 23) sorted by relevance

/glibc-2.36/libio/
Dstrops.c53 fp->_IO_write_ptr = pstart; in _IO_str_init_static_internal()
59 fp->_IO_write_ptr = ptr; in _IO_str_init_static_internal()
90 fp->_IO_write_ptr = fp->_IO_read_ptr; in _IO_str_overflow()
93 pos = fp->_IO_write_ptr - fp->_IO_write_base; in _IO_str_overflow()
125 fp->_IO_write_ptr = new_buf + (fp->_IO_write_ptr - old_buf); in _IO_str_overflow()
133 *fp->_IO_write_ptr++ = (unsigned char) c; in _IO_str_overflow()
134 if (fp->_IO_write_ptr > fp->_IO_read_end) in _IO_str_overflow()
135 fp->_IO_read_end = fp->_IO_write_ptr; in _IO_str_overflow()
146 if (fp->_IO_write_ptr > fp->_IO_read_end) in libc_hidden_def()
147 fp->_IO_read_end = fp->_IO_write_ptr; in libc_hidden_def()
[all …]
Dwstrops.c55 fp->_wide_data->_IO_write_ptr = pstart; in _IO_wstr_init_static()
61 fp->_wide_data->_IO_write_ptr = ptr; in _IO_wstr_init_static()
79 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_read_ptr; in _IO_wstr_overflow()
82 pos = fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base; in _IO_wstr_overflow()
121 fp->_wide_data->_IO_write_ptr = in _IO_wstr_overflow()
122 new_buf + (fp->_wide_data->_IO_write_ptr - old_buf); in _IO_wstr_overflow()
130 *fp->_wide_data->_IO_write_ptr++ = c; in _IO_wstr_overflow()
131 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end) in _IO_wstr_overflow()
132 fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_write_ptr; in _IO_wstr_overflow()
143 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end) in _IO_wstr_underflow()
[all …]
Dobprintf.c51 fp->_IO_write_ptr = obstack_next_free (obstack); in _IO_obstack_overflow()
53 fp->_IO_write_end = fp->_IO_write_ptr + size; in _IO_obstack_overflow()
66 if (fp->_IO_write_ptr + n > fp->_IO_write_end) in _IO_obstack_xsputn()
72 obstack_blank_fast (obstack, fp->_IO_write_ptr - fp->_IO_write_end); in _IO_obstack_xsputn()
79 fp->_IO_write_ptr = obstack_next_free (obstack); in _IO_obstack_xsputn()
81 fp->_IO_write_end = fp->_IO_write_ptr + size; in _IO_obstack_xsputn()
86 fp->_IO_write_ptr = __mempcpy (fp->_IO_write_ptr, data, n); in _IO_obstack_xsputn()
160 assert (new_f.ofile.file.file._IO_write_ptr in __obstack_vprintf_internal()
171 obstack_blank_fast (obstack, (new_f.ofile.file.file._IO_write_ptr in __obstack_vprintf_internal()
Dwfileops.c43 if (fp->_IO_write_end == fp->_IO_write_ptr in _IO_wdo_write()
47 fp->_IO_write_ptr - fp->_IO_write_base) == EOF) in _IO_wdo_write()
58 if (fp->_IO_write_ptr - fp->_IO_write_base < sizeof (mb_buf)) in _IO_wdo_write()
67 write_ptr = fp->_IO_write_ptr; in _IO_wdo_write()
99 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr in _IO_wdo_write()
187 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = in libc_hidden_def()
223 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr = in libc_hidden_def()
449 f->_wide_data->_IO_write_ptr = f->_wide_data->_IO_read_ptr; in _IO_wfile_overflow()
450 f->_wide_data->_IO_write_base = f->_wide_data->_IO_write_ptr; in _IO_wfile_overflow()
455 f->_IO_write_ptr = f->_IO_read_ptr; in _IO_wfile_overflow()
[all …]
Doldfileops.c238 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end in _IO_old_file_setbuf()
282 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_buf_base; in old_do_write()
331 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end in _IO_old_file_underflow()
379 f->_IO_write_ptr = f->_IO_read_ptr; in _IO_old_file_overflow()
380 f->_IO_write_base = f->_IO_write_ptr; in _IO_old_file_overflow()
385 f->_IO_write_end = f->_IO_write_ptr; in _IO_old_file_overflow()
390 if (f->_IO_write_ptr == f->_IO_buf_end ) /* Buffer is really full */ in _IO_old_file_overflow()
393 *f->_IO_write_ptr++ = ch; in _IO_old_file_overflow()
409 if (fp->_IO_write_ptr > fp->_IO_write_base) in _IO_old_file_sync()
443 && fp->_IO_write_base == fp->_IO_write_ptr); in _IO_old_file_seekoff()
[all …]
Dmemstream.c113 if (fp->_IO_write_ptr == fp->_IO_write_end) in weak_alias()
116 --fp->_IO_write_ptr; in weak_alias()
120 *mp->sizeloc = fp->_IO_write_ptr - fp->_IO_write_base; in weak_alias()
132 fp->_IO_write_ptr - fp->_IO_write_base + 1); in _IO_mem_finish()
135 (*mp->bufloc)[fp->_IO_write_ptr - fp->_IO_write_base] = '\0'; in _IO_mem_finish()
136 *mp->sizeloc = fp->_IO_write_ptr - fp->_IO_write_base; in _IO_mem_finish()
Dgenops.c165 if (fp->_IO_write_ptr > fp->_IO_write_base) in _IO_switch_to_get_mode()
173 if (fp->_IO_write_ptr > fp->_IO_read_end) in _IO_switch_to_get_mode()
174 fp->_IO_read_end = fp->_IO_write_ptr; in _IO_switch_to_get_mode()
176 fp->_IO_read_ptr = fp->_IO_write_ptr; in _IO_switch_to_get_mode()
178 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = fp->_IO_read_ptr; in _IO_switch_to_get_mode()
379 if (f->_IO_write_ptr < f->_IO_write_end) in libc_hidden_def()
381 size_t count = f->_IO_write_end - f->_IO_write_ptr; in libc_hidden_def()
386 f->_IO_write_ptr = __mempcpy (f->_IO_write_ptr, s, count); in libc_hidden_def()
391 char *p = f->_IO_write_ptr; in libc_hidden_def()
395 f->_IO_write_ptr = p; in libc_hidden_def()
[all …]
Dfileops.c325 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in libc_hidden_def()
385 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end in libc_hidden_ver()
452 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_buf_base; in libc_hidden_ver()
513 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end in _IO_new_file_underflow()
765 f->_IO_write_ptr = f->_IO_read_ptr; in _IO_new_file_overflow()
766 f->_IO_write_base = f->_IO_write_ptr; in _IO_new_file_overflow()
772 f->_IO_write_end = f->_IO_write_ptr; in _IO_new_file_overflow()
776 f->_IO_write_ptr - f->_IO_write_base); in _IO_new_file_overflow()
777 if (f->_IO_write_ptr == f->_IO_buf_end ) /* Buffer is really full */ in _IO_new_file_overflow()
780 *f->_IO_write_ptr++ = ch; in _IO_new_file_overflow()
[all …]
Dwmemstream.c113 if (fp->_wide_data->_IO_write_ptr == fp->_wide_data->_IO_write_end) in _IO_wmem_sync()
116 --fp->_wide_data->_IO_write_ptr; in _IO_wmem_sync()
120 *mp->sizeloc = (fp->_wide_data->_IO_write_ptr in _IO_wmem_sync()
133 (fp->_wide_data->_IO_write_ptr in _IO_wmem_finish()
138 size_t len = (fp->_wide_data->_IO_write_ptr in _IO_wmem_finish()
Dwgenops.c292 - f->_wide_data->_IO_write_ptr); in libc_hidden_def()
299 f->_wide_data->_IO_write_ptr = in libc_hidden_def()
300 __wmempcpy (f->_wide_data->_IO_write_ptr, s, count); in libc_hidden_def()
307 wchar_t *p = f->_wide_data->_IO_write_ptr; in libc_hidden_def()
311 f->_wide_data->_IO_write_ptr = p; in libc_hidden_def()
393 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_write_base) in libc_hidden_def()
401 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end) in libc_hidden_def()
402 fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_write_ptr; in libc_hidden_def()
404 fp->_wide_data->_IO_read_ptr = fp->_wide_data->_IO_write_ptr; in libc_hidden_def()
406 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr in libc_hidden_def()
Dlibio.h127 wchar_t *_IO_write_ptr; /* Current put pointer. */ member
178 || ((_fp)->_wide_data->_IO_write_ptr \
181 : (wint_t) (*(_fp)->_wide_data->_IO_write_ptr++ = (_wch)))
195 ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
Dvsnprintf.c47 *fp->_IO_write_ptr = '\0'; in _IO_strn_overflow()
58 fp->_IO_write_ptr = snf->overflow_buf; in _IO_strn_overflow()
117 *sf.f._sbf._f._IO_write_ptr = '\0'; in __vsnprintf_internal()
D__fpending.c24 return fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base; in __fpending()
26 return fp->_IO_write_ptr - fp->_IO_write_base; in __fpending()
D__fpurge.c31 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in __fpurge()
40 fp->_IO_write_ptr = fp->_IO_write_base; in __fpurge()
Dvswprintf.c57 fp->_wide_data->_IO_write_ptr = snf->overflow_buf; in _IO_wstrn_overflow()
119 *sf.f._sbf._f._wide_data->_IO_write_ptr = '\0'; in __vswprintf_internal()
DlibioP.h510 (_f)->_IO_write_ptr-(_f)->_IO_write_base) \
512 ((_f)->_wide_data->_IO_write_ptr \
516 (_f)->_IO_write_ptr-(_f)->_IO_write_base)
526 ((__fp)->_IO_write_base = (__fp)->_IO_write_ptr \
530 = (__fp)->_wide_data->_IO_write_ptr = __p, \
Diovsprintf.c98 *sf._sbf._f._IO_write_ptr = '\0'; in __vsprintf_internal()
Dvasprintf.c65 needed = sf._sbf._f._IO_write_ptr - sf._sbf._f._IO_write_base + 1; in __vasprintf_internal()
Diofwide.c69 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in _IO_fwide()
/glibc-2.36/libio/bits/types/
Dstruct_FILE.h58 char *_IO_write_ptr; /* Current put pointer. */ member
107 (__glibc_unlikely ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end) \
109 : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
/glibc-2.36/stdio-common/
Dvfprintf-internal.c1641 int used = s->_wide_data->_IO_write_ptr - s->_wide_data->_IO_write_base; in _IO_helper_overflow()
1650 s->_wide_data->_IO_write_ptr -= written; in _IO_helper_overflow()
1653 int used = s->_IO_write_ptr - s->_IO_write_base; in _IO_helper_overflow()
1661 s->_IO_write_ptr -= written; in _IO_helper_overflow()
1756 if ((to_flush = (hp->_wide_data->_IO_write_ptr in buffered_vfprintf()
1764 if ((to_flush = hp->_IO_write_ptr - hp->_IO_write_base) > 0) in buffered_vfprintf()
/glibc-2.36/stdlib/
Dstrfrom-skeleton.c152 *sfile.f._sbf._f._IO_write_ptr = '\0'; in STRFROM()
/glibc-2.36/manual/
Dstdio.texi863 @c gets a signal precisely before the post-incremented _IO_write_ptr
865 @c depending on compiler optimizations, the incremented _IO_write_ptr