Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/glibc/libio/
H A Dwstrops.c98 fp->_wide_data->_IO_write_ptr = pstart;
104 fp->_wide_data->_IO_write_ptr = ptr;
134 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_read_ptr;
137 pos = fp->_wide_data->_IO_write_ptr - fp->_wide_data->_IO_write_base;
169 fp->_wide_data->_IO_write_ptr =
170 new_buf + (fp->_wide_data->_IO_write_ptr - old_buf);
178 *fp->_wide_data->_IO_write_ptr++ = c;
179 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end)
180 fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_write_ptr;
188 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end)
[all …]
H A Dstrops.c99 fp->_IO_write_ptr = pstart;
105 fp->_IO_write_ptr = ptr;
136 fp->_IO_write_ptr = fp->_IO_read_ptr;
139 pos = fp->_IO_write_ptr - fp->_IO_write_base;
171 fp->_IO_write_ptr = new_buf + (fp->_IO_write_ptr - old_buf);
179 *fp->_IO_write_ptr++ = (unsigned char) c;
180 if (fp->_IO_write_ptr > fp->_IO_read_end)
181 fp->_IO_read_end = fp->_IO_write_ptr;
190 if (fp->_IO_write_ptr > fp->_IO_read_end)
191 fp->_IO_read_end = fp->_IO_write_ptr;
[all …]
H A Dmemstream.c141 if (fp->_IO_write_ptr == fp->_IO_write_end)
144 --fp->_IO_write_ptr;
147 *fp->_IO_write_ptr = '\0';
150 *mp->sizeloc = fp->_IO_write_ptr - 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;
188 if (fp->_wide_data->_IO_write_ptr == fp->_wide_data->_IO_write_end)
191 --fp->_wide_data->_IO_write_ptr;
194 *fp->_wide_data->_IO_write_ptr = '\0';
[all …]
H A Dwfileops.c68 if (fp->_IO_write_end == fp->_IO_write_ptr
72 fp->_IO_write_ptr - fp->_IO_write_base) == EOF)
84 fp->_IO_write_ptr,
86 &fp->_IO_write_ptr);
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 =
417 f->_wide_data->_IO_write_ptr = f->_wide_data->_IO_read_ptr;
418 f->_wide_data->_IO_write_base = f->_wide_data->_IO_write_ptr;
[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 Dgenops.c178 if (fp->_IO_write_ptr > fp->_IO_write_base)
186 if (fp->_IO_write_ptr > fp->_IO_read_end)
187 fp->_IO_read_end = fp->_IO_write_ptr;
189 fp->_IO_read_ptr = fp->_IO_write_ptr;
191 fp->_IO_write_base = fp->_IO_write_ptr = fp->_IO_write_end = fp->_IO_read_ptr;
217 fp->_IO_write_ptr = fp->_IO_read_ptr;
456 _IO_ssize_t count = f->_IO_write_end - f->_IO_write_ptr;
464 f->_IO_write_ptr = __mempcpy (f->_IO_write_ptr, s, count);
466 memcpy (f->_IO_write_ptr, s, count);
467 f->_IO_write_ptr += count;
[all …]
H A Dlibio.h245 wchar_t *_IO_write_ptr; /* Current put pointer. */ member
275 char* _IO_write_ptr; /* Current put pointer. */ member
424 (((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end) \
426 : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
432 ((_fp)->_wide_data->_IO_write_ptr >= (_fp)->_wide_data->_IO_write_end \
434 : (_IO_wint_t) (*(_fp)->_wide_data->_IO_write_ptr++ = (_wch)))
448 ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
H A Dvsnprintf.c60 *fp->_IO_write_ptr = '\0';
71 fp->_IO_write_ptr = snf->overflow_buf;
133 *sf.f._sbf._f._IO_write_ptr = '\0';
H A Dwgenops.c329 - f->_wide_data->_IO_write_ptr);
337 f->_wide_data->_IO_write_ptr =
338 __wmempcpy (f->_wide_data->_IO_write_ptr, s, count);
340 memcpy (f->_wide_data->_IO_write_ptr, s, count);
341 f->_wide_data->_IO_write_ptr += count;
349 wchar_t *p = f->_wide_data->_IO_write_ptr;
353 f->_wide_data->_IO_write_ptr = p;
445 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_write_base)
453 if (fp->_wide_data->_IO_write_ptr > fp->_wide_data->_IO_read_end)
454 fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_write_ptr;
[all …]
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
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
846 f->_IO_write_ptr = f->_IO_read_ptr;
847 f->_IO_write_base = f->_IO_write_ptr;
853 f->_IO_write_end = f->_IO_write_ptr;
857 f->_IO_write_ptr - f->_IO_write_base);
858 if (f->_IO_write_ptr == f->_IO_buf_end ) /* Buffer is really full */
861 *f->_IO_write_ptr++ = ch;
[all …]
H A Dvswprintf.c69 fp->_wide_data->_IO_write_ptr = snf->overflow_buf;
134 *sf.f._sbf._f._wide_data->_IO_write_ptr = '\0';
H A Dvasprintf.c69 needed = sf._sbf._f._IO_write_ptr - sf._sbf._f._IO_write_base + 1;
H A DlibioP.h486 (_f)->_IO_write_ptr-(_f)->_IO_write_base) \
488 ((_f)->_wide_data->_IO_write_ptr \
493 (_f)->_IO_write_ptr-(_f)->_IO_write_base)
498 (_f)->_IO_write_ptr-(_f)->_IO_write_base)
508 ((__fp)->_IO_write_base = (__fp)->_IO_write_ptr \
512 = (__fp)->_wide_data->_IO_write_ptr = __p, \
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.h127 char *_IO_write_ptr; /* Current put pointer. */ member
187 ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
228 (_IO_BE ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end, 0) \
230 : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
/haiku/headers/cpp/
H A Dstreambuf.h300 char* pptr() const { return _IO_write_ptr; } in pptr()
310 void xput_char(char c) { *_IO_write_ptr++ = c; } in xput_char()
318 void pbump(int n) { _IO_write_ptr += n; } in pbump()
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/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/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()
2065 s->_wide_data->_IO_write_ptr -= written; in _IO_helper_overflow()
2068 int used = s->_IO_write_ptr - s->_IO_write_base; in _IO_helper_overflow()
2072 s->_IO_write_ptr -= written; in _IO_helper_overflow()
2171 if ((to_flush = (hp->_wide_data->_IO_write_ptr in buffered_vfprintf()
2179 if ((to_flush = hp->_IO_write_ptr - hp->_IO_write_base) > 0) in buffered_vfprintf()