Home
last modified time | relevance | path

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

1234567

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/
Dbasic_cstring.hpp38 template<typename CharT>
40 typedef basic_cstring<CharT> self_type;
43 typedef ut_detail::bcs_char_traits<CharT> traits_type;
44 typedef typename ut_detail::bcs_char_traits<CharT>::std_string std_string;
46 typedef CharT value_type;
114 …basic_cstring& assign( basic_cstring<CharT2> const& s ) { *this = basic_cstring<CharT>( s.begin()… in assign()
148 template<typename CharT>
149 inline typename basic_cstring<CharT>::pointer
150 basic_cstring<CharT>::null_str() in null_str()
152 static CharT null = 0; in null_str()
[all …]
Dcompare.hpp43 template<class CharT>
46 …static bool eq( CharT c1, CharT c2 ) { return (std::toupper)( c1 ) == (std::toupper)( c2 )… in eq()
47 …static bool lt( CharT c1, CharT c2 ) { return (std::toupper)( c1 ) < (std::toupper)( c2 )… in lt()
49 static int compare( CharT const* s1, CharT const* s2, std::size_t n ) in compare()
65 template<class CharT>
67 case_ins_eq( basic_cstring<CharT> x, basic_cstring<CharT> y ) in case_ins_eq()
69 …return x.size() == y.size() && ut_detail::case_ins<CharT>::compare( x.begin(), y.begin(), x.size()… in case_ins_eq()
78 template<class CharT>
79 class case_ins_less : public std::binary_function<basic_cstring<CharT>,basic_cstring<CharT>,bool>
82 bool operator()( basic_cstring<CharT> x, basic_cstring<CharT> y ) const in operator ()()
[all …]
Dbcs_char_traits.hpp38 template<typename CharT> struct bcs_base_char { typedef CharT type; };
52 template<typename CharT>
56 typedef CharT const const_char;
58 typedef typename boost::add_const<CharT>::type const_char;
60 static bool eq( CharT c1, CharT c2 ) in eq()
64 static bool lt( CharT c1, CharT c2 ) in lt()
84 const_char null_char = CharT(); in length()
93 static const_char* find( const_char* s, std::size_t n, CharT c ) in find()
107 template<typename CharT>
108 struct char_traits_with_find : std::string_char_traits<CharT> {
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
Dwrap_stringstream.hpp39 template<typename CharT>
45 typedef std::basic_ostrstream<CharT> wrapped_stream;
47 typedef std::basic_ostringstream<CharT> wrapped_stream;
52 std::basic_string<CharT> const& str();
57 std::basic_string<CharT> m_str;
62 template <typename CharT, typename T>
63 inline basic_wrap_stringstream<CharT>&
64 operator<<( basic_wrap_stringstream<CharT>& targ, T const& t ) in operator <<()
72 template <typename CharT>
73 inline typename basic_wrap_stringstream<CharT>::wrapped_stream&
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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 …]
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()
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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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 …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlexical_cast.hpp178 template <typename CharT>
179 struct widest_char<not_a_character_type, CharT >
181 typedef CharT type;
184 template <typename CharT>
185 struct widest_char< CharT, not_a_character_type >
187 typedef CharT type;
245 template <typename CharT>
246 struct stream_char<CharT*>
248 typedef BOOST_DEDUCED_TYPENAME stream_char<CharT>::type type;
251 template <typename CharT>
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/
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()
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()
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()
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()
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()
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()
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()
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.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()

1234567