Flutter Engine
The Flutter Engine
|
#include <unicode.h>
Public Types | |
enum | Type { kLatin1 = 0 , kBMP , kSupplementary } |
Static Public Member Functions | |
static intptr_t | CodeUnitCount (const uint8_t *utf8_array, intptr_t array_len, Type *type) |
static bool | IsValid (const uint8_t *utf8_array, intptr_t array_len) |
static intptr_t | Length (int32_t ch) |
static intptr_t | Length (const String &str) |
static intptr_t | Encode (int32_t ch, char *dst) |
static intptr_t | Encode (const String &src, char *dst, intptr_t len) |
static intptr_t | Decode (const uint8_t *utf8_array, intptr_t array_len, int32_t *ch) |
static bool | DecodeToLatin1 (const uint8_t *utf8_array, intptr_t array_len, uint8_t *dst, intptr_t len) |
static bool | DecodeToUTF16 (const uint8_t *utf8_array, intptr_t array_len, uint16_t *dst, intptr_t len) |
static bool | DecodeToUTF32 (const uint8_t *utf8_array, intptr_t array_len, int32_t *dst, intptr_t len) |
static intptr_t | ReportInvalidByte (const uint8_t *utf8_array, intptr_t array_len, intptr_t len) |
static bool | DecodeCStringToUTF32 (const char *str, int32_t *dst, intptr_t len) |
Static Public Attributes | |
static constexpr int32_t | kMaxOneByteChar = 0x7F |
static constexpr int32_t | kMaxTwoByteChar = 0x7FF |
static constexpr int32_t | kMaxThreeByteChar = 0xFFFF |
static constexpr int32_t | kMaxFourByteChar = Utf::kMaxCodePoint |
enum dart::Utf8::Type |
|
static |
Definition at line 46 of file unicode.cc.
|
static |
Definition at line 135 of file unicode.cc.
|
static |
Definition at line 266 of file unicode.cc.
|
static |
Definition at line 194 of file unicode.cc.
|
static |
Definition at line 217 of file unicode.cc.
|
static |
Definition at line 245 of file unicode.cc.
|
static |
Definition at line 65 of file unicode.cc.
|
static |
|
static |
Definition at line 70 of file unicode.cc.
|
static |
Definition at line 21 of file unicode.cc.
|
static |
Definition at line 98 of file unicode.cc.
|
static |
Definition at line 163 of file unicode.cc.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |