/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
D | streambuf.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_streambuf<CharT> base; 25 std::basic_string<CharT> str_; 30 testbuf(const std::basic_string<CharT>& str) in testbuf() 33 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 38 std::basic_string<CharT> str() const in str() 39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() [all …]
|
D | ostream.pass.cpp | 21 template <class CharT> 23 : public std::basic_streambuf<CharT> 25 typedef std::basic_streambuf<CharT> base; 26 std::basic_string<CharT> str_; 32 std::basic_string<CharT> str() const in str() 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() 45 base::setp(const_cast<CharT*>(str_.data()), in overflow() 46 const_cast<CharT*>(str_.data() + str_.size())); in overflow() 53 template <class CharT> 54 std::basic_ostream<CharT>& [all …]
|
D | basic_ios.pass.cpp | 21 template <class CharT> 23 : public std::basic_streambuf<CharT> 25 typedef std::basic_streambuf<CharT> base; 26 std::basic_string<CharT> str_; 32 std::basic_string<CharT> str() const in str() 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() 45 base::setp(const_cast<CharT*>(str_.data()), in overflow() 46 const_cast<CharT*>(str_.data() + str_.size())); in overflow() 53 template <class CharT> 54 std::basic_ios<CharT>& [all …]
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
D | streambuf.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_streambuf<CharT> base; 25 std::basic_string<CharT> str_; 30 testbuf(const std::basic_string<CharT>& str) in testbuf() 33 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 38 std::basic_string<CharT> str() const in str() 39 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() [all …]
|
D | signed_char.pass.cpp | 18 template <class CharT> 20 : public std::basic_streambuf<CharT> 22 typedef std::basic_string<CharT> string_type; 23 typedef std::basic_streambuf<CharT> base; 32 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 37 CharT* eback() const {return base::eback();} in eback() 38 CharT* gptr() const {return base::gptr();} in gptr() 39 CharT* egptr() const {return base::egptr();} in egptr()
|
D | unsigned_char.pass.cpp | 18 template <class CharT> 20 : public std::basic_streambuf<CharT> 22 typedef std::basic_string<CharT> string_type; 23 typedef std::basic_streambuf<CharT> base; 32 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 37 CharT* eback() const {return base::eback();} in eback() 38 CharT* gptr() const {return base::gptr();} in gptr() 39 CharT* egptr() const {return base::egptr();} in egptr()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/ |
D | rvalue.pass.cpp | 21 template <class CharT> 23 : public std::basic_streambuf<CharT> 25 typedef std::basic_string<CharT> string_type; 26 typedef std::basic_streambuf<CharT> base; 35 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()), in testbuf() 37 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 40 CharT* eback() const {return base::eback();} in eback() 41 CharT* gptr() const {return base::gptr();} in gptr() 42 CharT* egptr() const {return base::egptr();} in egptr()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
D | sync.pass.cpp | 19 template <class CharT> 21 : public std::basic_streambuf<CharT> 23 typedef std::basic_string<CharT> string_type; 24 typedef std::basic_streambuf<CharT> base; 33 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 34 const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 38 CharT* eback() const {return base::eback();} in eback() 39 CharT* gptr() const {return base::gptr();} in gptr() 40 CharT* egptr() const {return base::egptr();} in egptr()
|
D | tellg.pass.cpp | 17 template <class CharT> 19 : public std::basic_streambuf<CharT> 21 typedef std::basic_string<CharT> string_type; 22 typedef std::basic_streambuf<CharT> base; 31 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 36 CharT* eback() const {return base::eback();} in eback() 37 CharT* gptr() const {return base::gptr();} in gptr() 38 CharT* egptr() const {return base::egptr();} in egptr()
|
D | get_streambuf.pass.cpp | 17 template <class CharT> 19 : public std::basic_streambuf<CharT> 21 typedef std::basic_streambuf<CharT> base; 22 std::basic_string<CharT> str_; 27 testbuf(const std::basic_string<CharT>& str) in testbuf() 30 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 31 const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 35 std::basic_string<CharT> str() const in str() 36 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() [all …]
|
D | get_streambuf_chart.pass.cpp | 18 template <class CharT> 20 : public std::basic_streambuf<CharT> 22 typedef std::basic_streambuf<CharT> base; 23 std::basic_string<CharT> str_; 28 testbuf(const std::basic_string<CharT>& str) in testbuf() 31 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data() + str_.size())); in testbuf() 36 std::basic_string<CharT> str() const in str() 37 {return std::basic_string<CharT>(base::pbase(), base::pptr());} in str() [all …]
|
D | seekg.pass.cpp | 17 template <class CharT> 19 : public std::basic_streambuf<CharT> 21 typedef std::basic_string<CharT> string_type; 22 typedef std::basic_streambuf<CharT> base; 31 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 36 CharT* eback() const {return base::eback();} in eback() 37 CharT* gptr() const {return base::gptr();} in gptr() 38 CharT* egptr() const {return base::egptr();} in egptr()
|
D | peek.pass.cpp | 17 template <class CharT> 19 : public std::basic_streambuf<CharT> 21 typedef std::basic_string<CharT> string_type; 22 typedef std::basic_streambuf<CharT> base; 31 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 32 const_cast<CharT*>(str_.data()), in testbuf() 33 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 36 CharT* eback() const {return base::eback();} in eback() 37 CharT* gptr() const {return base::gptr();} in gptr() 38 CharT* egptr() const {return base::egptr();} in egptr()
|
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/ |
D | unsigned_int.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | long_double.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | unsigned_short.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | long.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | double.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | float.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | bool.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | long_long.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | unsigned_long.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | unsigned_long_long.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
D | short.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_string<CharT> string_type; 25 typedef std::basic_streambuf<CharT> base; 34 base::setg(const_cast<CharT*>(str_.data()), in testbuf() 35 const_cast<CharT*>(str_.data()), in testbuf() 36 const_cast<CharT*>(str_.data()) + str_.size()); in testbuf() 39 CharT* eback() const {return base::eback();} in eback() 40 CharT* gptr() const {return base::gptr();} in gptr() 41 CharT* egptr() const {return base::egptr();} in egptr()
|
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/ |
D | gbump.pass.cpp | 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_streambuf<CharT> base; 28 void setg(CharT* gbeg, CharT* gnext, CharT* gend) in setg() 35 CharT* gbeg = base::eback(); in gbump() 36 CharT* gnext = base::gptr(); in gbump() 37 CharT* gend = base::egptr(); in gbump()
|