Searched refs:codepoint_bytes (Results 1 – 2 of 2) sorted by relevance
54 size_t codepoint_bytes = 0; in ValidUTF8Span() local60 while (data + codepoint_bytes < end) { in ValidUTF8Span()62 err_pos += codepoint_bytes; in ValidUTF8Span()64 data += codepoint_bytes; in ValidUTF8Span()77 codepoint_bytes = 1; in ValidUTF8Span()82 codepoint_bytes = 2; in ValidUTF8Span()104 codepoint_bytes = 3; in ValidUTF8Span()120 codepoint_bytes = 4; in ValidUTF8Span()128 err_pos += codepoint_bytes; in ValidUTF8Span()
62 size_t codepoint_bytes = 0; in utf8_range_ValidateUTF8Naive() local68 while (data + codepoint_bytes < end) { in utf8_range_ValidateUTF8Naive()70 err_pos += codepoint_bytes; in utf8_range_ValidateUTF8Naive()72 data += codepoint_bytes; in utf8_range_ValidateUTF8Naive()85 codepoint_bytes = 1; in utf8_range_ValidateUTF8Naive()91 codepoint_bytes = 2; in utf8_range_ValidateUTF8Naive()114 codepoint_bytes = 3; in utf8_range_ValidateUTF8Naive()130 codepoint_bytes = 4; in utf8_range_ValidateUTF8Naive()138 err_pos += codepoint_bytes; in utf8_range_ValidateUTF8Naive()