Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__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;
/freebsd/contrib/llvm-project/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;
/freebsd/contrib/llvm-project/libcxx/src/
H A Dstrstream.cpp173 strstreambuf::pos_type strstreambuf::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which) { in overflow()
208 newoff += __off; in pbackfail()
217 __off = epptr() - newpos; in pbackfail()
219 __pbump((epptr() - pbase()) - __off); in pbackfail()
236 seekoff(off_type __off,ios_base::seekdir __way,ios_base::openmode __which) seekoff() argument
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dwbuffer_convert.h88 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
296 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::o… in seekoff() argument
298 if (__cv_ == 0 || !__bufptr_ || (__width <= 0 && __off != 0) || sync()) in seekoff()
303 pos_type __r = __bufptr_->pubseekoff(__width * __off, __way, __om); in seekoff()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dstreambuf161 …pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | io…
162 return seekoff(__off, __way, __which);
269 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
H A Dfstream262 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
853 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode…
858 if (__file_ == nullptr || (__width <= 0 && __off != 0) || sync())
860 // __width > 0 || __off == 0
876 if (fseek(__file_, __width > 0 ? __width * __off : 0, __whence))
880 if (::fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
940 … const int __off = __cv_->length(__state, __extbuf_, __extbufnext_, this->gptr() - this->eback());
941 __c += __extbufnext_ - __extbuf_ - __off;
H A Dstrstream171 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
H A Dsstream390 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
654 off_type __off, ios_base::seekdir __way, ios_base::openmode __wch) {
679 __noff += __off;
H A Distream297 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
1064 basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::see…
1072 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::in) == pos_type(-1))
H A Dvector1453 difference_type __off = __position - begin();
1454 pointer __p = this->__begin_ + __off;
1480 return begin() + __off;
2233 difference_type __off = __position - begin();
2260 return begin() + __off;
H A Dlocale3381 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
3589 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::o…
3591 if (__cv_ == 0 || !__bufptr_ || (__width <= 0 && __off != 0) || sync())
3593 // __width > 0 || __off == 0, now check __way
3596 pos_type __r = __bufptr_->pubseekoff(__width * __off, __way, __om);
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dbasic_ostream.h179 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& seekp(off_type __off, ios_base::seekdir __dir…
532 basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>::seekp(off_type __off, ios_base::see… in seekp() argument
535 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1)) in seekp()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstreambuf167 …pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | io…
168 return seekoff(__off, __way, __which);
H A Dfstream297 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
947 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode…
952 if (__file_ == nullptr || (__width <= 0 && __off != 0) || sync())
954 // __width > 0 || __off == 0
969 if (__fseek(__file_, __width > 0 ? __width * __off : 0, __whence))
1045 … const int __off = __cv_->length(__state, __extbuf_, __extbufnext_, this->gptr() - this->eback());
1046 __c += __extbufnext_ - __extbuf_ - __off;
H A Dstrstream190 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_b…
H A Distream305 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
1099 basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::see…
1107 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::in) == pos_type(-1))
H A Dsstream532 …seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_bas…
821 off_type __off, ios_base::seekdir __way, ios_base::openmode __wch) {
846 __noff += __off;
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__ostream/
H A Dbasic_ostream.h112 …inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& seekp(off_type __off, ios_base::seekdir __dir…
701 basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>::seekp(off_type __off, ios_base::see… in seekp() argument
704 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1)) in seekp()
/freebsd/contrib/llvm-project/libcxx/include/__vector/
H A Dvector.h1290 difference_type __off = __position - begin(); in __insert_with_sentinel() local
1291 pointer __p = this->__begin_ + __off; in __insert_with_sentinel()
1304 …__recommend(size() + __v.size()), __off, __alloc_); // has `__off` positions available at the front in __insert_with_sentinel()
H A Dvector_bool.h950 difference_type __off = __position - begin();
977 return begin() + __off;