/external/libcxx/include/ |
D | __std_stream | 38 typedef char_traits<char_type> traits_type; 39 typedef typename traits_type::int_type int_type; 40 typedef typename traits_type::pos_type pos_type; 41 typedef typename traits_type::off_type off_type; 42 typedef typename traits_type::state_type state_type; 49 virtual int_type pbackfail(int_type __c = traits_type::eof()); 72 __last_consumed_(traits_type::eof()), 112 __last_consumed_ = traits_type::eof(); 123 return traits_type::eof(); 146 return traits_type::eof(); [all …]
|
D | sstream | 23 typedef traits traits_type; 24 typedef typename traits_type::int_type int_type; 25 typedef typename traits_type::pos_type pos_type; 26 typedef typename traits_type::off_type off_type; 31 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& str, 40 basic_string<char_type, traits_type, allocator_type> str() const; 41 void str(const basic_string<char_type, traits_type, allocator_type>& s); 46 virtual int_type pbackfail(int_type c = traits_type::eof()); 47 virtual int_type overflow (int_type c = traits_type::eof()); 48 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type*, streamsize); [all …]
|
D | fstream | 23 typedef traits traits_type; 24 typedef typename traits_type::int_type int_type; 25 typedef typename traits_type::pos_type pos_type; 26 typedef typename traits_type::off_type off_type; 48 virtual int_type pbackfail(int_type c = traits_type::eof()); 49 virtual int_type overflow (int_type c = traits_type::eof()); 50 virtual basic_streambuf<char_type, traits_type>* setbuf(char_type* s, streamsize n); 72 typedef traits traits_type; 73 typedef typename traits_type::int_type int_type; 74 typedef typename traits_type::pos_type pos_type; [all …]
|
D | istream | 24 typedef traits traits_type; 25 typedef typename traits_type::int_type int_type; 26 typedef typename traits_type::pos_type pos_type; 27 typedef typename traits_type::off_type off_type; 30 explicit basic_istream(basic_streambuf<char_type, traits_type>* sb); 43 basic_istream& operator>>(basic_ios<char_type, traits_type>& 44 (*pf)(basic_ios<char_type, traits_type>&)); 46 basic_istream& operator>>(basic_streambuf<char_type, traits_type>* sb); 67 basic_istream& get(basic_streambuf<char_type,traits_type>& sb); 68 basic_istream& get(basic_streambuf<char_type,traits_type>& sb, char_type delim); [all …]
|
D | streambuf | 26 typedef traits traits_type; 27 typedef typename traits_type::int_type int_type; 28 typedef typename traits_type::pos_type pos_type; 29 typedef typename traits_type::off_type off_type; 100 virtual int_type pbackfail(int_type c = traits_type::eof()); 104 virtual int_type overflow (int_type c = traits_type::eof()); 127 typedef _Traits traits_type; 128 typedef typename traits_type::int_type int_type; 129 typedef typename traits_type::pos_type pos_type; 130 typedef typename traits_type::off_type off_type; [all …]
|
D | ios | 120 typedef traits traits_type; 577 typedef _Traits traits_type; 579 typedef typename traits_type::int_type int_type; 580 typedef typename traits_type::pos_type pos_type; 581 typedef typename traits_type::off_type off_type; 600 explicit basic_ios(basic_streambuf<char_type,traits_type>* __sb); 605 basic_ostream<char_type, traits_type>* tie() const; 607 basic_ostream<char_type, traits_type>* tie(basic_ostream<char_type, traits_type>* __tiestr); 610 basic_streambuf<char_type, traits_type>* rdbuf() const; 612 basic_streambuf<char_type, traits_type>* rdbuf(basic_streambuf<char_type, traits_type>* __sb); [all …]
|
D | ostream | 24 typedef traits traits_type; 25 typedef typename traits_type::int_type int_type; 26 typedef typename traits_type::pos_type pos_type; 27 typedef typename traits_type::off_type off_type; 150 typedef _Traits traits_type; 151 typedef typename traits_type::int_type int_type; 152 typedef typename traits_type::pos_type pos_type; 153 typedef typename traits_type::off_type off_type; 156 explicit basic_ostream(basic_streambuf<char_type, traits_type>* __sb); 180 basic_ostream& operator<<(basic_ios<char_type, traits_type>& [all …]
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 189 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 …]
|
/external/stlport/stlport/stl/ |
D | _fstream.c | 85 __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 | _ios.h | 55 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 | _fstream.h | 155 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 | _ostreambuf_iterator.h | 45 typedef _Traits traits_type; typedef 62 _M_ok = _M_ok && !traits_type::eq_int_type(_M_buf->sputc(__c), 63 traits_type::eof());
|
D | _istreambuf_iterator.h | 50 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()
|
/external/chromium_org/base/ |
D | scoped_generic.h | 73 typedef Traits traits_type; typedef 75 ScopedGeneric() : data_(traits_type::InvalidValue()) {} in ScopedGeneric() 82 ScopedGeneric(const element_type& value, const traits_type& traits) in ScopedGeneric() 98 void reset(const element_type& value = traits_type::InvalidValue()) { 99 if (data_.generic != traits_type::InvalidValue() && data_.generic == value) 119 data_.generic = traits_type::InvalidValue(); in release() 127 bool is_valid() const { return data_.generic != traits_type::InvalidValue(); } in is_valid() 141 if (data_.generic != traits_type::InvalidValue()) { in FreeIfNecessary() 143 data_.generic = traits_type::InvalidValue(); in FreeIfNecessary()
|
/external/stlport/src/ |
D | stdio_streambuf.cpp | 168 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 …]
|
D | fstream.cpp | 39 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()
|
D | strstream.cpp | 117 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()
|
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
D | pbackfail.pass.cpp | 29 typedef base::traits_type traits_type; typedef 38 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail() 48 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main() 55 assert(f.pbackfail(L'a') == test_buf::traits_type::eof()); in main()
|
D | underflow.pass.cpp | 29 typedef base::traits_type traits_type; typedef 82 assert(f.sbumpc() == test_buf::traits_type::eof()); in main()
|
D | overflow.pass.cpp | 29 typedef base::traits_type traits_type; typedef 38 virtual int_type overflow(int_type c = traits_type::eof()) {return base::overflow(c);} in overflow()
|
/external/stlport/test/unit/ |
D | full_streambuf.h | 16 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/libcxx/test/iterators/stream.iterators/istreambuf.iterator/ |
D | types.pass.cpp | 37 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); in main() 38 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); in main() 47 static_assert((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), ""); in main() 48 static_assert((std::is_same<I2::int_type, I2::traits_type::int_type>::value), ""); in main()
|
/external/libcxx/test/strings/basic.string/string.nonmembers/string.io/ |
D | stream_insert.pass.cpp | 58 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 66 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 75 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main() 83 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; in main()
|
/external/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/ |
D | pbackfail.pass.cpp | 26 typedef typename base::traits_type traits_type; typedef 33 virtual int_type pbackfail(int_type c = traits_type::eof()) {return base::pbackfail(c);} in pbackfail()
|
/external/libcxx/test/strings/basic.string/string.cons/ |
D | size_char_alloc.pass.cpp | 27 typedef typename S::traits_type T; in test() 43 typedef typename S::traits_type T; in test() 59 typedef typename S::traits_type T; in test() 76 typedef typename S::traits_type T; in test()
|