Home
last modified time | relevance | path

Searched refs:traits_type (Results 1 – 25 of 28) sorted by relevance

12

/external/zlib/contrib/iostream3/
Dzfstream.cc189 return traits_type::to_int_type(*(this->gptr())); in underflow()
193 return traits_type::eof(); in underflow()
203 return traits_type::eof(); in underflow()
209 return traits_type::to_int_type(*(this->gptr())); in underflow()
221 return traits_type::eof(); in overflow()
223 if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow()
225 *(this->pptr()) = traits_type::to_char_type(c); in overflow()
235 return traits_type::eof(); in overflow()
238 return traits_type::eof(); in overflow()
244 else if (!traits_type::eq_int_type(c, traits_type::eof())) in overflow()
[all …]
Dzfstream.h125 overflow(int_type c = traits_type::eof());
/external/stlport/stlport/stl/
D_fstream.c85 __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()), in close()
86 traits_type::eof()); in close()
158 const int_type __eof = traits_type::eof(); in pbackfail()
167 (traits_type::eq_int_type(__c, __eof) || in pbackfail()
168 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]) || in pbackfail()
171 if (traits_type::eq_int_type(__c, __eof) || in pbackfail()
172 traits_type::eq(traits_type::to_char_type(__c), *this->gptr())) in pbackfail()
173 return traits_type::to_int_type(*this->gptr()); in pbackfail()
175 else if (!traits_type::eq_int_type(__c, __eof)) { in pbackfail()
197 *this->gptr() = traits_type::to_char_type(__c); in pbackfail()
[all …]
D_fstream.h155 typedef _Traits traits_type; typedef
203 virtual int_type pbackfail(int_type = traits_type::eof());
204 virtual int_type overflow(int_type = traits_type::eof());
329 return traits_type::to_int_type(*_M_ext_buf); in _M_do_noconv_input()
403 typedef _Traits traits_type; typedef
410 return traits_type::eof(); in _M_doit()
415 int_type __c = traits_type::to_int_type(*__this->gptr()); in _M_doit()
431 typedef char_traits<char> traits_type; typedef
432 static int_type _STLP_CALL _M_doit(basic_filebuf<char, traits_type >* __this);
449 typedef _Traits traits_type; typedef
[all …]
D_ios.h55 typedef _Traits traits_type; typedef
66 tie(basic_ostream<char_type, traits_type>* __new_tied_ostream) { in tie()
67 basic_ostream<char_type, traits_type>* __tmp = _M_tied_ostream; in tie()
76 rdbuf(basic_streambuf<char_type, traits_type>*);
D_istreambuf_iterator.h50 typedef _Traits traits_type; typedef
93 _STLP_MUTABLE(_Self, _M_c) = traits_type::to_char_type(__c); in _M_getc()
94 _STLP_MUTABLE(_Self, _M_eof) = traits_type::eq_int_type(__c, traits_type::eof()); in _M_getc()
D_ostreambuf_iterator.h45 typedef _Traits traits_type; typedef
62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
63 traits_type::eof());
D_sstream.h61 typedef _Traits traits_type; typedef
123 typedef _Traits traits_type; typedef
166 typedef _Traits traits_type; typedef
210 typedef _Traits traits_type; typedef
D_streambuf.h57 typedef _Traits traits_type; typedef
179 virtual int_type pbackfail(int_type = traits_type::eof());
194 virtual int_type overflow(int_type = traits_type::eof());
D_stream_iterator.h99 typedef _Traits traits_type; typedef
172 typedef _Traits traits_type; typedef
D_istream.h78 typedef _Traits traits_type; typedef
196 typedef _Traits traits_type; typedef
D_bitset.h637 typedef typename string::traits_type _Traits;
762 typedef typename string::traits_type _Traits;
813 typedef typename wstring::traits_type _Traits;
D_string.h132 typedef _Traits traits_type; typedef
355 return _M_assign(__s, __s + traits_type::length(__s));
530 { _STLP_FIX_LITERAL_BUG(__s) return _M_append(__s, __s + traits_type::length(__s)); } in append()
805 traits_type::move(__first, __last, (this->_M_Finish() - __last) + 1); in erase()
D_string_workaround.h42 typedef typename _Base::traits_type traits_type; typedef
D_ostream.h67 typedef _Traits traits_type; typedef
/external/stlport/src/
Dstdio_streambuf.cpp168 return traits_type::eof(); in underflow()
177 return c != EOF ? c : traits_type::eof(); in uflow()
181 if (c != traits_type::eof()) { in pbackfail()
183 return result != EOF ? result : traits_type::eof(); in pbackfail()
188 return traits_type::not_eof(c); in pbackfail()
191 return traits_type::eof(); in pbackfail()
205 if (c == traits_type::eof()) { in overflow()
212 return traits_type::not_eof(c); in overflow()
214 return traits_type::eof(); in overflow()
219 return traits_type::not_eof(c); in overflow()
[all …]
Dfstream.cpp39 typedef char_traits<char> traits_type; in _M_doit() typedef
40 typedef traits_type::int_type int_type; in _M_doit()
44 return traits_type::eof(); in _M_doit()
49 int_type __c = traits_type::to_int_type(*__this->gptr()); in _M_doit()
81 return traits_type::to_int_type(*__this->gptr()); in _M_doit()
Dstrstream.cpp117 if (c == traits_type::eof()) in overflow()
118 return traits_type::not_eof(c); in overflow()
148 *pptr() = traits_type::to_char_type(c); in overflow()
153 return traits_type::eof(); in overflow()
158 if (c == traits_type::eof()) { in pbackfail()
160 return traits_type::not_eof(c); in pbackfail()
168 *gptr() = traits_type::to_char_type(c); in pbackfail()
173 return traits_type::eof(); in pbackfail()
Dstdio_streambuf.h82 virtual int_type pbackfail(int_type c = traits_type::eof());
92 int_type overflow(int_type c = traits_type::eof());
/external/stlport/test/unit/
Dfull_streambuf.h16 typedef _Base::traits_type traits_type; typedef
33 return traits_type::eof(); in overflow()
36 _buf += traits_type::to_char_type(c); in overflow()
/external/astl/src/
Dstreambuf.cpp50 traits_type::copy(this->pptr(), str, len); in xsputn()
61 int_type c = this->overflow(traits_type::to_int_type(*str)); in xsputn()
62 if (!traits_type::eq_int_type(c, traits_type::eof())) { in xsputn()
Dstring.cpp217 Constructor(str, traits_type::length(str)); in string()
311 Append(str, traits_type::length(str)); in append()
520 Constructor(str, traits_type::length(str)); in assign()
/external/astl/include/
Dstreambuf51 typedef char_traits<char> traits_type;
52 typedef traits_type::char_type char_type;
53 typedef traits_type::int_type int_type;
73 return traits_type::to_int_type(c);
78 * would return traits_type::eof().
136 virtual int_type overflow(int_type /* c */ = traits_type::eof())
137 { return traits_type::eof(); }
Dsstream46 typedef streambuf::traits_type traits_type;
/external/astl/tests/
Dtest_streambuf.cpp45 traits_type::assign(mBuffer, sizeof(mBuffer), 'X'); in streambuf()

12