Lines Matching refs:result
546 struct result {
550 simdutf_really_inline result();
552 simdutf_really_inline result(error_code, size_t);
908 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
910 simdutf_warn_unused result validate_utf8_with_errors(const char *buf, size_t len) noexcept;
931 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
933 simdutf_warn_unused result validate_ascii_with_errors(const char *buf, size_t len) noexcept;
990 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
992 simdutf_warn_unused result validate_utf16_with_errors(const char16_t *buf, size_t len) noexcept;
1004 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
1006 simdutf_warn_unused result validate_utf16le_with_errors(const char16_t *buf, size_t len) noexcept;
1018 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
1020 simdutf_warn_unused result validate_utf16be_with_errors(const char16_t *buf, size_t len) noexcept;
1047 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
1049 simdutf_warn_unused result validate_utf32_with_errors(const char32_t *buf, size_t len) noexcept;
1058 * @param latin1_output the pointer to buffer that can hold conversion result
1071 * @param utf16_buffer the pointer to buffer that can hold conversion result
1083 * @param utf16_buffer the pointer to buffer that can hold conversion result
1095 * @param utf32_buffer the pointer to buffer that can hold conversion result
1108 * @param latin1_output the pointer to buffer that can hold conversion result
1121 * @param utf16_buffer the pointer to buffer that can hold conversion result
1132 * @param utf16_buffer the pointer to buffer that can hold conversion result
1145 * @param utf16_buffer the pointer to buffer that can hold conversion result
1158 * @param utf16_buffer the pointer to buffer that can hold conversion result
1172 * @param latin1_output the pointer to buffer that can hold conversion result
1173 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
1175 simdutf_warn_unused result convert_utf8_to_latin1_with_errors(const char * input, size_t length, char* latin1_output) noexcept;
1186 * @param utf16_buffer the pointer to buffer that can hold conversion result
1187 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1189 simdutf_warn_unused result convert_utf8_to_utf16_with_errors(const char * input, size_t length, char16_t* utf16_output) noexcept;
1199 * @param utf16_buffer the pointer to buffer that can hold conversion result
1200 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1202 simdutf_warn_unused result convert_utf8_to_utf16le_with_errors(const char * input, size_t length, char16_t* utf16_output) noexcept;
1212 * @param utf16_buffer the pointer to buffer that can hold conversion result
1213 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1215 simdutf_warn_unused result convert_utf8_to_utf16be_with_errors(const char * input, size_t length, char16_t* utf16_output) noexcept;
1225 * @param utf32_buffer the pointer to buffer that can hold conversion result
1238 * @param utf32_buffer the pointer to buffer that can hold conversion result
1239 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
1241 simdutf_warn_unused result convert_utf8_to_utf32_with_errors(const char * input, size_t length, char32_t* utf32_output) noexcept;
1252 * @param latin1_output the pointer to buffer that can hold conversion result
1265 * @param utf16_buffer the pointer to buffer that can hold conversion result
1277 * @param utf16_buffer the pointer to buffer that can hold conversion result
1289 * @param utf16_buffer the pointer to buffer that can hold conversion result
1301 * @param utf32_buffer the pointer to buffer that can hold conversion result
1367 * @param utf8_buffer the pointer to buffer that can hold conversion result
1384 * @param latin1_buffer the pointer to buffer that can hold conversion result
1399 * @param latin1_buffer the pointer to buffer that can hold conversion result
1414 * @param latin1_buffer the pointer to buffer that can hold conversion result
1415 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1430 * @param utf8_buffer the pointer to buffer that can hold conversion result
1445 * @param utf8_buffer the pointer to buffer that can hold conversion result
1459 * @param latin1_buffer the pointer to buffer that can hold conversion result
1460 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1462 simdutf_warn_unused result convert_utf16_to_latin1_with_errors(const char16_t * input, size_t length, char* latin1_buffer) noexcept;
1473 * @param latin1_buffer the pointer to buffer that can hold conversion result
1474 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1476 simdutf_warn_unused result convert_utf16le_to_latin1_with_errors(const char16_t * input, size_t length, char* latin1_buffer) noexcept;
1487 * @param latin1_buffer the pointer to buffer that can hold conversion result
1488 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1490 simdutf_warn_unused result convert_utf16be_to_latin1_with_errors(const char16_t * input, size_t length, char* latin1_buffer) noexcept;
1503 * @param utf8_buffer the pointer to buffer that can hold conversion result
1504 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1506 simdutf_warn_unused result convert_utf16_to_utf8_with_errors(const char16_t * input, size_t length, char* utf8_buffer) noexcept;
1518 * @param utf8_buffer the pointer to buffer that can hold conversion result
1519 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1521 simdutf_warn_unused result convert_utf16le_to_utf8_with_errors(const char16_t * input, size_t length, char* utf8_buffer) noexcept;
1533 * @param utf8_buffer the pointer to buffer that can hold conversion result
1534 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1536 simdutf_warn_unused result convert_utf16be_to_utf8_with_errors(const char16_t * input, size_t length, char* utf8_buffer) noexcept;
1547 * @param utf8_buffer the pointer to buffer that can hold the conversion result
1562 * @param latin1_buffer the pointer to buffer that can hold conversion result
1576 * @param latin1_buffer the pointer to buffer that can hold conversion result
1590 * @param latin1_buffer the pointer to buffer that can hold conversion result
1605 * @param utf8_buffer the pointer to buffer that can hold the conversion result
1619 * @param utf8_buffer the pointer to buffer that can hold the conversion result
1634 * @param utf32_buffer the pointer to buffer that can hold conversion result
1649 * @param utf32_buffer the pointer to buffer that can hold conversion result
1664 * @param utf32_buffer the pointer to buffer that can hold conversion result
1680 * @param utf32_buffer the pointer to buffer that can hold conversion result
1681 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
1683 simdutf_warn_unused result convert_utf16_to_utf32_with_errors(const char16_t * input, size_t length, char32_t* utf32_buffer) noexcept;
1695 * @param utf32_buffer the pointer to buffer that can hold conversion result
1696 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
1698 simdutf_warn_unused result convert_utf16le_to_utf32_with_errors(const char16_t * input, size_t length, char32_t* utf32_buffer) noexcept;
1710 * @param utf32_buffer the pointer to buffer that can hold conversion result
1711 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
1713 simdutf_warn_unused result convert_utf16be_to_utf32_with_errors(const char16_t * input, size_t length, char32_t* utf32_buffer) noexcept;
1724 * @param utf32_buffer the pointer to buffer that can hold the conversion result
1738 * @param utf32_buffer the pointer to buffer that can hold the conversion result
1752 * @param utf32_buffer the pointer to buffer that can hold the conversion result
1815 * @param utf8_buffer the pointer to buffer that can hold conversion result
1830 * @param utf8_buffer the pointer to buffer that can hold conversion result
1831 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1833 simdutf_warn_unused result convert_utf32_to_utf8_with_errors(const char32_t * input, size_t length, char* utf8_buffer) noexcept;
1844 * @param utf8_buffer the pointer to buffer that can hold the conversion result
1859 * @param utf16_buffer the pointer to buffer that can hold conversion result
1874 * @param utf16_buffer the pointer to buffer that can hold conversion result
1889 * @param latin1_buffer the pointer to buffer that can hold conversion result
1905 * @param latin1_buffer the pointer to buffer that can hold conversion result
1906 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
1908 simdutf_warn_unused result convert_utf32_to_latin1_with_errors(const char32_t * input, size_t length, char* latin1_buffer) noexcept;
1919 * @param latin1_buffer the pointer to buffer that can hold the conversion result
1934 * @param utf16_buffer the pointer to buffer that can hold conversion result
1950 * @param utf16_buffer the pointer to buffer that can hold conversion result
1951 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1953 simdutf_warn_unused result convert_utf32_to_utf16_with_errors(const char32_t * input, size_t length, char16_t* utf16_buffer) noexcept;
1965 * @param utf16_buffer the pointer to buffer that can hold conversion result
1966 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1968 simdutf_warn_unused result convert_utf32_to_utf16le_with_errors(const char32_t * input, size_t length, char16_t* utf16_buffer) noexcept;
1980 * @param utf16_buffer the pointer to buffer that can hold conversion result
1981 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
1983 simdutf_warn_unused result convert_utf32_to_utf16be_with_errors(const char32_t * input, size_t length, char16_t* utf16_buffer) noexcept;
1994 * @param utf16_buffer the pointer to buffer that can hold the conversion result
2008 * @param utf16_buffer the pointer to buffer that can hold the conversion result
2022 * @param utf16_buffer the pointer to buffer that can hold the conversion result
2037 * @param output the pointer to buffer that can hold the conversion result
2308 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2310 simdutf_warn_unused virtual result validate_utf8_with_errors(const char *buf, size_t len) const noexcept = 0;
2330 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2332 simdutf_warn_unused virtual result validate_ascii_with_errors(const char *buf, size_t len) const noexcept = 0;
2374 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2376 simdutf_warn_unused virtual result validate_utf16le_with_errors(const char16_t *buf, size_t len) const noexcept = 0;
2388 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2390 simdutf_warn_unused virtual result validate_utf16be_with_errors(const char16_t *buf, size_t len) const noexcept = 0;
2414 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2416 simdutf_warn_unused virtual result validate_utf32_with_errors(const char32_t *buf, size_t len) const noexcept = 0;
2425 * @param latin1_output the pointer to buffer that can hold conversion result
2438 * @param utf16_buffer the pointer to buffer that can hold conversion result
2450 * @param utf16_buffer the pointer to buffer that can hold conversion result
2462 * @param utf32_buffer the pointer to buffer that can hold conversion result
2475 * @param latin1_output the pointer to buffer that can hold conversion result
2488 * @param latin1_output the pointer to buffer that can hold conversion result
2489 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2491 simdutf_warn_unused virtual result convert_utf8_to_latin1_with_errors(const char * input, size_t length, char* latin1_output) const noexcept = 0;
2502 * @param latin1_output the pointer to buffer that can hold conversion result
2516 * @param utf16_buffer the pointer to buffer that can hold conversion result
2529 * @param utf16_buffer the pointer to buffer that can hold conversion result
2542 * @param utf16_buffer the pointer to buffer that can hold conversion result
2543 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2545 simdutf_warn_unused virtual result convert_utf8_to_utf16le_with_errors(const char * input, size_t length, char16_t* utf16_output) const noexcept = 0;
2555 * @param utf16_buffer the pointer to buffer that can hold conversion result
2556 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of code units validated if successful.
2558 simdutf_warn_unused virtual result convert_utf8_to_utf16be_with_errors(const char * input, size_t length, char16_t* utf16_output) const noexcept = 0;
2568 * @param utf32_buffer the pointer to buffer that can hold conversion result
2581 * @param utf32_buffer the pointer to buffer that can hold conversion result
2582 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
2584 simdutf_warn_unused virtual result convert_utf8_to_utf32_with_errors(const char * input, size_t length, char32_t* utf32_output) const noexcept = 0;
2593 * @param utf16_buffer the pointer to buffer that can hold conversion result
2605 * @param utf16_buffer the pointer to buffer that can hold conversion result
2617 * @param utf16_buffer the pointer to buffer that can hold conversion result
2656 * @param latin1_buffer the pointer to buffer that can hold conversion result
2671 * @param latin1_buffer the pointer to buffer that can hold conversion result
2672 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2685 * @param latin1_buffer the pointer to buffer that can hold conversion result
2686 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2688 simdutf_warn_unused virtual result convert_utf16le_to_latin1_with_errors(const char16_t * input, size_t length, char* latin1_buffer) const noexcept = 0;
2699 * @param latin1_buffer the pointer to buffer that can hold conversion result
2700 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2702 simdutf_warn_unused virtual result convert_utf16be_to_latin1_with_errors(const char16_t * input, size_t length, char* latin1_buffer) const noexcept = 0;
2713 * @param latin1_buffer the pointer to buffer that can hold conversion result
2727 * @param latin1_buffer the pointer to buffer that can hold conversion result
2742 * @param utf8_buffer the pointer to buffer that can hold conversion result
2757 * @param utf8_buffer the pointer to buffer that can hold conversion result
2772 * @param utf8_buffer the pointer to buffer that can hold conversion result
2773 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2775 simdutf_warn_unused virtual result convert_utf16le_to_utf8_with_errors(const char16_t * input, size_t length, char* utf8_buffer) const noexcept = 0;
2787 * @param utf8_buffer the pointer to buffer that can hold conversion result
2788 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2790 simdutf_warn_unused virtual result convert_utf16be_to_utf8_with_errors(const char16_t * input, size_t length, char* utf8_buffer) const noexcept = 0;
2801 * @param utf8_buffer the pointer to buffer that can hold the conversion result
2815 * @param utf8_buffer the pointer to buffer that can hold the conversion result
2830 * @param utf32_buffer the pointer to buffer that can hold conversion result
2845 * @param utf32_buffer the pointer to buffer that can hold conversion result
2860 * @param utf32_buffer the pointer to buffer that can hold conversion result
2861 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
2863 simdutf_warn_unused virtual result convert_utf16le_to_utf32_with_errors(const char16_t * input, size_t length, char32_t* utf32_buffer) const noexcept = 0;
2875 * @param utf32_buffer the pointer to buffer that can hold conversion result
2876 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char32_t written if successful.
2878 simdutf_warn_unused virtual result convert_utf16be_to_utf32_with_errors(const char16_t * input, size_t length, char32_t* utf32_buffer) const noexcept = 0;
2889 * @param utf32_buffer the pointer to buffer that can hold the conversion result
2903 * @param utf32_buffer the pointer to buffer that can hold the conversion result
2944 * @param latin1_buffer the pointer to buffer that can hold conversion result
2960 * @param latin1_buffer the pointer to buffer that can hold conversion result
2961 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
2964 simdutf_warn_unused virtual result convert_utf32_to_latin1_with_errors(const char32_t * input, size_t length, char* latin1_buffer) const noexcept = 0;
2975 * @param latin1_buffer the pointer to buffer that can hold the conversion result
2990 * @param utf8_buffer the pointer to buffer that can hold conversion result
3005 * @param utf8_buffer the pointer to buffer that can hold conversion result
3006 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char written if successful.
3008 simdutf_warn_unused virtual result convert_utf32_to_utf8_with_errors(const char32_t * input, size_t length, char* utf8_buffer) const noexcept = 0;
3019 * @param utf8_buffer the pointer to buffer that can hold the conversion result
3045 * @param utf16_buffer the pointer to buffer that can hold conversion result
3060 * @param utf16_buffer the pointer to buffer that can hold conversion result
3075 * @param utf16_buffer the pointer to buffer that can hold conversion result
3076 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
3078 simdutf_warn_unused virtual result convert_utf32_to_utf16le_with_errors(const char32_t * input, size_t length, char16_t* utf16_buffer) const noexcept = 0;
3090 * @param utf16_buffer the pointer to buffer that can hold conversion result
3091 * @return a result pair struct (of type simdutf::error containing the two fields error and count) with an error code and either position of the error (in the input in code units) if any, or the number of char16_t written if successful.
3093 simdutf_warn_unused virtual result convert_utf32_to_utf16be_with_errors(const char32_t * input, size_t length, char16_t* utf16_buffer) const noexcept = 0;
3104 * @param utf16_buffer the pointer to buffer that can hold the conversion result
3118 * @param utf16_buffer the pointer to buffer that can hold the conversion result
3133 * @param output the pointer to buffer that can hold the conversion result