#include <unicode.h>
Static Public メソッド | |
static uchar | Length (uchar chr) |
static unsigned | Encode (char *out, uchar c) |
static const byte * | ReadBlock (Buffer< const char * > str, byte *buffer, unsigned capacity, unsigned *chars_read, unsigned *offset) |
Static Public 変数 | |
static const uchar | kBadChar = 0xFFFD |
static const unsigned | kMaxEncodedSize = 4 |
static const unsigned | kMaxOneByteChar = 0x7f |
static const unsigned | kMaxTwoByteChar = 0x7ff |
static const unsigned | kMaxThreeByteChar = 0xffff |
static const unsigned | kMaxFourByteChar = 0x1fffff |
Static Private メソッド | |
static uchar | ValueOf (const byte *str, unsigned length, unsigned *cursor) |
static uchar | CalculateValue (const byte *str, unsigned length, unsigned *cursor) |
フレンド | |
class | Utf8InputBuffer |
class | Test |
uchar unibrow::Utf8::CalculateValue | ( | const byte * | str, | |
unsigned | length, | |||
unsigned * | cursor | |||
) | [static, private] |
unicode.cc の 181 行で定義されています。
参照先 kBadChar, kMaxFourByteChar, kMaxOneByteChar, kMaxThreeByteChar, と kMaxTwoByteChar.
参照元 ValueOf().
unsigned unibrow::Utf8::Encode | ( | char * | out, | |
uchar | c | |||
) | [inline, static] |
unicode-inl.h の 81 行で定義されています。
参照先 kMaxOneByteChar, kMaxThreeByteChar, と kMaxTwoByteChar.
参照元 v8::internal::UTF8Buffer::AddChar(), v8::internal::String::ToCString(), と v8::String::WriteUtf8().
unsigned unibrow::Utf8::Length | ( | uchar | chr | ) | [inline, static] |
unicode-inl.h の 116 行で定義されています。
参照先 kMaxOneByteChar, kMaxThreeByteChar, と kMaxTwoByteChar.
参照元 v8::internal::String::ToCString(), と v8::internal::String::Utf8Length().
friend class Utf8InputBuffer [friend] |
const uchar unibrow::Utf8::kBadChar = 0xFFFD [static] |
const unsigned unibrow::Utf8::kMaxEncodedSize = 4 [static] |
const unsigned unibrow::Utf8::kMaxFourByteChar = 0x1fffff [static] |
参照元 CalculateValue().
const unsigned unibrow::Utf8::kMaxOneByteChar = 0x7f [static] |
const unsigned unibrow::Utf8::kMaxThreeByteChar = 0xffff [static] |
参照元 CalculateValue(), Encode(), と Length().
const unsigned unibrow::Utf8::kMaxTwoByteChar = 0x7ff [static] |
参照元 CalculateValue(), Encode(), と Length().