Home
last modified time | relevance | path

Searched refs:__off (Results 1 – 25 of 43) sorted by relevance

12

/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dfpos.h77 fpos(streamoff __off, __state_type __st = __state_type())
78 : _M_off(__off), _M_st(__st) { } in _M_off() argument
83 operator+=(streamoff __off) { _M_off += __off; return *this; }
86 operator-=(streamoff __off) { _M_off -= __off; return *this; }
89 operator+(streamoff __off)
92 __t += __off;
97 operator-(streamoff __off)
100 __t -= __off;
116 _M_position(streamoff __off) { _M_off = __off; } in _M_position() argument
H A Dsstream.tcc121 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
163 && __newoffi + __off >= 0 && __endi - __beg >= __newoffi + __off) in seekoff()
165 _M_in_cur = __beg + __newoffi + __off; in seekoff()
169 && __newoffo + __off >= 0 && __endo - __beg >= __newoffo + __off) in seekoff()
171 _M_out_cur_move(__newoffo + __off - (_M_out_cur - __beg)); in seekoff()
H A Dfstream.tcc362 off_type __off = _M_out_beg - _M_filepos; in _M_really_overflow() local
363 _M_file.seekoff(__off, ios_base::cur); in _M_really_overflow()
430 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
442 bool __testfail = __off != 0 && __width <= 0; in seekoff()
448 if (__way != ios_base::cur || __off != 0) in seekoff()
450 off_type __computed_off = __width * __off; in seekoff()
476 _M_file.seekoff(__off, ios_base::cur, __mode); in seekoff()
H A Dbasic_string.tcc328 const size_type __off = __s - _M_data(); in insert() local
330 __s = _M_data() + __off; in insert()
644 size_type __off = __i1 - _M_ibegin(); in _M_replace_safe() local
645 _M_mutate(__off, __dold, __dnew); in _M_replace_safe()
649 _S_copy_chars(_M_data() + __off, __k1, __k2); in _M_replace_safe()
H A Dlocale_facets.tcc766 streamsize __off = 0; in _M_group_int() local
772 __off = 1; in _M_group_int()
777 __off = 2; in _M_group_int()
782 __p = __add_grouping(__new + __off, __sep, in _M_group_int()
785 __cs + __off, __cs + __len); in _M_group_int()
2382 streamsize __off = 0; in _M_widen_int() local
2388 __off = 1; in _M_widen_int()
2393 __off = 2; in _M_widen_int()
2398 __p = __add_grouping(__ws2 + __off, __np.thousands_sep(), in _M_widen_int()
2401 __ws + __off, __ws + __len); in _M_widen_int()
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dpostypes.h116 fpos(streamoff __off) in fpos() argument
117 : _M_off(__off), _M_state() { } in fpos()
137 operator+=(streamoff __off)
139 _M_off += __off;
148 operator-=(streamoff __off)
150 _M_off -= __off;
161 operator+(streamoff __off) const
164 __pos += __off;
175 operator-(streamoff __off) const
178 __pos -= __off;
H A Dsstream.tcc155 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
167 if ((__beg || !__off) && (__testin || __testout || __testboth)) in seekoff()
171 off_type __newoffi = __off; in seekoff()
H A Dfstream.tcc668 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode) in seekoff() argument
677 const bool __testfail = __off != 0 && __width <= 0; in seekoff()
689 off_type __computed_off = __off * __width; in seekoff()
736 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state) in _M_seek() argument
742 __ret = pos_type(_M_file.seekoff(__off, __way)); in _M_seek()
H A Dbasic_string.tcc316 const size_type __off = __s - _M_data(); in append() local
318 __s = _M_data() + __off; in append()
375 const size_type __off = __s - _M_data(); in insert() local
377 __s = _M_data() + __off; in insert()
410 size_type __off = __s - _M_data(); in replace() local
411 __left ? __off : (__off += __n2 - __n1); in replace()
413 _M_copy(_M_data() + __pos, _M_data() + __off, __n2); in replace()
H A Dostream.tcc260 seekp(off_type __off, ios_base::seekdir __dir) in seekp() argument
269 const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, in seekp()
/openbsd/gnu/llvm/libcxx/include/__ios/
H A Dfpos.h29 _LIBCPP_HIDE_FROM_ABI fpos(streamoff __off = streamoff()) : __st_(), __off_(__off) {} in __st_()
36 _LIBCPP_HIDE_FROM_ABI fpos& operator+=(streamoff __off) {
37 __off_ += __off;
41 _LIBCPP_HIDE_FROM_ABI fpos operator+(streamoff __off) const {
43 __t += __off;
47 _LIBCPP_HIDE_FROM_ABI fpos& operator-=(streamoff __off) {
48 __off_ -= __off;
52 _LIBCPP_HIDE_FROM_ABI fpos operator-(streamoff __off) const {
54 __t -= __off;
/openbsd/gnu/gcc/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc166 const std::streamsize __off = __ret - __n1_left; in xwritev() local
167 if (__off >= 0) in xwritev()
169 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
319 __basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way) in seekoff() argument
322 return lseek64(this->fd(), __off, __way); in seekoff()
324 if (__off > numeric_limits<off_t>::max() in seekoff()
325 || __off < numeric_limits<off_t>::min()) in seekoff()
327 return lseek(this->fd(), __off, __way); in seekoff()
366 const streamoff __off = __buffer.st_size - lseek64(this->fd(), 0, in showmanyc() local
368 return std::min(__off, streamoff(numeric_limits<streamsize>::max())); in showmanyc()
H A Dbasic_file_stdio.h101 seekoff(streamoff __off, ios_base::seekdir __way);
/openbsd/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_fstream.h301 seekoff(off_type __off, ios_base::seekdir __way,
321 off_type __off = _M_out_cur - _M_out_end; in sync() local
327 else if (__off) in sync()
328 _M_file.seekoff(__off, ios_base::cur); in sync()
407 _M_set_determinate(off_type __off) in _M_set_determinate() argument
412 this->setg(_M_buf, _M_buf, _M_buf + __off); in _M_set_determinate()
414 this->setp(_M_buf, _M_buf + __off); in _M_set_determinate()
415 _M_filepos = _M_buf + __off; in _M_set_determinate()
H A Dstd_streambuf.h412 pubseekoff(off_type __off, ios_base::seekdir __way,
414 { return this->seekoff(__off, __way, __mode); }
/openbsd/gnu/lib/libstdc++/libstdc++/config/io/
H A Dbasic_file_libio.cc79 __basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way, in seekoff() argument
81 { return _IO_file_seekoff(this, __off, __way, __mode); } in seekoff()
159 __basic_file<wchar_t>::seekoff(streamoff __off, ios_base::seekdir __way, in seekoff() argument
161 { return _IO_wfile_seekoff(this, __off, __way, __mode); } in seekoff()
H A Dbasic_file_libio.h81 seekoff(streamoff __off, ios_base::seekdir __way,
104 sys_seek(streamoff __off, ios_base::seekdir __way) = 0;
199 seekoff(streamoff __off, ios_base::seekdir __way,
234 sys_seek(streamoff __off, ios_base::seekdir __way);
275 __basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way,
321 __basic_file<wchar_t>::seekoff(streamoff __off, ios_base::seekdir __way,
H A Dbasic_file_stdio.cc198 __basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way, in seekoff() argument
201 if (!fseek(_M_cfile, __off, __way)) in seekoff()
H A Dbasic_file_stdio.h98 seekoff(streamoff __off, ios_base::seekdir __way,
/openbsd/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_fstream.h355 seekoff(off_type __off, ios_base::seekdir __way, in _GLIBCXX_BEGIN_NAMESPACE()
364 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state); in _GLIBCXX_BEGIN_NAMESPACE()
397 _M_set_buffer(streamsize __off) in _GLIBCXX_BEGIN_NAMESPACE()
402 if (__testin && __off > 0) in _GLIBCXX_BEGIN_NAMESPACE()
403 this->setg(_M_buf, _M_buf, _M_buf + __off); in _GLIBCXX_BEGIN_NAMESPACE()
407 if (__testout && __off == 0 && _M_buf_size > 1 ) in _GLIBCXX_BEGIN_NAMESPACE()
H A Dstd_streambuf.h258 pubseekoff(off_type __off, ios_base::seekdir __way,
260 { return this->seekoff(__off, __way, __mode); }
/openbsd/gnu/llvm/libcxx/src/
H A Dstrstream.cpp236 strstreambuf::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which) in seekoff() argument
276 newoff += __off; in seekoff()
285 __off = epptr() - newpos; in seekoff()
287 __pbump((epptr() - pbase()) - __off); in seekoff()
/openbsd/gnu/gcc/libstdc++-v3/include/ext/
H A Dstdio_sync_filebuf.h159 seekoff(std::streamoff __off, std::ios_base::seekdir __dir, in _GLIBCXX_BEGIN_NAMESPACE()
171 if (!fseeko64(_M_file, __off, __whence)) in _GLIBCXX_BEGIN_NAMESPACE()
174 if (!fseek(_M_file, __off, __whence)) in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/gnu/llvm/libcxx/include/
H A Dstreambuf160 pos_type pubseekoff(off_type __off, ios_base::seekdir __way,
162 { return seekoff(__off, __way, __which); }
278 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
H A Dfstream269 pos_type seekoff(off_type __off, ios_base::seekdir __way,
941 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way,
948 if (__file_ == nullptr || (__width <= 0 && __off != 0) || sync())
950 // __width > 0 || __off == 0
967 if (fseek(__file_, __width > 0 ? __width * __off : 0, __whence))
971 if (::fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
1041 const int __off = __cv_->length(__state, __extbuf_,
1044 __c += __extbufnext_ - __extbuf_ - __off;

12