Home
last modified time | relevance | path

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

/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc316 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()
[all …]
H A Dparsestream.cc312 int new_pos = seekoff(pos_at_line_start + i, ios::beg); in seek_in_line()
313 if (new_pos == EOF) in seek_in_line()
315 else return new_pos - pos_at_line_start; in seek_in_line()
/haiku/src/system/libroot/posix/glibc/libio/
H A Dwstrops.c220 _IO_off64_t new_pos; local
230 new_pos = fp->_wide_data->_IO_read_ptr - fp->_wide_data->_IO_read_base;
232 new_pos = (fp->_wide_data->_IO_write_ptr
238 new_pos = EOF;
261 new_pos = offset;
283 new_pos = offset;
286 return new_pos;
H A Dstrops.c223 _IO_off64_t new_pos; local
233 new_pos = fp->_IO_read_ptr - fp->_IO_read_base;
235 new_pos = fp->_IO_write_ptr - fp->_IO_write_base;
240 new_pos = EOF;
260 new_pos = offset;
280 new_pos = offset;
283 return new_pos;
H A Dfileops.c497 _IO_off64_t new_pos variable
499 if (new_pos == _IO_pos_BAD)
501 fp->_offset = new_pos;
888 _IO_off64_t new_pos = _IO_SYSSEEK (fp, delta, 1); variable
889 if (new_pos != (_IO_off64_t) EOF)
H A Dwfileops.c464 _IO_off64_t new_pos; variable
488 new_pos = _IO_SYSSEEK (fp, delta, 1);
489 if (new_pos != (_IO_off64_t) EOF)