Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/stlport/stlport/stl/
Dchar_traits.h99 fpos& operator+=(streamoff __off) {
100 _M_pos += __off;
103 fpos& operator-=(streamoff __off) {
104 _M_pos -= __off;
108 fpos operator+(streamoff __off) {
110 __tmp += __off;
113 fpos operator-(streamoff __off) {
115 __tmp -= __off;
D_fstream.c291 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, in seekoff() argument
297 if (!_M_constant_width && __off != 0) in seekoff()
300 if (!_M_seek_init(__off != 0 || __whence != ios_base::cur)) in seekoff()
305 return _M_seek_return(_M_base._M_seek(_M_width * __off, __whence), in seekoff()
311 return _M_seek_return(_M_base._M_seek(_M_width * __off, __whence), in seekoff()
320 return __off == 0 ? pos_type(_M_base._M_seek(0, ios_base::cur) - __adjust) in seekoff()
321 … : _M_seek_return(_M_base._M_seek(__off - __adjust, ios_base::cur), _State_type()); in seekoff()
335 return __off == 0 ? pos_type(_M_base._M_seek(0, ios_base::cur) - __eadj) in seekoff()
336 … : _M_seek_return(_M_base._M_seek(__off - __eadj, ios_base::cur), _State_type()); in seekoff()
374 return __off == 0 ? pos_type(__cur + __adj) in seekoff()
[all …]
D_sstream.c300 ::seekoff(off_type __off, in seekoff() argument
324 if ( __off == 0 ) { in seekoff()
332 __off += __newoff; in seekoff()
337 if (__off < 0 || __off > __n) in seekoff()
339 this->setg(this->eback(), this->eback() + __STATIC_CAST(ptrdiff_t, __off), in seekoff()
346 if (__off < 0 || __off > __n) in seekoff()
349 this->pbump((int)__off); in seekoff()
352 return pos_type(__off); in seekoff()
D_strstream.h78 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir,
D_ostream.h156 _Self& seekp(off_type __off, ios_base::seekdir __dir) { in seekp() argument
158 this->rdbuf()->pubseekoff(__off, __dir, ios_base::out); in seekp()
D_fstream.h238 pos_type _M_seek_return(off_type __off, _State_type __state) { in _M_seek_return() argument
239 if (__off != -1) { in _M_seek_return()
250 pos_type __result(__off); in _M_seek_return()
D_sstream.h90 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir,
D_istream.c518 basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir) { in seekg() argument
523 __buf->pubseekoff(__off, __dir, ios_base::in); in seekg()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstrstream.cpp229 strstreambuf::seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __which) in seekoff() argument
267 newoff += __off; in seekoff()
276 __off = epptr() - newpos; in seekoff()
278 pbump(static_cast<int>((epptr() - pbase()) - __off)); in seekoff()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstreambuf140 pos_type pubseekoff(off_type __off, ios_base::seekdir __way,
188 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
252 basic_streambuf<_CharT, _Traits>::pubseekoff(off_type __off,
256 return seekoff(__off, __way, __which);
Dfstream219 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
784 basic_filebuf<_CharT, _Traits>::seekoff(off_type __off, ios_base::seekdir __way,
792 if (__file_ == 0 || (__width <= 0 && __off != 0) || sync())
794 // __width > 0 || __off == 0
811 if (fseek(__file_, __width > 0 ? __width * __off : 0, __whence))
815 if (fseeko(__file_, __width > 0 ? __width * __off : 0, __whence))
886 const int __off = __cv_->length(__state, __extbuf_,
889 __c += __extbufnext_ - __extbuf_ - __off;
Dostream206 basic_ostream& seekp(off_type __off, ios_base::seekdir __dir);
1006 basic_ostream<_CharT, _Traits>::seekp(off_type __off, ios_base::seekdir __dir)
1011 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::out) == pos_type(-1))
Dsstream232 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
555 basic_stringbuf<_CharT, _Traits, _Allocator>::seekoff(off_type __off,
584 __noff += __off;
Dstrstream173 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
Distream243 basic_istream& seekg(off_type __off, ios_base::seekdir __dir);
1388 basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir)
1397 if (this->rdbuf()->pubseekoff(__off, __dir, ios_base::in) == pos_type(-1))
Dstring471 _LIBCPP_INLINE_VISIBILITY fpos(streamoff __off = streamoff()) : __st_(), __off_(__off) {}
478 _LIBCPP_INLINE_VISIBILITY fpos& operator+=(streamoff __off) {__off_ += __off; return *this;}
479 …_LIBCPP_INLINE_VISIBILITY fpos operator+ (streamoff __off) const {fpos __t(*this); __t += __off; …
480 _LIBCPP_INLINE_VISIBILITY fpos& operator-=(streamoff __off) {__off_ -= __off; return *this;}
481 …_LIBCPP_INLINE_VISIBILITY fpos operator- (streamoff __off) const {fpos __t(*this); __t -= __off; …
Dvector1887 difference_type __off = __position - begin();
1888 pointer __p = this->__begin_ + __off;
1922 return begin() + __off;
3045 difference_type __off = __position - begin();
3077 return begin() + __off;
Dlocale4058 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
4303 wbuffer_convert<_Codecvt, _Elem, _Tr>::seekoff(off_type __off, ios_base::seekdir __way,
4307 if (__cv_ == 0 || __bufptr_ == 0 || (__width <= 0 && __off != 0) || sync())
4309 // __width > 0 || __off == 0
4321 pos_type __r = __bufptr_->pubseekoff(__width * __off, __way, __om);