V8 Project
|
#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 94 of file unicode.h.
Referenced by unibrow::Utf8::Encode().
Definition at line 85 of file unicode.h.
References kNoPreviousCharacter.
Referenced by unibrow::Utf8::Encode(), IsSurrogatePair(), unibrow::Utf8::Length(), and v8::Utf8LengthHelper::Visitor::VisitTwoByteString().
Definition at line 82 of file unicode.h.
References IsLeadSurrogate(), and IsTrailSurrogate().
Referenced by unibrow::Utf8::Encode().
Definition at line 89 of file unicode.h.
References kNoPreviousCharacter.
Referenced by unibrow::Utf8::Encode(), IsSurrogatePair(), unibrow::Utf8::Length(), and v8::Utf8LengthHelper::Visitor::VisitTwoByteString().
Definition at line 108 of file unicode.h.
Referenced by v8::internal::StringHasher::ComputeUtf8Hash(), v8::internal::Utf8ToUtf16CharacterStream::CopyChars(), v8::internal::String::IsUtf8EqualTo(), unibrow::Utf8DecoderBase::Reset(), v8::internal::WriteTwoByteData(), and unibrow::Utf8DecoderBase::WriteUtf16Slow().
Definition at line 111 of file unicode.h.
Referenced by v8::internal::StringHasher::ComputeUtf8Hash(), v8::internal::Utf8ToUtf16CharacterStream::CopyChars(), v8::internal::String::IsUtf8EqualTo(), unibrow::Utf8DecoderBase::Reset(), v8::internal::WriteTwoByteData(), and unibrow::Utf8DecoderBase::WriteUtf16Slow().
|
static |
|
static |
Definition at line 98 of file unicode.h.
Referenced by v8::internal::StringHasher::ComputeUtf8Hash(), v8::internal::String::IsUtf8EqualTo(), unibrow::Utf8DecoderBase::Reset(), v8::internal::WriteTwoByteData(), and unibrow::Utf8DecoderBase::WriteUtf16Slow().
|
static |
Definition at line 97 of file unicode.h.
Referenced by v8::internal::CodeEventLogger::NameBuffer::AppendString(), unibrow::Utf8::Encode(), IsLeadSurrogate(), IsTrailSurrogate(), v8::internal::String::ToCString(), and v8::Utf8LengthHelper::Visitor::VisitTwoByteString().
|
static |