Lines Matching refs:max_length
983 … int convert_utf8_to_utf16(const char *input, PCRE_UCHAR16 *output, int *offsetmap, int max_length) in convert_utf8_to_utf16() argument
989 if (max_length == 0) in convert_utf8_to_utf16()
992 while (*iptr && max_length > 1) { in convert_utf8_to_utf16()
1012 max_length--; in convert_utf8_to_utf16()
1013 } else if (max_length <= 2) { in convert_utf8_to_utf16()
1020 max_length -= 2; in convert_utf8_to_utf16()
1031 static int copy_char8_to_char16(const char *input, PCRE_UCHAR16 *output, int max_length) in copy_char8_to_char16() argument
1036 if (max_length == 0) in copy_char8_to_char16()
1039 while (*iptr && max_length > 1) { in copy_char8_to_char16()
1041 max_length--; in copy_char8_to_char16()
1055 … int convert_utf8_to_utf32(const char *input, PCRE_UCHAR32 *output, int *offsetmap, int max_length) in convert_utf8_to_utf32() argument
1061 if (max_length == 0) in convert_utf8_to_utf32()
1064 while (*iptr && max_length > 1) { in convert_utf8_to_utf32()
1083 max_length--; in convert_utf8_to_utf32()
1091 static int copy_char8_to_char32(const char *input, PCRE_UCHAR32 *output, int max_length) in copy_char8_to_char32() argument
1096 if (max_length == 0) in copy_char8_to_char32()
1099 while (*iptr && max_length > 1) { in copy_char8_to_char32()
1101 max_length--; in copy_char8_to_char32()