v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <unicode.h>
Static Public Member Functions | |
static bool | IsLeadSurrogate (int code) |
static bool | IsTrailSurrogate (int code) |
static int | CombineSurrogatePair (uchar lead, uchar trail) |
static uchar | LeadSurrogate (int char_code) |
static uchar | TrailSurrogate (int 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 129 of file unicode.h.
Referenced by Utf8::Encode().
|
inlinestatic |
Definition at line 120 of file unicode.h.
References Utf16::kNoPreviousCharacter.
Referenced by Utf8::Encode(), Utf8::Length(), v8::internal::Utf8LengthHelper(), and String::WriteUtf8().
|
inlinestatic |
Definition at line 124 of file unicode.h.
References Utf16::kNoPreviousCharacter.
Referenced by Utf8::Encode(), Utf8::Length(), v8::internal::Utf8LengthHelper(), and String::WriteUtf8().
|
inlinestatic |
Definition at line 143 of file unicode.h.
Referenced by StringHasher::AddSurrogatePair(), StringHasher::AddSurrogatePairNoIndex(), Heap::AllocateInternalSymbol(), Heap::AllocateStringFromUtf8Slow(), Utf8ToUtf16CharacterStream::FillBuffer(), String::IsEqualTo(), and InputStreamUtf16Buffer::ReadBlock().
|
inlinestatic |
Definition at line 146 of file unicode.h.
Referenced by StringHasher::AddSurrogatePair(), StringHasher::AddSurrogatePairNoIndex(), Heap::AllocateInternalSymbol(), Heap::AllocateStringFromUtf8Slow(), Utf8ToUtf16CharacterStream::FillBuffer(), String::IsEqualTo(), and InputStreamUtf16Buffer::ReadBlock().
|
static |
|
static |
Definition at line 133 of file unicode.h.
Referenced by StringHasher::AddCharacter(), StringHasher::AddCharacterNoIndex(), Heap::AllocateInternalSymbol(), Heap::AllocateStringFromUtf8Slow(), String::IsEqualTo(), InputStreamUtf16Buffer::ReadBlock(), and CharacterStream::Utf16Length().
|
static |
Definition at line 132 of file unicode.h.
Referenced by Logger::NameBuffer::AppendString(), Utf8::Encode(), Utf16::IsLeadSurrogate(), Utf16::IsTrailSurrogate(), TEST(), String::ToCString(), v8::internal::Utf8LengthHelper(), and String::WriteUtf8().