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

12345

/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/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Dpbackfail.pass.cpp29 typedef base::traits_type traits_type; typedef in struct:test_buf
38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} argument
48 assert(f.pbackfail(L'a') == test_buf::traits_type::eof());
55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof());
/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());
/external/libcxx/test/iterators/stream.iterators/istreambuf.iterator/
H A Dtypes.pass.cpp20 // typedef traits traits_type;
37 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
38 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), "");
47 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
48 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), "");
/external/zlib/src/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...]
/external/chromium_org/base/
H A Dscoped_generic.h73 typedef Traits traits_type; typedef in class:base::ScopedGeneric
75 ScopedGeneric() : data_(traits_type::InvalidValue()) {}
82 ScopedGeneric(const element_type& value, const traits_type& traits)
98 void reset(const element_type& value = traits_type::InvalidValue()) { argument
99 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
119 data_.generic = traits_type::InvalidValue();
127 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); }
141 if (data_.generic != traits_type::InvalidValue()) {
143 data_.generic = traits_type::InvalidValue();
/external/chromium_org/base/mac/
H A Dscoped_mach_port.h43 explicit ScopedMachSendRight(mach_port_t port = traits_type::InvalidValue()) argument
57 mach_port_t port = traits_type::InvalidValue()) : ScopedGeneric(port) {}
56 ScopedMachReceiveRight( mach_port_t port = traits_type::InvalidValue()) argument
/external/libcxx/test/iterators/stream.iterators/istream.iterator/
H A Dtypes.pass.cpp19 // typedef traits traits_type;
33 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
40 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
/external/libcxx/test/iterators/stream.iterators/ostream.iterator/
H A Dtypes.pass.cpp19 // typedef traits traits_type;
32 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
38 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
/external/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
H A Dpbackfail.pass.cpp26 typedef typename base::traits_type traits_type; typedef in struct:test_buf
33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} argument
/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());
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.pback/
H A Dsputbackc.pass.cpp35 int_type pbackfail(int_type c = traits_type::eof()) argument
H A Dsungetc.pass.cpp35 int_type pbackfail(int_type c = traits_type::eof()) argument
/external/libcxx/test/strings/basic.string/string.nonmembers/string.io/
H A Dstream_insert.pass.cpp58 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out;
66 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out;
75 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out;
83 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out;
/external/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
H A Dstreambuf.pass.cpp44 overflow(typename base::int_type __c = base::traits_type::eof())
46 if (__c != base::traits_type::eof())
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
H A Dbasic_ios.pass.cpp38 overflow(typename base::int_type __c = base::traits_type::eof())
40 if (__c != base::traits_type::eof())
H A Dios_base.pass.cpp37 overflow(typename base::int_type __c = base::traits_type::eof())
39 if (__c != base::traits_type::eof())
H A Dostream.pass.cpp38 overflow(typename base::int_type __c = base::traits_type::eof())
40 if (__c != base::traits_type::eof())
H A Dstreambuf.pass.cpp44 overflow(typename base::int_type __c = base::traits_type::eof())
46 if (__c != base::traits_type::eof())
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Ddouble.pass.cpp37 overflow(typename base::int_type __c = base::traits_type::eof())
39 if (__c != base::traits_type::eof())
H A Dfloat.pass.cpp37 overflow(typename base::int_type __c = base::traits_type::eof())
39 if (__c != base::traits_type::eof())
H A Dint.pass.cpp37 overflow(typename base::int_type __c = base::traits_type::eof())
39 if (__c != base::traits_type::eof())
H A Dlong.pass.cpp37 overflow(typename base::int_type __c = base::traits_type::eof())
39 if (__c != base::traits_type::eof())

Completed in 6924 milliseconds

12345