Home
last modified time | relevance | path

Searched refs:__avail (Results 1 – 3 of 3) sorted by relevance

/external/stlport/stlport/stl/
D_sstream.c178 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in xsputn() local
179 if (__avail > __n) { in xsputn()
184 _Traits::copy(this->pptr(), __s, __avail); in xsputn()
185 __nwritten += __avail; in xsputn()
186 __n -= __avail; in xsputn()
187 __s += __avail; in xsputn()
221 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in _M_xsputnc() local
222 if (__avail > __n) { in _M_xsputnc()
228 _Traits::assign(this->pptr(), __avail, __c); in _M_xsputnc()
229 __nwritten += __avail; in _M_xsputnc()
[all …]
D_istream.c822 streamsize __avail = __buf->in_avail(); in readsome() local
825 if (__avail == -1) in readsome()
828 else if (__avail != 0) { in readsome()
832 = _STLP_PRIV __read_buffered(this, __buf, (min) (__avail, __nmax), __s, in readsome()
838 = _STLP_PRIV __read_unbuffered(this, __buf, (min) (__avail, __nmax), __s, in readsome()
1037 ptrdiff_t __avail = __buf->_M_egptr() - __buf->_M_gptr(); in _M_ignore_buffered() local
1040 if (__avail >= __m) { // We have more characters than we need. in _M_ignore_buffered()
1292 ptrdiff_t __avail = __src->_M_egptr() - __first; in __copy_buffered() local
1310 if (__n < __avail) // We found the delimiter, or else failed to in __copy_buffered()
1318 __avail = __src->_M_egptr() - __first; in __copy_buffered()
[all …]
D_ostream.c78 const ptrdiff_t __avail = __from->egptr() - __from->gptr(); in _M_copy_buffered() local
82 __nwritten = __to->sputn(__from->gptr(), __avail); in _M_copy_buffered()
90 if (__nwritten == __avail) { in _M_copy_buffered()