Home
last modified time | relevance | path

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

/freebsd-src/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-src/contrib/llvm-project/libcxx/src/
H A Dstrstream.cpp173 strstreambuf::pos_type strstreambuf::seekoff(off_type __off, ios_base::seekdir __way, ios_base::ope… in seekoff() argument
208 newoff += __off; in seekoff()
217 __off = epptr() - newpos; in seekoff()
219 __pbump((epptr() - pbase()) - __off); in seekoff()
/freebsd-src/contrib/llvm-project/libcxx/include/
H A Dstreambuf161 pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_base::out) {
162 return seekoff(__off, __way, __which);
269 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_base::out);
H A Dfstream294 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_base::out) override;
909 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode) {
914 if (__file_ == nullptr || (__width <= 0 && __off != 0) || sync())
916 // __width > 0 || __off == 0
932 if (fseek(__file_, __width > 0 ? __width * __off : 0, __whence))
936 if (::fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
996 const int __off = __cv_->length(__state, __extbuf_, __extbufnext_, this->gptr() - this->eback());
997 __c += __extbufnext_ - __extbuf_ - __off;
H A Dstrstream183 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which = ios_base::in | ios_base::out) override;
H A Distream297 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
1091 basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir) {
1099 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::in) == pos_type(-1))
H A Dsstream516 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_base::out) override;
805 off_type __off, ios_base::seekdir __way, ios_base::openmode __wch) {
830 __noff += __off;
H A Dostream
H A Dvector1718 difference_type __off = __position - begin();
1719 pointer __p = this->__begin_ + __off;
1745 return begin() + __off;
2731 difference_type __off = __position - begin();
2758 return begin() + __off;
H A Dlocale3412 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __wch = ios_base::in | ios_base::out);
3620 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __om) {
3622 if (__cv_ == 0 || !__bufptr_ || (__width <= 0 && __off != 0) || sync())
3624 // __width > 0 || __off == 0, now check __way
3627 pos_type __r = __bufptr_->pubseekoff(__width * __off, __way, __om);