Searched refs:_IO_write_ptr (Results 1 – 19 of 19) sorted by relevance
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | wstrops.c | 98 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 D | strops.c | 99 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 D | memstream.c | 141 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 D | wfileops.c | 68 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.c | 31 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 D | genops.c | 178 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 D | libio.h | 245 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 D | vsnprintf.c | 60 *fp->_IO_write_ptr = '\0'; 71 fp->_IO_write_ptr = snf->overflow_buf; 133 *sf.f._sbf._f._IO_write_ptr = '\0';
|
H A D | wgenops.c | 329 - 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 D | fileops.c | 354 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 D | vswprintf.c | 69 fp->_wide_data->_IO_write_ptr = snf->overflow_buf; 134 *sf.f._sbf._f._wide_data->_IO_write_ptr = '\0';
|
H A D | vasprintf.c | 69 needed = sf._sbf._f._IO_write_ptr - sf._sbf._f._IO_write_base + 1;
|
H A D | libioP.h | 486 (_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 D | iofwide.c | 124 fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base; in _IO_fwide()
|
/haiku/headers/posix/ |
H A D | libio.h | 127 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 D | streambuf.h | 300 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 D | strstream.cc | 62 _IO_ssize_t strstreambuf::pcount () { return _IO_write_ptr - _IO_write_base; } in pcount()
|
H A D | streambuf.cc | 256 _collumn = c - (_IO_write_ptr - _IO_write_base);
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | vfprintf.c | 2060 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()
|