Searched refs:gptr (Results 1 – 6 of 6) sorted by relevance
105 } 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 …]
347 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()
95 int is_reading() { return gptr() != NULL; } in is_reading()96 buf_char* current() { return is_reading() ? gptr() : pptr(); } in current()
93 // 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();
298 char* gptr() const in gptr() function454 char* cur_ptr() { return is_reading() ? gptr() : pptr(); } in cur_ptr()
52 return *gptr(); in underflow()