Home
last modified time | relevance | path

Searched refs:CharType (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/boost/boost/tuple/
Dtuple_io.hpp66 template<class CharType, class CharTrait>
67 static CharType get_manipulator(std::basic_ios<CharType, CharTrait>& i, in get_manipulator() argument
73 CharType c = static_cast<CharType>(i.iword(get_stream_index(m)) ); in get_manipulator()
86 template<class CharType, class CharTrait>
87 static void set_manipulator(std::basic_ios<CharType, CharTrait>& i, in set_manipulator() argument
88 manipulator_type m, CharType c) { in set_manipulator()
99 template<class CharType>
102 CharType f_c;
105 CharType c = CharType()) in tuple_manipulator()
109 void set(std::basic_ios<CharType, CharTrait> &io) const { in set() argument
[all …]
/third_party/boost/boost/locale/
Dmessage.hpp43 template<typename CharType>
53 template<typename CharType>
54 class message_format : public base_message_format<CharType>
61 typedef CharType char_type;
65 typedef std::basic_string<CharType> string_type;
71 base_message_format<CharType>(refs) in message_format()
143 template<typename CharType>
145 … static CharType const *cast(CharType const *msg,std::basic_string<CharType> &/*unused*/) in cast()
177 template<typename CharType>
181 typedef CharType char_type; ///< The character this message object is used with
[all …]
Dconversion.hpp47 template<typename CharType>
158 template<typename CharType>
159 …std::basic_string<CharType> normalize(std::basic_string<CharType> const &str,norm_type n=norm_defa… in normalize()
161 …return std::use_facet<converter<CharType> >(loc).convert(converter_base::normalization,str.data(),… in normalize()
173 template<typename CharType>
174 …std::basic_string<CharType> normalize(CharType const *str,norm_type n=norm_default,std::locale con… in normalize()
176 CharType const *end=str; in normalize()
179 … return std::use_facet<converter<CharType> >(loc).convert(converter_base::normalization,str,end,n); in normalize()
191 template<typename CharType>
192 std::basic_string<CharType> normalize( CharType const *begin, in normalize()
[all …]
Dencoding.hpp37 template<typename CharType>
38 …std::basic_string<CharType> to_utf(char const *begin,char const *end,std::string const &charset,me…
43 template<typename CharType>
44 …std::string from_utf(CharType const *begin,CharType const *end,std::string const &charset,method_t…
51 template<typename CharType>
52 …std::basic_string<CharType> to_utf(char const *begin,char const *end,std::locale const &loc,method… in to_utf()
54 return to_utf<CharType>(begin,end,std::use_facet<info>(loc).encoding(),how); in to_utf()
62 template<typename CharType>
63 …std::string from_utf(CharType const *begin,CharType const *end,std::locale const &loc,method_type … in from_utf()
72 template<typename CharType>
[all …]
Dformatting.hpp154 template<typename CharType>
155 void date_time_pattern(std::basic_string<CharType> const &str) in date_time_pattern()
158 s.set<CharType>(str.c_str()); in date_time_pattern()
201 template<typename CharType>
202 std::basic_string<CharType> date_time_pattern() const in date_time_pattern()
205 return s.get<CharType>(); in date_time_pattern()
491 template<typename CharType>
494 std::basic_string<CharType> ftime;
496 void apply(std::basic_ios<CharType> &ios) const in apply()
504 template<typename CharType>
[all …]
/third_party/json/include/nlohmann/detail/output/
Doutput_adapters.hpp18 template<typename CharType> struct output_adapter_protocol
20 virtual void write_character(CharType c) = 0;
21 virtual void write_characters(const CharType* s, std::size_t length) = 0;
26 template<typename CharType>
27 using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
30 template<typename CharType>
31 class output_vector_adapter : public output_adapter_protocol<CharType>
34 explicit output_vector_adapter(std::vector<CharType>& vec) noexcept in output_vector_adapter()
38 void write_character(CharType c) override in write_character()
44 void write_characters(const CharType* s, std::size_t length) override in write_characters()
[all …]
/third_party/boost/boost/locale/boundary/
Dsegment.hpp279 template<typename CharType,typename Traits,typename Alloc,typename IteratorR>
280 bool operator==(std::basic_string<CharType,Traits,Alloc> const &l,segment<IteratorR> const &r) in operator ==() argument
285 template<typename CharType,typename Traits,typename Alloc,typename IteratorR>
286 bool operator!=(std::basic_string<CharType,Traits,Alloc> const &l,segment<IteratorR> const &r) in operator !=() argument
292 template<typename CharType,typename Traits,typename Alloc,typename IteratorR>
293 bool operator<(std::basic_string<CharType,Traits,Alloc> const &l,segment<IteratorR> const &r) in operator <() argument
298 template<typename CharType,typename Traits,typename Alloc,typename IteratorR>
299 bool operator<=(std::basic_string<CharType,Traits,Alloc> const &l,segment<IteratorR> const &r) in operator <=() argument
304 template<typename CharType,typename Traits,typename Alloc,typename IteratorR>
305 bool operator>(std::basic_string<CharType,Traits,Alloc> const &l,segment<IteratorR> const &r) in operator >() argument
[all …]
/third_party/boost/libs/locale/src/win32/
Dnumeric.cpp49 template<typename CharType>
50 class num_format : public util::base_num_format<CharType>
53 typedef typename std::num_put<CharType>::iter_type iter_type;
54 typedef std::basic_string<CharType> string_type;
55 typedef CharType char_type;
58 util::base_num_format<CharType>(refs), in num_format()
91 template<typename CharType>
92 class time_put_win : public std::time_put<CharType> {
95 std::time_put<CharType>(refs), in time_put_win()
102 typedef typename std::time_put<CharType>::iter_type iter_type;
[all …]
/third_party/boost/libs/container/test/
Dstring_test.cpp80 template<class CharType>
136 template<class CharType>
139 typedef std::basic_string<CharType> StdString; in string_test()
141 typedef basic_string<CharType> BoostString; in string_test()
152 CharType buffer [20]; in string_test()
156 auxBoostString = string_literals<CharType>::String(); in string_test()
157 auxStdString = string_literals<CharType>::String(); in string_test()
158 string_literals<CharType>::sprintf_number(buffer, i); in string_test()
175 auxBoostString = string_literals<CharType>::String(); in string_test()
176 auxStdString = string_literals<CharType>::String(); in string_test()
[all …]
/third_party/boost/libs/math/test/
Dtest_nonfinite_trap.cpp49 template<class CharType, class ValType> void trap_test_finite_impl();
61 template<class CharType, class ValType> void trap_test_finite_impl() in trap_test_finite_impl()
65 new nonfinite_num_put<CharType>(trap_infinity | trap_nan)); in trap_test_finite_impl()
67 new nonfinite_num_get<CharType>(trap_infinity | trap_nan)); in trap_test_finite_impl()
69 std::basic_stringstream<CharType> ss; in trap_test_finite_impl()
100 template<class CharType, class ValType> void trap_test_inf_impl();
101 template<class CharType, class ValType> void trap_test_put_inf_impl();
102 template<class CharType, class ValType> void trap_test_get_inf_impl();
114 template<class CharType, class ValType> void trap_test_inf_impl() in trap_test_inf_impl()
116 trap_test_put_inf_impl<CharType, ValType>(); in trap_test_inf_impl()
[all …]
Dtest_lexical_cast.cpp42 template<class CharType, class ValType> void lexical_cast_test_impl();
54 template<class CharType, class ValType> void lexical_cast_test_impl() in lexical_cast_test_impl()
63 new nonfinite_num_put<CharType>(signed_zero)); in lexical_cast_test_impl()
64 std::locale new_locale(tmp_locale, new nonfinite_num_get<CharType>); in lexical_cast_test_impl()
78 std::basic_string<CharType> s1 = S_("0"); in lexical_cast_test_impl()
79 std::basic_string<CharType> s2 = S_("13"); in lexical_cast_test_impl()
80 std::basic_string<CharType> s3 = S_("inf"); in lexical_cast_test_impl()
81 std::basic_string<CharType> s4 = S_("nan"); in lexical_cast_test_impl()
82 std::basic_string<CharType> s5 = S_("nan"); in lexical_cast_test_impl()
83 std::basic_string<CharType> s6 = S_("-0"); in lexical_cast_test_impl()
[all …]
Dtest_nonfinite_io.cpp55 template<class CharType, class ValType> void trap_test_finite_impl();
67 template<class CharType, class ValType> void trap_test_finite_impl()
71 new nonfinite_num_put<CharType>(trap_infinity | trap_nan));
73 new nonfinite_num_get<CharType>(trap_infinity | trap_nan));
75 std::basic_stringstream<CharType> ss;
106 template<class CharType, class ValType> void trap_test_inf_impl();
107 template<class CharType, class ValType> void trap_test_put_inf_impl();
108 template<class CharType, class ValType> void trap_test_get_inf_impl();
120 template<class CharType, class ValType> void trap_test_inf_impl()
122 trap_test_put_inf_impl<CharType, ValType>();
[all …]
Dtest_basic_nonfinite.cpp68 template<class CharType, class ValType> void basic_test_finite_impl();
80 template<class CharType, class ValType> void basic_test_finite_impl() in basic_test_finite_impl()
86 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_finite_impl()
87 std::locale new_locale(tmp_locale, new nonfinite_num_get<CharType>); in basic_test_finite_impl()
89 std::basic_stringstream<CharType> ss; in basic_test_finite_impl()
120 template<class CharType, class ValType> void basic_test_inf_impl();
132 template<class CharType, class ValType> void basic_test_inf_impl() in basic_test_inf_impl()
138 std::locale tmp_locale(old_locale, new nonfinite_num_put<CharType>); in basic_test_inf_impl()
139 std::locale new_locale(tmp_locale, new nonfinite_num_get<CharType>); in basic_test_inf_impl()
141 std::basic_stringstream<CharType> ss; in basic_test_inf_impl()
[all …]
/third_party/boost/boost/nowide/
Dfstream.hpp25 template<typename CharType, typename Traits>
27 typedef std::basic_istream<CharType, Traits> type;
34 template<typename CharType, typename Traits>
36 typedef std::basic_ostream<CharType, Traits> type;
43 template<typename CharType, typename Traits>
45 typedef std::basic_iostream<CharType, Traits> type;
57 template<typename CharType,
71 template<typename CharType, typename Traits = std::char_traits<CharType> >
72 class basic_ifstream : public detail::fstream_impl<CharType, Traits, detail::StreamTypeIn>
74 typedef detail::fstream_impl<CharType, Traits, detail::StreamTypeIn> fstream_impl;
[all …]
/third_party/boost/libs/locale/src/icu/
Dcollator.cpp28 template<typename CharType>
29 class collate_impl : public collator<CharType>
32 typedef typename collator<CharType>::level_type level_type;
56 CharType const *b1,CharType const *e1, in do_ustring_compare()
57 CharType const *b2,CharType const *e2, in do_ustring_compare()
66 CharType const *b1,CharType const *e1, in do_real_compare()
67 CharType const *b2,CharType const *e2, in do_real_compare()
74 CharType const *b1,CharType const *e1, in do_compare()
75 CharType const *b2,CharType const *e2) const in do_compare()
90 …std::vector<uint8_t> do_basic_transform(level_type level,CharType const *b,CharType const *e) cons… in do_basic_transform()
[all …]
/third_party/boost/boost/interprocess/detail/
Dsegment_manager_helper.hpp130 template<class CharType>
131 CharType *name() const in name()
133 return const_cast<CharType*>(reinterpret_cast<const CharType*> in name()
155 template<class CharType>
160 … std::char_traits<CharType>::compare(name<CharType>(), b.name<CharType>(), m_num_char) < 0); in less_comp()
163 template<class CharType>
167 … std::char_traits<CharType>::compare(name<CharType>(), b.name<CharType>(), m_num_char) == 0; in equal_comp()
263 template<class Hook, class CharType, class SizeType>
273 typedef CharType char_type;
287 bool operator <(const intrusive_value_type_impl<Hook, CharType, SizeType> & other) const in operator <()
[all …]
/third_party/boost/boost/math/special_functions/
Dnonfinite_num_facets.hpp59 class CharType,
60 class OutputIterator = std::ostreambuf_iterator<CharType>
62 class nonfinite_num_put : public std::num_put<CharType, OutputIterator>
69 OutputIterator it, std::ios_base& iosb, CharType fill, double val) const in do_put()
76 OutputIterator it, std::ios_base& iosb, CharType fill, long double val) const in do_put()
85 CharType fill, ValType val) const in put_and_reset_width()
93 CharType fill, ValType val) const in put_impl()
95 static const CharType prefix_plus[2] = { '+', '\0' }; in put_impl()
96 static const CharType prefix_minus[2] = { '-', '\0' }; in put_impl()
97 static const CharType body_inf[4] = { 'i', 'n', 'f', '\0' }; in put_impl()
[all …]
/third_party/boost/libs/locale/test/
Dtest_posix_convert.cpp28 template<typename CharType>
31 …TEST(boost::locale::to_upper(to_correct_string<CharType>(src,l),l) == to_correct_string<CharType>(… in test_one()
32 …TEST(boost::locale::to_lower(to_correct_string<CharType>(src,l),l) == to_correct_string<CharType>(… in test_one()
33 …TEST(boost::locale::fold_case(to_correct_string<CharType>(src,l),l) == to_correct_string<CharType>… in test_one()
36 template<typename CharType>
45 test_one<CharType>(l,"Hello World i","hello world i","HELLO WORLD I"); in test_char()
51 test_one<CharType>(l,"Façade","façade","FAÇADE"); in test_char()
61 test_one<CharType>(l,"Hello World","hello world","HELLO WORLD"); in test_char()
63 if(sizeof(CharType)!=1) in test_char()
65 test_one<CharType>(l,"Façade","façade","FAÇADE"); in test_char()
[all …]
/third_party/boost/libs/numeric/interval/examples/
Dio.cpp20 template<class T, class Policies, class CharType, class CharTraits>
21 std::basic_ostream<CharType, CharTraits> &operator<< in operator <<() argument
22 (std::basic_ostream<CharType, CharTraits> &stream, in operator <<()
36 template<class T, class Policies, class CharType, class CharTraits>
37 std::basic_ostream<CharType, CharTraits> &operator<< in operator <<() argument
38 (std::basic_ostream<CharType, CharTraits> &stream, in operator <<()
54 template<class T, class Policies, class CharType, class CharTraits>
55 std::basic_ostream<CharType, CharTraits> &operator<< in operator <<() argument
56 (std::basic_ostream<CharType, CharTraits> &stream, in operator <<()
70 template<class T, class Policies, class CharType, class CharTraits>
[all …]
/third_party/boost/libs/optional/doc/
D23_ref_optional_io.qbk22 template <class CharType, class CharTrait, class T>
23 std::basic_ostream<CharType, CharTrait>&
24 …operator<<(std::basic_ostream<CharType, CharTrait>& out, optional<T> const& v); ``[link reference_…
26 template <class CharType, class CharTrait>
27 std::basic_ostream<CharType, CharTrait>&
28 …operator<<(std::basic_ostream<CharType, CharTrait>& out, none_t const&); ``[link reference_operato…
30 template<class CharType, class CharTrait, class T>
31 std::basic_istream<CharType, CharTrait>&
32 …operator>>(std::basic_istream<CharType, CharTrait>& in, optional<T>& v); ``[link reference_operato…
45 `template <class CharType, class CharTrait, class T>` [br]
[all …]
/third_party/boost/boost/archive/
Ddinkumware.hpp31 template<class CharType>
32 basic_ostream<CharType> &
33 operator<<(basic_ostream<CharType> & os, boost::uint64_t t){ in operator <<()
35 CharType d[23]; in operator <<()
58 CharType k = d[i]; in operator <<()
68 template<class CharType>
69 basic_ostream<CharType> &
70 operator<<(basic_ostream<CharType> &os, boost::int64_t t){ in operator <<()
81 template<class CharType>
82 basic_istream<CharType> &
[all …]
/third_party/boost/libs/serialization/performance/
Dperformance_iterators.cpp65 template<class CharType>
67 const CharType * xml_escaped, in test_xml_escape()
68 const CharType * xml, in test_xml_escape()
71 typedef boost::archive::iterators::xml_escape<const CharType *> translator; in test_xml_escape()
82 template<class CharType>
84 const CharType * xml, in test_xml_unescape()
85 const CharType * xml_escaped, in test_xml_unescape()
90 typedef boost::archive::iterators::xml_unescape<const CharType *> translator; in test_xml_unescape()
143 template<class CharType>
145 const CharType * test_data, in test_stream_iterators()
[all …]
/third_party/boost/boost/serialization/
Dcollection_size_type copy.hpp27 template<typename CharType, typename Traits>
28 friend std::basic_ostream<CharType, Traits> & operator<<(
29 const std::basic_ostream<CharType, Traits> & bos,
32 template<typename CharType, typename Traits>
33 friend std::basic_istream<CharType, Traits> & operator>>(
34 std::basic_istream<CharType, Traits> & bis,
99 template<typename CharType, typename Traits>
100 basic_ostream<CharType, Traits> & operator<<( in operator <<()
101 std::basic_ostream<CharType, Traits> & bos, in operator <<() argument
108 template<typename CharType, typename Traits>
[all …]
/third_party/boost/boost/archive/iterators/
Dtransform_width.hpp43 class CharType = typename boost::iterator_value<Base>::type // output character
47 transform_width<Base, BitsOut, BitsIn, CharType>,
49 CharType,
51 CharType
56 transform_width<Base, BitsOut, BitsIn, CharType>,
58 CharType,
60 CharType
63 typedef transform_width<Base, BitsOut, BitsIn, CharType> this_t;
68 CharType dereference() const { in dereference()
97 CharType m_buffer_out;
[all …]
/third_party/boost/libs/locale/src/encoding/
Dconv.hpp19 template<typename CharType>
28 if(sizeof(CharType) == 1) { in utf_name()
31 else if(sizeof(CharType) == 2) { in utf_name()
40 else if(sizeof(CharType) == 4) { in utf_name()
81 template<typename CharType>
84 typedef CharType char_type;
90 virtual std::string convert(CharType const *begin,CharType const *end) = 0;
97 template<typename CharType>
100 typedef CharType char_type;

123456