Home
last modified time | relevance | path

Searched refs:gptr (Results 1 – 6 of 6) sorted by relevance

/haiku/src/libs/stdc++/legacy/
H A Dparsestream.cc105 } while (gptr() == ptr); in underflow()
106 return *gptr(); in underflow()
119 int offset = gptr() - eback(); in tell_in_line()
154 int has_newline = eback() < gptr() && gptr()[-1] == '\n'; in underflow()
193 int off = gptr() - base(); in tell_in_line()
229 return gptr() - buf_start; in tell_in_line()
233 return (buf_end - buf_start) + (gptr() - (char*)NewLine); in tell_in_line()
265 if (gptr() < egptr()) in underflow()
266 return *gptr(); in underflow()
267 if (gptr() != (char*)NewLine+1) { in underflow()
[all …]
H A Deditbuf.cc347 if (gptr() < egptr()) { in underflow()
348 return *gptr(); in underflow()
350 if ((buf_char*)gptr() == str_end) in underflow()
353 setg(eback(), gptr(), str_end); in underflow()
356 if (gptr() < buffer->gap_start()) { in underflow()
357 setg(eback(), gptr(), buffer->gap_start()); in underflow()
360 if (gptr() == buffer->gap_start()) { in underflow()
366 setg(eback(), gptr(), str_end); in underflow()
379 set_current(gptr(), 0); in overflow()
/haiku/headers/cpp/
H A Deditbuf.h95 int is_reading() { return gptr() != NULL; } in is_reading()
96 buf_char* current() { return is_reading() ? gptr() : pptr(); } in current()
H A Dsstream93 // The buffer is already in gptr, so if it ends then it is out of data.
114 stringbuf_sync(gptr()-eback(), pptr()-pbase());
158 curi = gptr();
H A Dstreambuf.h298 char* gptr() const in gptr() function
454 char* cur_ptr() { return is_reading() ? gptr() : pptr(); } in cur_ptr()
/haiku/src/add-ons/print/transports/shared/
H A DSocketStream.cpp52 return *gptr(); in underflow()