Home
last modified time | relevance | path

Searched refs:CharT (Results 1 – 25 of 182) sorted by relevance

12345678

/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
Dstreambuf.pass.cpp20 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 …]
Dostream.pass.cpp21 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 …]
Dbasic_ios.pass.cpp21 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/
Dstreambuf.pass.cpp20 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 …]
Dsigned_char.pass.cpp18 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()
Dunsigned_char.pass.cpp18 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/
Drvalue.pass.cpp21 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/
Dsync.pass.cpp19 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()
Dtellg.pass.cpp17 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()
Dget_streambuf.pass.cpp17 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 …]
Dget_streambuf_chart.pass.cpp18 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 …]
Dseekg.pass.cpp17 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()
Dpeek.pass.cpp17 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/
Dunsigned_int.pass.cpp20 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()
Dlong_double.pass.cpp20 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()
Dunsigned_short.pass.cpp20 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()
Dlong.pass.cpp20 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()
Ddouble.pass.cpp20 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()
Dfloat.pass.cpp20 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()
Dbool.pass.cpp20 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()
Dlong_long.pass.cpp20 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()
Dunsigned_long.pass.cpp20 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()
Dunsigned_long_long.pass.cpp20 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()
Dshort.pass.cpp20 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/
Dgbump.pass.cpp20 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()

12345678