Home
last modified time | relevance | path

Searched refs:_M_ok (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_ostreambuf_iterator.h57 ostreambuf_iterator(streambuf_type* __buf) _STLP_NOTHROW : _M_buf(__buf), _M_ok(__buf!=0) {} in ostreambuf_iterator()
62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
71 bool failed() const { return !_M_ok; } in failed()
75 bool _M_ok; variable
80 : _M_buf(_STLP_PRIV __get_ostreambuf(__o)), _M_ok(_M_buf != 0) {} in ostreambuf_iterator()
D_stream_iterator.h108 istream_iterator() : _M_stream(0), _M_ok(false), _M_read_done(true) {} in istream_iterator()
109 istream_iterator(istream_type& __s) : _M_stream(&__s), _M_ok(false), _M_read_done(false) {} in istream_iterator()
137 return (_M_ok == __x._M_ok) && (!_M_ok || _M_stream == __x._M_stream); in _M_equal()
143 mutable bool _M_ok; variable
147 _STLP_MUTABLE(_Self, _M_ok) = ((_M_stream != 0) && !_M_stream->fail()); in _M_read()
148 if (_M_ok) { in _M_read()
150 _STLP_MUTABLE(_Self, _M_ok) = !_M_stream->fail(); in _M_read()
D_istream.h192 const bool _M_ok;
200_M_ok((__noskipws || !(__istr.flags() & ios_base::skipws)) ? _M_init_noskip(__istr) : _M_init_skip…
207 _M_ok(_M_init_noskip(__istr)) {} in sentry()
211 operator bool() const { return _M_ok; }
215 sentry(const _Self&) : _M_ok(false) {} in sentry()
D_ostream.h178 bool _M_ok; variable
181 : _M_str(__str), /* _M_buf(__str.rdbuf()), */ _M_ok(_STLP_PRIV __init_bostr(__str)) in sentry()
192 operator bool() const { return _M_ok; }