Home
last modified time | relevance | path

Searched refs:codepoint_bytes (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/utf8_range/
Dutf8_validity.cc54 size_t codepoint_bytes = 0; in ValidUTF8Span() local
60 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()
/aosp_15_r20/external/grpc-grpc/third_party/utf8_range/
H A Dutf8_range.c62 size_t codepoint_bytes = 0; in utf8_range_ValidateUTF8Naive() local
68 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()