Searched refs:traits_type (Results 1 - 25 of 29) sorted by relevance

12

/external/stlport/test/unit/
H A Dfull_streambuf.h16 typedef _Base::traits_type traits_type; typedef in class:full_streambuf
33 return traits_type::eof();
36 _buf += traits_type::to_char_type(c);
/external/astl/include/
H A 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(); }
H A Dsstream46 typedef streambuf::traits_type traits_type;
H A Dstring61 typedef char_traits<char> traits_type;
62 typedef traits_type::char_type value_type;
/external/astl/src/
H A Dstreambuf.cpp50 traits_type::copy(this->pptr(), str, len);
61 int_type c = this->overflow(traits_type::to_int_type(*str));
62 if (!traits_type::eq_int_type(c, traits_type::eof())) {
H A Dstring.cpp217 Constructor(str, traits_type::length(str));
311 Append(str, traits_type::length(str));
520 Constructor(str, traits_type::length(str));
/external/stlport/src/
H A Dstdio_streambuf.cpp168 return traits_type::eof();
177 return c != EOF ? c : traits_type::eof();
181 if (c != traits_type::eof()) {
183 return result != EOF ? result : traits_type::eof();
188 return traits_type::not_eof(c);
191 return traits_type::eof();
205 if (c == traits_type::eof()) {
212 return traits_type::not_eof(c);
214 return traits_type::eof();
219 return traits_type
[all...]
H A Dfstream.cpp39 typedef char_traits<char> traits_type; typedef
40 typedef traits_type::int_type int_type;
44 return traits_type::eof();
49 int_type __c = traits_type::to_int_type(*__this->gptr());
81 return traits_type::to_int_type(*__this->gptr());
H A Dstdio_streambuf.h82 virtual int_type pbackfail(int_type c = traits_type::eof());
92 int_type overflow(int_type c = traits_type::eof());
H A Dstrstream.cpp117 if (c == traits_type::eof())
118 return traits_type::not_eof(c);
148 *pptr() = traits_type::to_char_type(c);
153 return traits_type::eof();
158 if (c == traits_type::eof()) {
160 return traits_type::not_eof(c);
168 *gptr() = traits_type::to_char_type(c);
173 return traits_type::eof();
/external/zlib/contrib/iostream3/
H A Dzfstream.cc189 return traits_type::to_int_type(*(this->gptr()));
193 return traits_type::eof();
203 return traits_type::eof();
209 return traits_type::to_int_type(*(this->gptr()));
221 return traits_type::eof();
223 if (!traits_type::eq_int_type(c, traits_type::eof()))
225 *(this->pptr()) = traits_type::to_char_type(c);
235 return traits_type::eof();
238 return traits_type
[all...]
H A Dzfstream.h125 overflow(int_type c = traits_type::eof());
152 // virtual int_type pbackfail(int_type c = traits_type::eof());
/external/clang/test/SemaTemplate/
H A Dalias-templates.cpp44 typedef traits<thing<inner>> traits_type; typedef in struct:X::thing
48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {}
51 traits_type &traits;
66 itt::thing::traits_type itr;
/external/stlport/stlport/stl/
H A D_fstream.c85 __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()),
86 traits_type::eof());
158 const int_type __eof = traits_type::eof();
167 (traits_type::eq_int_type(__c, __eof) ||
168 traits_type::eq(traits_type::to_char_type(__c), this->gptr()[-1]) ||
171 if (traits_type::eq_int_type(__c, __eof) ||
172 traits_type::eq(traits_type::to_char_type(__c), *this->gptr()))
173 return traits_type
[all...]
H A D_ostreambuf_iterator.h45 typedef _Traits traits_type; typedef in class:ostreambuf_iterator
62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c),
63 traits_type::eof());
H A D_ios.h55 typedef _Traits traits_type; typedef in class:basic_ios
66 tie(basic_ostream<char_type, traits_type>* __new_tied_ostream) {
67 basic_ostream<char_type, traits_type>* __tmp = _M_tied_ostream;
76 rdbuf(basic_streambuf<char_type, traits_type>*);
H A D_istreambuf_iterator.h50 typedef _Traits traits_type; typedef in class:istreambuf_iterator
93 _STLP_MUTABLE(_Self, _M_c) = traits_type::to_char_type(__c);
94 _STLP_MUTABLE(_Self, _M_eof) = traits_type::eq_int_type(__c, traits_type::eof());
H A D_fstream.h155 typedef _Traits traits_type; typedef in class:basic_filebuf
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);
403 typedef _Traits traits_type; typedef in class:_Underflow
410 return traits_type::eof();
415 int_type __c = traits_type::to_int_type(*__this->gptr());
431 typedef char_traits<char> traits_type; typedef in class:_Underflow
432 static int_type _STLP_CALL _M_doit(basic_filebuf<char, traits_type >* __this);
449 typedef _Traits traits_type; typedef in class:basic_ifstream
530 typedef _Traits traits_type; typedef in class:basic_ofstream
609 typedef _Traits traits_type; typedef in class:basic_fstream
[all...]
H A D_sstream.h61 typedef _Traits traits_type; typedef in class:basic_stringbuf
123 typedef _Traits traits_type; typedef in class:basic_istringstream
166 typedef _Traits traits_type; typedef in class:basic_ostringstream
210 typedef _Traits traits_type; typedef in class:basic_stringstream
H A D_streambuf.h57 typedef _Traits traits_type; typedef in class:basic_streambuf
179 virtual int_type pbackfail(int_type = traits_type::eof());
194 virtual int_type overflow(int_type = traits_type::eof());
H A D_stream_iterator.h99 typedef _Traits traits_type; typedef in class:istream_iterator
172 typedef _Traits traits_type; typedef in class:ostream_iterator
H A D_istream.h78 typedef _Traits traits_type; typedef in class:basic_istream
196 typedef _Traits traits_type; typedef in class:_Isentry::sentry
H A D_bitset.h637 typedef typename string::traits_type _Traits;
762 typedef typename string::traits_type _Traits;
813 typedef typename wstring::traits_type _Traits;
H A D_ostream.h67 typedef _Traits traits_type; typedef in class:basic_ostream
/external/astl/tests/
H A Dtest_streambuf.cpp45 traits_type::assign(mBuffer, sizeof(mBuffer), 'X');

Completed in 245 milliseconds

12