/third_party/boost/boost/utility/ |
D | string_ref.hpp | 41 template <typename charT, typename traits> 44 string_ref_traits_eq ( charT ch ) : ch_(ch) {} in string_ref_traits_eq() 45 bool operator () ( charT val ) const { return traits::eq ( ch_, val ); } in operator ()() 46 charT ch_; 50 template<typename charT, typename traits> 54 typedef charT value_type; 55 typedef const charT* pointer; 56 typedef const charT& reference; 57 typedef const charT& const_reference; 90 basic_string_ref(const charT* str) BOOST_NOEXCEPT in basic_string_ref() [all …]
|
D | string_view.hpp | 45 template <typename charT, typename traits> 48 string_view_traits_eq ( charT ch ) : ch_(ch) {} in string_view_traits_eq() 49 bool operator()( charT val ) const { return traits::eq (ch_, val); } in operator ()() 50 charT ch_; 54 template<typename charT, typename traits> // traits defaulted in string_view_fwd.hpp 59 typedef charT value_type; 60 typedef charT* pointer; 61 typedef const charT* const_pointer; 62 typedef charT& reference; 63 typedef const charT& const_reference; [all …]
|
/third_party/boost/boost/regex/v4/ |
D | cpp_regex_traits.hpp | 69 template <class charT> 78 template <class charT, 79 class traits = ::std::char_traits<charT> > 80 class parser_buf : public ::std::basic_streambuf<charT, traits> 82 typedef ::std::basic_streambuf<charT, traits> base_type; 90 const charT* getnext() { return this->gptr(); } in getnext() 92 std::basic_streambuf<charT, traits>* setbuf(char_type* s, streamsize n); 93 …typename parser_buf<charT, traits>::pos_type seekpos(pos_type sp, ::std::ios_base::openmode which); 94 …typename parser_buf<charT, traits>::pos_type seekoff(off_type off, ::std::ios_base::seekdir way, :… 100 template<class charT, class traits> [all …]
|
D | regex_traits_defaults.hpp | 56 template <class charT> 57 inline bool is_extended(charT c) in is_extended() 59 typedef typename make_unsigned<charT>::type unsigned_type; in is_extended() 60 return (sizeof(charT) > 1) && (static_cast<unsigned_type>(c) >= 256u); in is_extended() 74 template <class charT> 75 inline bool is_combining(charT c) in is_combining() 77 …return (c <= static_cast<charT>(0)) ? false : ((c >= static_cast<charT>((std::numeric_limits<uint_… in is_combining() 121 template <class charT> 122 inline bool is_separator(charT c) in is_separator() 125 (c == static_cast<charT>('\n')) in is_separator() [all …]
|
D | w32_regex_traits.hpp | 64 template <class charT> 130 template <class charT> 140 template <class charT> 141 inline lcid_type w32_regex_traits_base<charT>::imbue(lcid_type l) in imbue() 152 template <class charT> 153 class w32_regex_traits_char_layer : public w32_regex_traits_base<charT> 155 typedef std::basic_string<charT> string_type; 156 typedef std::map<charT, regex_constants::syntax_type> map_type; 161 regex_constants::syntax_type syntax_type(charT c)const in syntax_type() 166 regex_constants::escape_syntax_type escape_syntax_type(charT c) const in escape_syntax_type() [all …]
|
D | basic_regex.hpp | 56 template <class charT, class traits> 88 template <class charT> 89 name(const charT* i, const charT* j, int idx) in name() 120 template <class charT> 121 void set_name(const charT* i, const charT* j, int index) in set_name() 126 template <class charT> 127 int get_id(const charT* i, const charT* j)const in get_id() 137 template <class charT> 138 range_type equal_range(const charT* i, const charT* j)const in equal_range() 166 template <class charT, class traits> [all …]
|
D | regex_token_iterator.hpp | 52 class charT, 56 typedef basic_regex<charT, traits> regex_type; 167 …class charT = BOOST_DEDUCED_TYPENAME BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIte… 168 class traits = regex_traits<charT> > 172 typedef regex_token_iterator_implementation<BidirectionalIterator, charT, traits> impl; 175 typedef basic_regex<charT, traits> regex_type; 276 template <class charT, class traits> 277 …line regex_token_iterator<const charT*, charT, traits> make_regex_token_iterator(const charT* p, c… in make_regex_token_iterator() argument 279 return regex_token_iterator<const charT*, charT, traits>(p, p+traits::length(p), e, submatch, m); in make_regex_token_iterator() 281 template <class charT, class traits, class ST, class SA> [all …]
|
D | basic_regex_creator.hpp | 47 template <class charT> 48 struct digraph : public std::pair<charT, charT> 50 digraph() : std::pair<charT, charT>(charT(0), charT(0)){} in digraph() 51 digraph(charT c1) : std::pair<charT, charT>(c1, charT(0)){} in digraph() 52 digraph(charT c1, charT c2) : std::pair<charT, charT>(c1, c2) in digraph() 54 digraph(const digraph<charT>& d) : std::pair<charT, charT>(d.first, d.second){} in digraph() 56 digraph(const Seq& s) : std::pair<charT, charT>() in digraph() 65 template <class charT, class traits> 69 typedef digraph<charT> digraph_type; 191 template <class charT, class traits> [all …]
|
D | regex_merge.hpp | 38 template <class OutputIterator, class Iterator, class traits, class charT> 42 const basic_regex<charT, traits>& e, in regex_merge() argument 43 const charT* fmt, in regex_merge() 49 template <class OutputIterator, class Iterator, class traits, class charT> 53 const basic_regex<charT, traits>& e, in regex_merge() argument 54 const std::basic_string<charT>& fmt, in regex_merge() 60 template <class traits, class charT> 61 inline std::basic_string<charT> regex_merge(const std::basic_string<charT>& s, in regex_merge() 62 const basic_regex<charT, traits>& e, in regex_merge() argument 63 const charT* fmt, in regex_merge() [all …]
|
/third_party/boost/libs/regex/test/regress/ |
D | test_partial_match.hpp | 35 typedef typename boost::sub_match<BidirectionalIterator>::value_type charT; in test_sub_match() typedef 39 && (test_info<charT>::match_options() & boost::match_partial)) ) in test_sub_match() 45 << " was not matched when it should have been.", charT); in test_sub_match() 55 << ", expected " << answer_table[2*i] << ".", charT); in test_sub_match() 62 << ", expected " << answer_table[1 + 2*i] << ".", charT); in test_sub_match() 79 template<class charT, class traits> 80 void test_simple_search(boost::basic_regex<charT, traits>& r) in test_simple_search() argument 82 typedef typename std::basic_string<charT>::const_iterator const_iterator; in test_simple_search() 83 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_simple_search() 84 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_simple_search() [all …]
|
D | test_regex_search.hpp | 43 typedef typename boost::sub_match<BidirectionalIterator>::value_type charT; in test_sub_match() typedef 47 && (test_info<charT>::match_options() & boost::match_partial)) ) in test_sub_match() 53 << " was not matched when it should have been.", charT); in test_sub_match() 63 << ", expected " << answer_table[2*i] << ".", charT); in test_sub_match() 70 << ", expected " << answer_table[1 + 2*i] << ".", charT); in test_sub_match() 98 template<class charT, class traits> 99 void test_simple_search(boost::basic_regex<charT, traits>& r) in test_simple_search() argument 101 typedef typename std::basic_string<charT>::const_iterator const_iterator; in test_simple_search() 102 const std::basic_string<charT>& search_text = test_info<charT>::search_text(); in test_simple_search() 103 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_simple_search() [all …]
|
D | test_not_regex.hpp | 28 template<class charT, class traits> 29 void test_empty(boost::basic_regex<charT, traits>& r) in test_empty() argument 33 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::empty().", charT); in test_empty() 37 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::size().", charT); in test_empty() 41 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::str().", charT); in test_empty() 45 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::begin().", charT); in test_empty() 49 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::status().", charT); in test_empty() 53 BOOST_REGEX_TEST_ERROR("Invalid value returned from basic_regex<>::begin().", charT); in test_empty() 57 template<class charT, class traits> 58 void test(boost::basic_regex<charT, traits>& r, const test_invalid_regex_tag&) in test() argument [all …]
|
D | test_regex_replace.hpp | 23 template<class charT, class traits> 24 void test_regex_replace(boost::basic_regex<charT, traits>& r) in test_regex_replace() argument 26 typedef std::basic_string<charT> string_type; in test_regex_replace() 27 const string_type& search_text = test_info<charT>::search_text(); in test_regex_replace() 28 boost::regex_constants::match_flag_type opts = test_info<charT>::match_options(); in test_regex_replace() 29 const string_type& format_string = test_info<charT>::format_string(); in test_regex_replace() 30 const string_type& result_string = test_info<charT>::result_string(); in test_regex_replace() 35 BOOST_REGEX_TEST_ERROR("regex_replace generated an incorrect string result", charT); in test_regex_replace() 42 template<class charT, class traits> 43 void test(boost::basic_regex<charT, traits>& r, const test_regex_replace_tag&) in test() argument [all …]
|
/third_party/boost/boost/program_options/detail/ |
D | parsers.hpp | 15 template<class charT> 16 basic_command_line_parser<charT>:: 18 std::basic_string<charT> >& xargs) in basic_command_line_parser() 23 template<class charT> 24 basic_command_line_parser<charT>:: 25 basic_command_line_parser(int argc, const charT* const argv[]) in basic_command_line_parser() 27 to_internal(std::vector<std::basic_string<charT> >(argv+1, argv+argc))), in basic_command_line_parser() 32 template<class charT> 33 basic_command_line_parser<charT>& 34 basic_command_line_parser<charT>::options(const options_description& desc) in options() [all …]
|
/third_party/boost/boost/date_time/gregorian/ |
D | greg_facet.hpp | 50 template <class charT, class traits> 52 std::basic_ostream<charT, traits>& 53 operator<<(std::basic_ostream<charT, traits>& os, const date& d) in operator <<() argument 55 typedef boost::date_time::date_names_put<greg_facet_config, charT> facet_def; in operator <<() 56 typedef boost::date_time::ostream_date_formatter<date, facet_def, charT> greg_ostream_formatter; in operator <<() 66 template <class charT, class traits> 68 std::basic_ostream<charT, traits>& 69 operator<<(std::basic_ostream<charT, traits>& os, const greg_month& m) in operator <<() argument 71 typedef boost::date_time::date_names_put<greg_facet_config, charT> facet_def; in operator <<() 72 typedef boost::date_time::ostream_month_formatter<facet_def, charT> greg_month_formatter; in operator <<() [all …]
|
D | formatters.hpp | 31 template<class charT> 33 std::basic_string<charT> to_simple_string_type(const date& d) { in to_simple_string_type() 34 return date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_string(d); in to_simple_string_type() 45 template<class charT> 46 inline std::basic_string<charT> to_simple_string_type(const date_period& d) { in to_simple_string_type() 47 typedef std::basic_string<charT> string_type; in to_simple_string_type() 48 charT b = '[', m = '/', e=']'; in to_simple_string_type() 50 …string_type d1(date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_stri… in to_simple_string_type() 51 …string_type d2(date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_stri… in to_simple_string_type() 62 template<class charT> [all …]
|
/third_party/boost/boost/date_time/ |
D | iso_format.hpp | 18 template<class charT> 28 static const charT* not_a_date() in not_a_date() 33 static const charT* pos_infinity() in pos_infinity() 38 static const charT* neg_infinity() in neg_infinity() 44 static charT year_sep_char() in year_sep_char() 49 static charT month_sep_char() in month_sep_char() 54 static charT day_sep_char() in day_sep_char() 59 static charT hour_sep_char() in hour_sep_char() 64 static charT minute_sep_char() in minute_sep_char() 69 static charT second_sep_char() in second_sep_char() [all …]
|
D | date_names_put.hpp | 41 class charT = char, 42 class OutputIterator = std::ostreambuf_iterator<charT> > 53 typedef std::basic_string<charT> string_type; 54 typedef charT char_type; 118 charT c = '\0'; in do_put_month_short() 126 charT c = '\0'; in do_put_month_long() 174 void put_string(iter_type& oi, const charT* const s) const in put_string() 191 template<class Config, class charT, class OutputIterator> 192 const typename date_names_put<Config, charT, OutputIterator>::char_type 193 date_names_put<Config, charT, OutputIterator>::default_special_value_names[3][17] = { [all …]
|
D | format_date_parser.hpp | 41 template<typename int_type, typename charT> 44 fixed_string_to_int(std::istreambuf_iterator<charT>& itr, in fixed_string_to_int() 45 std::istreambuf_iterator<charT>& stream_end, in fixed_string_to_int() 46 parse_match_result<charT>& mr, in fixed_string_to_int() 48 const charT& fill_char) in fixed_string_to_int() 84 template<typename int_type, typename charT> 87 fixed_string_to_int(std::istreambuf_iterator<charT>& itr, in fixed_string_to_int() 88 std::istreambuf_iterator<charT>& stream_end, in fixed_string_to_int() 89 parse_match_result<charT>& mr, in fixed_string_to_int() 92 return fixed_string_to_int<int_type, charT>(itr, stream_end, mr, length, '0'); in fixed_string_to_int() [all …]
|
D | string_parse_tree.hpp | 25 template<typename charT> 32 typedef std::basic_string<charT> string_type; 44 charT last_char() const in last_char() 65 template<typename charT> 66 std::basic_ostream<charT>& 67 operator<<(std::basic_ostream<charT>& os, parse_match_result<charT>& mr) in operator <<() 84 template<typename charT> 88 typedef std::multimap<charT, string_parse_tree< charT> > ptree_coll; 90 typedef std::multimap<charT, string_parse_tree > ptree_coll; 95 typedef std::basic_string<charT> string_type; [all …]
|
D | strings_from_facet.hpp | 34 template<typename charT> 35 std::vector<std::basic_string<charT> > 38 typedef std::basic_string<charT> string_type; in gather_month_strings() 40 typedef std::ostreambuf_iterator<charT> ostream_iter_type; in gather_month_strings() 41 typedef std::basic_ostringstream<charT> stringstream_type; in gather_month_strings() 42 typedef std::time_put<charT> time_put_facet_type; in gather_month_strings() 43 charT short_fmt[3] = { '%', 'b' }; in gather_month_strings() 44 charT long_fmt[3] = { '%', 'B' }; in gather_month_strings() 53 const charT* p_outfmt = outfmt.c_str(), *p_outfmt_end = p_outfmt + outfmt.size(); in gather_month_strings() 84 template<typename charT> [all …]
|
/third_party/boost/boost/date_time/posix_time/ |
D | posix_time_legacy_io.hpp | 36 template <class charT, class traits> 38 std::basic_ostream<charT, traits>& 39 operator<<(std::basic_ostream<charT, traits>& os, const time_duration& td) in operator <<() argument 41 …typedef boost::date_time::ostream_time_duration_formatter<time_duration, charT> duration_formatter; in operator <<() 47 template <class charT, class traits> 49 std::basic_ostream<charT, traits>& 50 operator<<(std::basic_ostream<charT, traits>& os, const ptime& t) in operator <<() argument 52 typedef boost::date_time::ostream_time_formatter<ptime, charT> time_formatter; in operator <<() 58 template <class charT, class traits> 60 std::basic_ostream<charT, traits>& [all …]
|
D | time_formatters.hpp | 32 template<class charT> 33 inline std::basic_string<charT> to_simple_string_type(time_duration td) { in to_simple_string_type() 34 std::basic_ostringstream<charT> ss; in to_simple_string_type() 56 charT fill_char = '0'; in to_simple_string_type() 71 charT buff[32]; in to_simple_string_type() 101 template<class charT> 102 inline std::basic_string<charT> to_iso_string_type(time_duration td) in to_iso_string_type() 104 std::basic_ostringstream<charT> ss; in to_iso_string_type() 125 charT fill_char = '0'; in to_iso_string_type() 140 charT buff[32]; in to_iso_string_type() [all …]
|
/third_party/boost/libs/regex/test/collate_info/ |
D | collate_info.cpp | 35 template <class charT> 36 int make_int(charT c) in make_int() 46 template <class charT> 47 void print_string(const std::basic_string<charT>& s) in print_string() 49 typedef typename std::basic_string<charT>::size_type size_type; in print_string() 85 template <class charT> 86 void print_c_info(charT, const char* name) in print_c_info() argument 90 print_c_char(charT('a')); in print_c_info() 93 print_c_char(charT('A')); in print_c_info() 96 print_c_char(charT('z')); in print_c_info() [all …]
|
/third_party/boost/boost/filesystem/ |
D | fstream.hpp | 52 template < class charT, class traits = std::char_traits<charT> > 53 class basic_filebuf : public std::basic_filebuf<charT,traits> 63 basic_filebuf<charT,traits>* 66 return std::basic_filebuf<charT,traits>::open(p.BOOST_FILESYSTEM_C_STR, mode) in open() 75 template < class charT, class traits = std::char_traits<charT> > 76 class basic_ifstream : public std::basic_ifstream<charT,traits> 89 : std::basic_ifstream<charT,traits>(p.BOOST_FILESYSTEM_C_STR, std::ios_base::in) {} in basic_ifstream() 92 : std::basic_ifstream<charT,traits>(p.BOOST_FILESYSTEM_C_STR, mode) {} in basic_ifstream() 95 { std::basic_ifstream<charT,traits>::open(p.BOOST_FILESYSTEM_C_STR, std::ios_base::in); } in open() 98 { std::basic_ifstream<charT,traits>::open(p.BOOST_FILESYSTEM_C_STR, mode); } in open() [all …]
|