Searched refs:is_reading (Results 1 – 3 of 3) sorted by relevance
95 int is_reading() { return gptr() != NULL; } in is_reading() function96 buf_char* current() { return is_reading() ? gptr() : pptr(); } in current()97 void set_current(char *p, int is_reading);
453 int is_reading() { return eback() != egptr(); } in is_reading() function454 char* cur_ptr() { return is_reading() ? gptr() : pptr(); } in cur_ptr()
317 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()