Lines Matching refs:new_pos
316 char* new_pos = data + mpos; in adjust_markers() local
317 file->set_current(new_pos, file->is_reading()); in adjust_markers()
426 void edit_streambuf::set_current(char *new_pos, int reading) in set_current() argument
429 setg(new_pos, new_pos, new_pos); in set_current()
434 setp(new_pos, new_pos); in set_current()
461 buf_char *new_pos = buffer->data + offset; in seekoff() local
463 if (new_pos > gap_start) { in seekoff()
465 new_pos += gap_end - gap_start; in seekoff()
466 if (new_pos >= buffer->data + buffer->buf_size) abort(); // Paranoia. in seekoff()
468 set_current(new_pos, is_reading()); in seekoff()
480 fpos_t cur_pos, new_pos;
490 new_pos = *pos;
493 new_pos = cur_pos + *pos;
496 new_pos = end_pos + *pos;
499 if (new_pos > end_pos) {
501 insert_nulls(new_pos - end_pos);
504 if (str_start + new_pos <= *gap_start_ptr &* *gap_start_ptr < end) {
507 __bufp = str_start + new_pos;
513 *pos = new_pos;