Home
last modified time | relevance | path

Searched refs:eback (Results 1 – 13 of 13) sorted by relevance

/trueos/contrib/libc++/src/
Dstrstream.cpp105 if (eback() && (__strmode_ & __allocated) != 0 && (__strmode_ & __frozen) == 0) in ~strstreambuf()
108 __pfree_(eback()); in ~strstreambuf()
110 delete [] eback(); in ~strstreambuf()
141 return eback(); in str()
159 size_t old_size = static_cast<size_t> ((epptr() ? epptr() : egptr()) - eback()); in overflow()
170 memcpy(buf, eback(), static_cast<size_t>(old_size)); in overflow()
171 ptrdiff_t ninp = gptr() - eback(); in overflow()
172 ptrdiff_t einp = egptr() - eback(); in overflow()
178 __pfree_(eback()); in overflow()
180 delete [] eback(); in overflow()
[all …]
/trueos/contrib/libstdc++/include/bits/
Dfstream.tcc215 __ilen = _M_file.xsgetn(reinterpret_cast<char*>(this->eback()), in underflow()
239 if (_M_reading && this->egptr() == this->eback() && __remainder) in underflow()
284 _M_ext_end, _M_ext_next, this->eback(), in underflow()
285 this->eback() + __buflen, __iend); in underflow()
290 traits_type::copy(this->eback(), in underflow()
295 __ilen = __iend - this->eback(); in underflow()
351 if (this->eback() < this->gptr()) in pbackfail()
517 if (__n > 0 && this->gptr() == this->eback()) in xsgetn()
703 this->gptr() - this->eback()); in seekoff()
869 this->gptr() - this->eback()); in imbue()
Dsstream.tcc55 if (this->eback() < this->gptr()) in _GLIBCXX_BEGIN_NAMESPACE()
126 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow()
166 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekoff()
208 const char_type* __beg = __testin ? this->eback() : this->pbase(); in seekpos()
/trueos/contrib/libstdc++/src/
Dstrstream.cc120 _M_free(eback()); in ~strstreambuf()
134 return eback(); in str()
163 old_get_offset = gptr() - eback(); in overflow()
190 if (gptr() != eback()) in pbackfail()
216 setg(eback(), gptr(), pptr()); in underflow()
249 char* seeklow = eback(); in seekoff()
/trueos/contrib/libc++/include/
Dfstream313 else if (__rhs.eback())
315 if (__rhs.eback() == __rhs.__intbuf_)
316 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
317 __intbuf_ + (__rhs.egptr() - __rhs.eback()));
320 (char_type*)__extbuf_ + (__rhs.gptr() - __rhs.eback()),
321 (char_type*)__extbuf_ + (__rhs.egptr() - __rhs.eback()));
416 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
418 ptrdiff_t __n = this->gptr() - this->eback();
419 ptrdiff_t __e = this->egptr() - this->eback();
432 if (__rhs.eback() == (char_type*)__extbuf_min_)
[all …]
Dsstream267 if (__rhs.eback() != nullptr)
269 __binp = __rhs.eback() - __p;
308 if (__rhs.eback() != nullptr)
310 __binp = __rhs.eback() - __p;
358 if (__rhs.eback() != nullptr)
360 __rbinp = __rhs.eback() - __p;
378 if (this->eback() != nullptr)
380 __lbinp = this->eback() - __p;
447 return string_type(this->eback(), this->egptr(), __str_.get_allocator());
485 this->setg(this->eback(), this->gptr(), __hm_);
[all …]
Dstrstream212 if (eback() && (__strmode_ & __allocated) != 0 && (__strmode_ & __frozen) == 0)
215 __pfree_(eback());
217 delete [] eback();
Dstreambuf68 char_type* eback() const;
169 _LIBCPP_ALWAYS_INLINE char_type* eback() const {return __binp_;}
Dlocale4119 const size_t __unget_sz = __initial ? 0 : min<size_t>((this->egptr() - this->eback()) / 2, 4);
4123 memmove(this->eback(), this->egptr() - __unget_sz, __unget_sz * sizeof(char_type));
4126 … streamsize __nmemb = static_cast<streamsize>(this->egptr() - this->eback() - __unget_sz);
4127 __nmemb = __bufptr_->sgetn((char*)this->eback() + __unget_sz, __nmemb);
4130 this->setg(this->eback(),
4131 this->eback() + __unget_sz,
4132 this->eback() + __unget_sz + __nmemb);
4141 …streamsize __nmemb = _VSTD::min(static_cast<streamsize>(this->egptr() - this->eback() - __unget_sz…
4151 this->eback() + __unget_sz,
4158 else if (__inext != this->eback() + __unget_sz)
[all …]
/trueos/contrib/libstdc++/include/std/
Dstd_streambuf.h371 const bool __testpos = this->eback() < this->gptr(); in sputbackc()
396 if (__builtin_expect(this->eback() < this->gptr(), true)) in sungetc()
478 eback() const { return _M_in_beg; } in eback() function
Dstd_fstream.h220 _M_pback_cur_save += this->gptr() != this->eback(); in _GLIBCXX_BEGIN_NAMESPACE()
Dstd_sstream.h245 this->setg(this->eback(), this->gptr(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE()
/trueos/contrib/libstdc++/
DChangeLog-20031063 (__ilen = __iend - this->eback()) > 0: it just means __ilen
5816 Consistently use _M_in_beg instead of eback(), _M_in_cur