/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/ |
char_pointer.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 43 str_.push_back(static_cast<CharT>(__c)); 45 base::setp(const_cast<CharT*>(str_.data()) [all...] |
signed_char.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 43 str_.push_back(static_cast<CharT>(__c)); 45 base::setp(const_cast<CharT*>(str_.data()) [all...] |
signed_char_pointer.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 43 str_.push_back(static_cast<CharT>(__c)); 45 base::setp(const_cast<CharT*>(str_.data()) [all...] |
unsigned_char.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 43 str_.push_back(static_cast<CharT>(__c)); 45 base::setp(const_cast<CharT*>(str_.data()) [all...] |
unsigned_char_pointer.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 43 str_.push_back(static_cast<CharT>(__c)); 45 base::setp(const_cast<CharT*>(str_.data()) [all...] |
CharT.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 15 // template<class charT, class traits> 16 // basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>& out, charT c); 21 template <class CharT> 23 : public std::basic_streambuf<CharT> 25 typedef std::basic_streambuf<CharT> base; 26 std::basic_string<CharT> str_ [all...] |
CharT_pointer.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 15 // template<class charT, class traits> 16 // basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>& out, const charT* s); 21 template <class CharT> 23 : public std::basic_streambuf<CharT> 25 typedef std::basic_streambuf<CharT> base; 26 std::basic_string<CharT> str_ [all...] |
char_to_wide.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 15 // template<class charT, class traits> 16 // basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>& out, char c); 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() cons [all...] |
char_to_wide_pointer.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 15 // template<class charT, class traits> 16 // basic_ostream<charT,traits>& operator<<(basic_ostream<charT,traits>& out, const char* s); 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() cons [all...] |
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.unformatted/ |
write.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 20 template <class CharT> 22 : public std::basic_streambuf<CharT> 24 typedef std::basic_streambuf<CharT> base; 25 std::basic_string<CharT> str_; 31 std::basic_string<CharT> str() const 32 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 42 str_.push_back(static_cast<CharT>(__c)); 44 base::setp(const_cast<CharT*>(str_.data()) [all...] |
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.cons/ |
copy.pass.cpp | 14 // template <class charT, class traits = char_traits<charT> > 24 template <class CharT> 26 : public std::basic_streambuf<CharT> 28 typedef std::basic_streambuf<CharT> base; 32 : std::basic_streambuf<CharT>(t) 43 void setg(CharT* gbeg, CharT* gnext, CharT* gend) 47 void setp(CharT* pbeg, CharT* pend [all...] |
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
copy.pass.cpp | 12 // size_type copy(charT* s, size_type n, size_type pos = 0) const; 27 template<typename CharT> 28 void test1 ( std::basic_string_view<CharT> sv, size_t n, size_t pos ) { 31 CharT *dest1 = new CharT [rlen + 1]; dest1[rlen] = 0; 32 CharT *dest2 = new CharT [rlen + 1]; dest2[rlen] = 0; 55 template<typename CharT> 56 void test ( const CharT *s ) { 57 typedef std::basic_string_view<CharT> string_view_t [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.cons/ |
copy.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 22 template <class CharT> 24 : public std::basic_streambuf<CharT> 26 typedef std::basic_streambuf<CharT> base; 30 : std::basic_streambuf<CharT>(t) 41 void setg(CharT* gbeg, CharT* gnext, CharT* gend) 45 void setp(CharT* pbeg, CharT* pend [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
copy.pass.cpp | 14 // size_type copy(charT* s, size_type n, size_type pos = 0) const; 26 template<typename CharT> 27 void test1 ( std::experimental::basic_string_view<CharT> sv, size_t n, size_t pos ) { 30 CharT *dest1 = new CharT [rlen + 1]; dest1[rlen] = 0; 31 CharT *dest2 = new CharT [rlen + 1]; dest2[rlen] = 0; 46 template<typename CharT> 47 void test ( const CharT *s ) { 48 typedef std::experimental::basic_string_view<CharT> string_view_t [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/stream.buffers/streambuf/streambuf.cons/ |
copy.pass.cpp | 14 // template <class charT, class traits = char_traits<charT> > 24 template <class CharT> 26 : public std::basic_streambuf<CharT> 28 typedef std::basic_streambuf<CharT> base; 32 : std::basic_streambuf<CharT>(t) 43 void setg(CharT* gbeg, CharT* gnext, CharT* gend) 47 void setp(CharT* pbeg, CharT* pend [all...] |
/external/libcxx/test/std/experimental/filesystem/class.path/path.nonmember/ |
path.io.pass.cpp | 16 // template <class charT, class traits> 17 // basic_ostream<charT, traits>& 18 // operator<<(basic_ostream<charT, traits>& os, const path& p); 20 // template <class charT, class traits> 21 // basic_istream<charT, traits>& 22 // operator>>(basic_istream<charT, traits>& is, path& p) 38 template <class CharT> 41 using Ptr = const CharT*; 42 using StrStream = std::basic_stringstream<CharT>;
|
/external/libcxx/test/std/strings/string.view/string.view.access/ |
data.pass.cpp | 20 template <typename CharT> 21 void test ( const CharT *s, size_t len ) { 22 std::basic_string_view<CharT> sv ( s, len );
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/ |
get_streambuf.pass.cpp | 12 // basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb); 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) 30 base::setg(const_cast<CharT*>(str_.data()), 31 const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data() + str_.size())); 35 std::basic_string<CharT> str() cons [all...] |
get_streambuf_chart.pass.cpp | 12 // basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb, 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) 31 base::setg(const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data()), 33 const_cast<CharT*>(str_.data() + str_.size())); 36 std::basic_string<CharT> str() cons [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
get_streambuf.pass.cpp | 12 // basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb); 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) 30 base::setg(const_cast<CharT*>(str_.data()), 31 const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data() + str_.size())); 35 std::basic_string<CharT> str() cons [all...] |
get_streambuf_chart.pass.cpp | 12 // basic_istream<charT,traits>& get(basic_streambuf<char_type,traits>& sb, 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) 31 base::setg(const_cast<CharT*>(str_.data()), 32 const_cast<CharT*>(str_.data()), 33 const_cast<CharT*>(str_.data() + str_.size())); 36 std::basic_string<CharT> str() cons [all...] |
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.generic.obs/ |
generic_string_alloc.pass.cpp | 42 using CharT = wchar_t; 43 using Traits = std::char_traits<CharT>; 44 using Alloc = malloc_allocator<CharT>; 45 using Str = std::basic_string<CharT, Traits, Alloc>;
|
/external/libcxx/test/std/input.output/iostream.format/ext.manip/ |
put_money.pass.cpp | 12 // template <class charT, class moneyT> T8 put_money(const moneyT& mon, bool intl = false); 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 33 {return std::basic_string<CharT>(base::pbase(), base::pptr());} 45 base::setp(const_cast<CharT*>(str_.data()), 46 const_cast<CharT*>(str_.data() + str_.size()));
|
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.manip/ |
flush.pass.cpp | 12 // template <class charT, class traits = char_traits<charT> > 15 // template <class charT, class traits> 16 // basic_ostream<charT,traits>& flush(basic_ostream<charT,traits>& os); 23 template <class CharT> 25 : public std::basic_streambuf<CharT>
|
/external/libcxx/test/std/input.output/iostream.format/std.manip/ |
setfill.pass.cpp | 12 // template<charT> T4 setfill(charT c); 17 template <class CharT> 19 : public std::basic_streambuf<CharT>
|