Home
last modified time | relevance | path

Searched refs:str_ (Results 1 – 25 of 82) sorted by relevance

1234

/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/
H A Dstreambuf.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
32 : str_(str) in testbuf()
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()
49 int n = static_cast<int>(str_.size()); in overflow()
50 str_.push_back(static_cast<CharT>(ch)); in overflow()
51 str_.resize(str_.capacity()); in overflow()
52 base::setp(const_cast<CharT*>(str_.data()), in overflow()
53 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dostream.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dios_base.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dbasic_ios.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
H A Dsync.pass.cpp27 string_type str_; member
32 : str_(str) in testbuf()
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()
61 string_type str_; member
66 : str_(str) in throwing_testbuf()
68 base::setg(const_cast<CharT*>(str_.data()), in throwing_testbuf()
69 const_cast<CharT*>(str_.data()), in throwing_testbuf()
70 const_cast<CharT*>(str_.data()) + str_.size()); in throwing_testbuf()
H A Dget_streambuf.pass.cpp25 std::basic_string<CharT> str_; member in testbuf
31 : str_(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()
48 int n = static_cast<int>(str_.size()); in overflow()
49 str_.push_back(static_cast<CharT>(ch)); in overflow()
50 str_.resize(str_.capacity()); in overflow()
51 base::setp(const_cast<CharT*>(str_.data()), in overflow()
52 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dget_streambuf_chart.pass.cpp25 std::basic_string<CharT> str_; member in testbuf
31 : str_(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()
48 int n = static_cast<int>(str_.size()); in overflow()
49 str_.push_back(static_cast<CharT>(ch)); in overflow()
50 str_.resize(str_.capacity()); in overflow()
51 base::setp(const_cast<CharT*>(str_.data()), in overflow()
52 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
H A Dstreambuf.pass.cpp28 std::basic_string<CharT> str_; member in testbuf
34 : str_(str) in testbuf()
36 base::setg(const_cast<CharT*>(str_.data()), in testbuf()
37 const_cast<CharT*>(str_.data()), in testbuf()
38 const_cast<CharT*>(str_.data() + str_.size())); in testbuf()
51 std::size_t n = str_.size(); in overflow()
52 str_.push_back(static_cast<CharT>(ch)); in overflow()
53 str_.resize(str_.capacity()); in overflow()
54 base::setp(const_cast<CharT*>(str_.data()), in overflow()
55 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.manip/
H A Dendl.pass.cpp29 std::basic_string<CharT> str_; member in testbuf
45 int n = static_cast<int>(str_.size()); in overflow()
46 str_.push_back(static_cast<CharT>(ch)); in overflow()
47 str_.resize(str_.capacity()); in overflow()
48 base::setp(const_cast<CharT*>(str_.data()), in overflow()
49 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dends.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dunsigned_int.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dint.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Ddouble.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dfloat.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dlong_double.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dlong_long.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dshort.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dunsigned_short.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dlong.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dunsigned_long.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dunsigned_long_long.pass.cpp26 std::basic_string<CharT> str_; member in testbuf
42 int n = static_cast<int>(str_.size()); in overflow()
43 str_.push_back(static_cast<CharT>(ch)); in overflow()
44 str_.resize(str_.capacity()); in overflow()
45 base::setp(const_cast<CharT*>(str_.data()), in overflow()
46 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/
H A Dchar_pointer.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dsigned_char.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dsigned_char_pointer.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()
H A Dchar.pass.cpp27 std::basic_string<CharT> str_; member in testbuf
43 int n = static_cast<int>(str_.size()); in overflow()
44 str_.push_back(static_cast<CharT>(ch)); in overflow()
45 str_.resize(str_.capacity()); in overflow()
46 base::setp(const_cast<CharT*>(str_.data()), in overflow()
47 const_cast<CharT*>(str_.data() + str_.size())); in overflow()

1234