Searched refs:utf8_char (Results 1 – 13 of 13) sorted by relevance
/external/libtextclassifier/abseil-cpp/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/abseil-cpp/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/ |
D | utf8.cc | 23 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char) { in EncodeUTF8Char() argument 24 if (utf8_char <= 0x7F) { in EncodeUTF8Char() 25 *buffer = static_cast<char>(utf8_char); in EncodeUTF8Char() 27 } else if (utf8_char <= 0x7FF) { in EncodeUTF8Char() 28 buffer[1] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 29 utf8_char >>= 6; in EncodeUTF8Char() 30 buffer[0] = 0xC0 | utf8_char; in EncodeUTF8Char() 32 } else if (utf8_char <= 0xFFFF) { in EncodeUTF8Char() 33 buffer[2] = 0x80 | (utf8_char & 0x3F); in EncodeUTF8Char() 34 utf8_char >>= 6; in EncodeUTF8Char() [all …]
|
D | utf8.h | 44 size_t EncodeUTF8Char(char *buffer, char32_t utf8_char);
|
/external/mtools/ |
D | texinfo.tex | 9968 local utf8_char, byte, gsub = unicode.utf8.char, string.byte, string.gsub 9970 return utf8_char(byte(char))
|