Home
last modified time | relevance | path

Searched refs:_IO_write_base (Results 1 – 19 of 19) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Dmemstream.c149 *mp->bufloc = fp->_IO_write_base;
150 *mp->sizeloc = fp->_IO_write_ptr - fp->_IO_write_base;
163 *mp->bufloc = (char *) realloc (fp->_IO_write_base,
164 fp->_IO_write_ptr - fp->_IO_write_base + 1);
167 (*mp->bufloc)[fp->_IO_write_ptr - fp->_IO_write_base] = '\0';
168 *mp->sizeloc = fp->_IO_write_ptr - fp->_IO_write_base;
196 *mp->bufloc = (char *) fp->_wide_data->_IO_write_base;
198 - fp->_wide_data->_IO_write_base);
211 *mp->bufloc = (char *) realloc (fp->_wide_data->_IO_write_base,
213 - fp->_wide_data->_IO_write_base + 1)
[all …]
H A 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()
H A Dwfileops.c69 && fp->_IO_write_end != fp->_IO_write_base)
71 if (_IO_new_do_write (fp, fp->_IO_write_base,
72 fp->_IO_write_ptr - fp->_IO_write_base) == EOF)
89 if (_IO_new_do_write (fp, fp->_IO_write_base,
90 fp->_IO_write_ptr - fp->_IO_write_base) == EOF)
109 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr
195 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end =
239 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr =
388 if (f->_wide_data->_IO_write_base == 0)
394 if (f->_IO_write_base == NULL)
[all …]
H A Dwstrops.c93 fp->_wide_data->_IO_write_base = ptr;
137 pos = fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base;
172 fp->_wide_data->_IO_write_base = new_buf;
233 - fp->_wide_data->_IO_write_base);
274 - fp->_wide_data->_IO_write_base);
281 fp->_wide_data->_IO_write_ptr = (fp->_wide_data->_IO_write_base
H A Dstrops.c94 fp->_IO_write_base = ptr;
139 pos = fp->_IO_write_ptr - fp->_IO_write_base;
173 fp->_IO_write_base = new_buf;
235 new_pos = fp->_IO_write_ptr - fp->_IO_write_base;
272 offset += fp->_IO_write_ptr - fp->_IO_write_base;
279 fp->_IO_write_ptr = fp->_IO_write_base + offset;
H A Dvasprintf.c69 needed = sf._sbf._f._IO_write_ptr - sf._sbf._f._IO_write_base + 1;
70 allocated = sf._sbf._f._IO_write_end - sf._sbf._f._IO_write_base;
H A Dfileops.c354 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in libc_hidden_def()
432 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end
495 else if (fp->_IO_read_end != fp->_IO_write_base)
498 = _IO_SYSSEEK (fp, fp->_IO_write_base - fp->_IO_read_end, 1);
508 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_buf_base;
579 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end
829 if ((f->_flags & _IO_CURRENTLY_PUTTING) == 0 || f->_IO_write_base == 0)
832 if (f->_IO_write_base == 0)
847 f->_IO_write_base = f->_IO_write_ptr;
856 return INTUSE(_IO_do_write) (f, f->_IO_write_base,
[all …]
H A Dgenops.c178 if (fp->_IO_write_ptr > fp->_IO_write_base)
191 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = fp->_IO_read_ptr;
216 fp->_IO_write_base = fp->_IO_read_ptr;
575 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = 0;
625 fp->_IO_write_base = NULL;
652 fp->_wide_data->_IO_write_base = NULL;
769 fp->_column = c - (fp->_IO_write_ptr - fp->_IO_write_base);
806 fp->_IO_write_base,
807 fp->_IO_write_ptr - fp->_IO_write_base);
834 if (((fp->_mode <= 0 && fp->_IO_write_ptr > fp->_IO_write_base)
[all …]
H A DlibioP.h485 ? INTUSE(_IO_do_write)(_f, (_f)->_IO_write_base, \
486 (_f)->_IO_write_ptr-(_f)->_IO_write_base) \
487 : INTUSE(_IO_wdo_write)(_f, (_f)->_wide_data->_IO_write_base, \
489 - (_f)->_wide_data->_IO_write_base)))
492 INTUSE(_IO_do_write)(_f, (_f)->_IO_write_base, \
493 (_f)->_IO_write_ptr-(_f)->_IO_write_base)
497 _IO_old_do_write(_f, (_f)->_IO_write_base, \
498 (_f)->_IO_write_ptr-(_f)->_IO_write_base)
508 ((__fp)->_IO_write_base = (__fp)->_IO_write_ptr \
511 ((__fp)->_wide_data->_IO_write_base \
H A Dlibio.h244 wchar_t *_IO_write_base; /* Start of put area. */ member
274 char* _IO_write_base; /* Start of put area. */ member
448 ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
H A Dvsnprintf.c65 fp->_IO_write_base = snf->overflow_buf;
H A Dvswprintf.c61 fp->_wide_data->_IO_write_base = snf->overflow_buf;
H A Dwgenops.c445 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_write_base)
458 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_write_ptr
484 fp->_wide_data->_IO_write_base = fp->_wide_data->_IO_read_ptr;
H A Diofwide.c124 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in _IO_fwide()
/haiku/headers/posix/
H A Dlibio.h126 char *_IO_write_base; /* Start of put area. */ member
187 ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
/haiku/src/libs/stdc++/legacy/
H A Dstrstream.cc62 _IO_ssize_t strstreambuf::pcount () { return _IO_write_ptr - _IO_write_base; } in pcount()
H A Dstreambuf.cc256 _collumn = c - (_IO_write_ptr - _IO_write_base);
/haiku/headers/cpp/
H A Dstreambuf.h304 char* pbase() const { return _IO_write_base; } in pbase()
321 { _IO_write_base=_IO_write_ptr=p; _IO_write_end=ep; } in setp()
387 int out_waiting() { return _IO_write_ptr - _IO_write_base; } in out_waiting()
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dvfprintf.c2060 int used = s->_wide_data->_IO_write_ptr - s->_wide_data->_IO_write_base; in _IO_helper_overflow()
2063 _IO_size_t written = _IO_sputn (target, s->_wide_data->_IO_write_base, in _IO_helper_overflow()
2068 int used = s->_IO_write_ptr - s->_IO_write_base; in _IO_helper_overflow()
2071 _IO_size_t written = _IO_sputn (target, s->_IO_write_base, used); in _IO_helper_overflow()
2172 - hp->_wide_data->_IO_write_base)) > 0) in buffered_vfprintf()
2174 if ((int) _IO_sputn (s, hp->_wide_data->_IO_write_base, to_flush) in buffered_vfprintf()
2179 if ((to_flush = hp->_IO_write_ptr - hp->_IO_write_base) > 0) in buffered_vfprintf()
2181 if ((int) _IO_sputn (s, hp->_IO_write_base, to_flush) != to_flush) in buffered_vfprintf()