v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <unicode.h>
Static Public Member Functions | |
static bool | IsSurrogatePair (int lead, int trail) |
static bool | IsLeadSurrogate (int code) |
static bool | IsTrailSurrogate (int code) |
static int | CombineSurrogatePair (uchar lead, uchar trail) |
static uint16_t | LeadSurrogate (uint32_t char_code) |
static uint16_t | TrailSurrogate (uint32_t char_code) |
Static Public Attributes | |
static const int | kNoPreviousCharacter = -1 |
static const uchar | kMaxNonSurrogateCharCode = 0xffff |
static const int | kMaxExtraUtf8BytesForOneUtf16CodeUnit = 3 |
static const int | kUtf8BytesToCodeASurrogate = 3 |
Definition at line 117 of file unicode.h.
Referenced by Utf8::Encode().
|
inlinestatic |
Definition at line 108 of file unicode.h.
References Utf16::kNoPreviousCharacter.
Referenced by Utf8::Encode(), Utf16::IsSurrogatePair(), Utf8::Length(), and Utf8LengthHelper::Visitor::VisitTwoByteString().
|
inlinestatic |
Definition at line 105 of file unicode.h.
References Utf16::IsLeadSurrogate(), and Utf16::IsTrailSurrogate().
Referenced by Utf8::Encode().
|
inlinestatic |
Definition at line 112 of file unicode.h.
References Utf16::kNoPreviousCharacter.
Referenced by Utf8::Encode(), Utf16::IsSurrogatePair(), Utf8::Length(), and Utf8LengthHelper::Visitor::VisitTwoByteString().
|
inlinestatic |
Definition at line 131 of file unicode.h.
Referenced by StringHasher::ComputeUtf8Hash(), Utf8ToUtf16CharacterStream::FillBuffer(), String::IsUtf8EqualTo(), Utf8DecoderBase::Reset(), and Utf8DecoderBase::WriteUtf16Slow().
|
inlinestatic |
Definition at line 134 of file unicode.h.
Referenced by StringHasher::ComputeUtf8Hash(), Utf8ToUtf16CharacterStream::FillBuffer(), String::IsUtf8EqualTo(), Utf8DecoderBase::Reset(), and Utf8DecoderBase::WriteUtf16Slow().
|
static |
|
static |
Definition at line 121 of file unicode.h.
Referenced by StringHasher::ComputeUtf8Hash(), String::IsUtf8EqualTo(), Utf8DecoderBase::Reset(), and Utf8DecoderBase::WriteUtf16Slow().
|
static |
Definition at line 120 of file unicode.h.
Referenced by CodeEventLogger::NameBuffer::AppendString(), Utf8::Encode(), Utf16::IsLeadSurrogate(), Utf16::IsTrailSurrogate(), TEST(), String::ToCString(), and Utf8LengthHelper::Visitor::VisitTwoByteString().