Lines Matching refs:maxcode
252 read_utf8_code_point(range<const C>& from, unsigned long maxcode) in read_utf8_code_point() argument
274 if (c <= maxcode) in read_utf8_code_point()
291 if (c <= maxcode) in read_utf8_code_point()
313 if (c <= maxcode) in read_utf8_code_point()
397 unsigned long maxcode, codecvt_mode mode) in read_utf16_code_point() argument
419 if (c <= maxcode) in read_utf16_code_point()
455 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_in() argument
460 const char32_t codepoint = read_utf8_code_point(from, maxcode);
463 if (codepoint > maxcode)
474 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_out() argument
481 if (c > maxcode)
493 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_in() argument
498 const char32_t codepoint = read_utf16_code_point(from, maxcode, mode);
501 if (codepoint > maxcode)
511 unsigned long maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_out() argument
518 if (c > maxcode)
534 unsigned long maxcode = max_code_point, codecvt_mode mode = {}, in utf16_in() argument
541 const char32_t codepoint = read_utf8_code_point(from, maxcode);
549 if (codepoint > maxcode)
564 unsigned long maxcode = max_code_point, codecvt_mode mode = {}, in utf16_out() argument
592 if (c > maxcode)
605 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in utf16_span() argument
612 char32_t c = read_utf8_code_point(from, maxcode);
613 if (c > maxcode)
620 read_utf8_code_point(from, std::min(max_single_utf16_unit, maxcode));
628 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs2_in() argument
631 maxcode = std::min(max_single_utf16_unit, maxcode);
632 return utf16_in(from, to, maxcode, mode, surrogates::disallowed);
639 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs2_out() argument
642 maxcode = std::min(max_single_utf16_unit, maxcode);
643 return utf16_out(from, to, maxcode, mode, surrogates::disallowed);
649 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs2_out() argument
658 if (c > maxcode)
669 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs2_in() argument
673 maxcode = std::min(max_single_utf16_unit, maxcode);
676 const char32_t c = read_utf16_code_point(from, maxcode, mode);
679 if (c > maxcode)
688 char32_t maxcode, codecvt_mode mode) in ucs2_span() argument
692 maxcode = std::min(max_single_utf16_unit, maxcode); in ucs2_span()
694 while (max-- && c <= maxcode) in ucs2_span()
695 c = read_utf16_code_point(from, maxcode, mode); in ucs2_span()
702 char32_t maxcode, codecvt_mode mode) in ucs2_span() argument
707 maxcode = std::min(max_single_utf16_unit, maxcode); in ucs2_span()
709 while (max-- && c <= maxcode) in ucs2_span()
710 c = read_utf8_code_point(from, maxcode); in ucs2_span()
718 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_span() argument
723 while (max-- && c <= maxcode)
724 c = read_utf8_code_point(from, maxcode);
731 char32_t maxcode = max_code_point, codecvt_mode mode = {}) in ucs4_span() argument
735 while (max-- && c <= maxcode)
736 c = read_utf16_code_point(from, maxcode, mode);