Home
last modified time | relevance | path

Searched refs:is_reading (Results 1 – 3 of 3) sorted by relevance

/haiku/headers/cpp/
H A Deditbuf.h95 int is_reading() { return gptr() != NULL; } in is_reading() function
96 buf_char* current() { return is_reading() ? gptr() : pptr(); } in current()
97 void set_current(char *p, int is_reading);
H A Dstreambuf.h453 int is_reading() { return eback() != egptr(); } in is_reading() function
454 char* cur_ptr() { return is_reading() ? gptr() : pptr(); } in cur_ptr()
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc317 file->set_current(new_pos, file->is_reading()); in adjust_markers()
341 if (!is_reading()) { // Must switch from put to get mode. in underflow()
378 if (is_reading()) { // Must switch from get to put mode. in overflow()
468 set_current(new_pos, is_reading()); in seekoff()