/external/stlport/test/unit/ |
H A D | full_streambuf.h | 16 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 D | pbackfail.pass.cpp | 29 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 D | stdio_streambuf.cpp | 168 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 D | fstream.cpp | 39 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 D | types.pass.cpp | 20 // 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 D | zfstream.cc | 189 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 D | scoped_generic.h | 73 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 D | scoped_mach_port.h | 43 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 D | types.pass.cpp | 19 // 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 D | types.pass.cpp | 19 // 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 D | pbackfail.pass.cpp | 26 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.c | 85 __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.h | 45 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 D | sputbackc.pass.cpp | 35 int_type pbackfail(int_type c = traits_type::eof()) argument
|
H A D | sungetc.pass.cpp | 35 int_type pbackfail(int_type c = traits_type::eof()) argument
|
/external/libcxx/test/strings/basic.string/string.nonmembers/string.io/ |
H A D | stream_insert.pass.cpp | 58 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 D | streambuf.pass.cpp | 44 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 D | basic_ios.pass.cpp | 38 overflow(typename base::int_type __c = base::traits_type::eof()) 40 if (__c != base::traits_type::eof())
|
H A D | ios_base.pass.cpp | 37 overflow(typename base::int_type __c = base::traits_type::eof()) 39 if (__c != base::traits_type::eof())
|
H A D | ostream.pass.cpp | 38 overflow(typename base::int_type __c = base::traits_type::eof()) 40 if (__c != base::traits_type::eof())
|
H A D | streambuf.pass.cpp | 44 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 D | double.pass.cpp | 37 overflow(typename base::int_type __c = base::traits_type::eof()) 39 if (__c != base::traits_type::eof())
|
H A D | float.pass.cpp | 37 overflow(typename base::int_type __c = base::traits_type::eof()) 39 if (__c != base::traits_type::eof())
|
H A D | int.pass.cpp | 37 overflow(typename base::int_type __c = base::traits_type::eof()) 39 if (__c != base::traits_type::eof())
|
H A D | long.pass.cpp | 37 overflow(typename base::int_type __c = base::traits_type::eof()) 39 if (__c != base::traits_type::eof())
|