• Home
  • Raw
  • Download

Lines Matching refs:UChar32

79       BOOST_REGEX_TEST_ERROR("Size mismatch in match_results class", UChar32);  in compare_result()
87 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
91 BOOST_REGEX_TEST_ERROR("Iterator mismatch in match_results class", UChar32); in compare_result()
96 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
107 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
111 BOOST_REGEX_TEST_ERROR("Iterator mismatch in match_results class", UChar32); in compare_result()
116 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
122 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
126 BOOST_REGEX_TEST_ERROR("Iterator mismatch in match_results class", UChar32); in compare_result()
131 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
143 BOOST_REGEX_TEST_ERROR("Size mismatch in match_results class", UChar32); in compare_result()
151 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
155 BOOST_REGEX_TEST_ERROR("Iterator mismatch in match_results class", UChar32); in compare_result()
160 BOOST_REGEX_TEST_ERROR("Matched mismatch in match_results class", UChar32); in compare_result()
165 void test_icu_grep(const boost::u32regex& r, const std::vector< ::UChar32>& search_text) in test_icu_grep()
167 typedef std::vector< ::UChar32>::const_iterator const_iterator; in test_icu_grep()
235 std::vector< ::UChar32> expression; in test_icu()
241 boost::regex_constants::syntax_option_type syntax_options = test_info<UChar32>::syntax_options(); in test_icu()
252 r.assign(static_cast<UChar32 const*>(0), expression.size(), syntax_options); in test_icu()
256 …ERROR("Expression did not compile when it should have done, error code = " << r.status(), UChar32); in test_icu()
258 std::vector< ::UChar32> search_text; in test_icu()
266 boost::match_results<std::vector< ::UChar32>::const_iterator> what; in test_icu()
268 const_cast<std::vector< ::UChar32>const&>(search_text).begin(), in test_icu()
269 const_cast<std::vector< ::UChar32>const&>(search_text).end(), in test_icu()
274 … test_result(what, const_cast<std::vector< ::UChar32>const&>(search_text).begin(), answer_table); in test_icu()
279 BOOST_REGEX_TEST_ERROR("Expected match was not found.", UChar32); in test_icu()
287 typedef boost::u32_to_u16_iterator<std::vector<UChar32>::const_iterator> u16_conv; in test_icu()
308 BOOST_REGEX_TEST_ERROR("Expected match was not found.", UChar32); in test_icu()
324 BOOST_REGEX_TEST_ERROR("Expected match was not found.", UChar32); in test_icu()
331 … typedef boost::u32_to_u8_iterator<std::vector<UChar32>::const_iterator, unsigned char> u8_conv; in test_icu()
352 BOOST_REGEX_TEST_ERROR("Expected match was not found.", UChar32); in test_icu()
368 BOOST_REGEX_TEST_ERROR("Expected match was not found.", UChar32); in test_icu()
381 …OST_REGEX_TEST_ERROR("Expression did not compile when it should have done: " << e.what(), UChar32); in test_icu()
385 BOOST_REGEX_TEST_ERROR("Received an unexpected std::runtime_error: " << e.what(), UChar32); in test_icu()
389 BOOST_REGEX_TEST_ERROR("Received an unexpected std::exception: " << e.what(), UChar32); in test_icu()
393 BOOST_REGEX_TEST_ERROR("Received an unexpected exception of unknown type", UChar32); in test_icu()
401 std::vector< ::UChar32> expression; in test_icu()
429 …r.assign(static_cast<UChar32 const*>(0), static_cast<boost::u32regex::size_type>(0), syntax_option… in test_icu()
456 …r.assign(static_cast<UChar32 const*>(0), static_cast<boost::u32regex::size_type>(0), syntax_option… in test_icu()
495 typedef boost::u32_to_u16_iterator<std::vector<UChar32>::const_iterator> u16_conv; in test_icu()
517 typedef boost::u32_to_u8_iterator<std::vector<UChar32>::const_iterator> u8_conv; in test_icu()
541 std::vector< ::UChar32> expression; in test_icu()
547 boost::regex_constants::syntax_option_type syntax_options = test_info<UChar32>::syntax_options(); in test_icu()
559 …r.assign(static_cast<UChar32 const*>(0), static_cast<boost::u32regex::size_type>(0), syntax_option… in test_icu()
563 …ERROR("Expression did not compile when it should have done, error code = " << r.status(), UChar32); in test_icu()
565 typedef std::vector<UChar32> string_type; in test_icu()
567 boost::regex_constants::match_flag_type opts = test_info<UChar32>::match_options(); in test_icu()
571 …search_text.assign(test_info<UChar32>::search_text().begin(), test_info<UChar32>::search_text().en… in test_icu()
572 …format_string.assign(test_info<UChar32>::format_string().begin(), test_info<UChar32>::format_strin… in test_icu()
574 …result_string.assign(test_info<UChar32>::result_string().begin(), test_info<UChar32>::result_strin… in test_icu()
576 …std::copy(test_info<UChar32>::search_text().begin(), test_info<UChar32>::search_text().end(), std:… in test_icu()
577 …std::copy(test_info<UChar32>::format_string().begin(), test_info<UChar32>::format_string().end(), … in test_icu()
579 …std::copy(test_info<UChar32>::result_string().begin(), test_info<UChar32>::result_string().end(), … in test_icu()
586 BOOST_REGEX_TEST_ERROR("regex_replace generated an incorrect string result", UChar32); in test_icu()
596 typedef boost::u32_to_u16_iterator<std::vector<UChar32>::const_iterator> u16_conv; in test_icu()
613 … BOOST_REGEX_TEST_ERROR("u32regex_replace with UTF-16 string returned incorrect result", UChar32); in test_icu()
630 … BOOST_REGEX_TEST_ERROR("u32regex_replace with UTF-16 string returned incorrect result", UChar32); in test_icu()
636 … typedef boost::u32_to_u8_iterator<std::vector<UChar32>::const_iterator, unsigned char> u8_conv; in test_icu()
653 … BOOST_REGEX_TEST_ERROR("u32regex_replace with UTF-8 string returned incorrect result", UChar32); in test_icu()
670 … BOOST_REGEX_TEST_ERROR("u32regex_replace with UTF-8 string returned incorrect result", UChar32); in test_icu()
677 …OST_REGEX_TEST_ERROR("Expression did not compile when it should have done: " << e.what(), UChar32); in test_icu()
681 BOOST_REGEX_TEST_ERROR("Received an unexpected std::runtime_error: " << e.what(), UChar32); in test_icu()
685 BOOST_REGEX_TEST_ERROR("Received an unexpected std::exception: " << e.what(), UChar32); in test_icu()
689 BOOST_REGEX_TEST_ERROR("Received an unexpected exception of unknown type", UChar32); in test_icu()