v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <unicode.h>
Public Member Functions | |
Utf8DecoderBase () | |
Utf8DecoderBase (uint16_t *buffer, unsigned buffer_length, const uint8_t *stream, unsigned stream_length) | |
unsigned | Utf16Length () const |
Protected Member Functions | |
void | Reset (uint16_t *buffer, unsigned buffer_length, const uint8_t *stream, unsigned stream_length) |
Static Protected Member Functions | |
static void | WriteUtf16Slow (const uint8_t *stream, uint16_t *data, unsigned length) |
Protected Attributes | |
const uint8_t * | unbuffered_start_ |
unsigned | utf16_length_ |
bool | last_byte_of_buffer_unused_ |
|
inline |
Definition at line 179 of file unicode-inl.h.
|
inline |
Definition at line 184 of file unicode-inl.h.
References Utf8DecoderBase::Reset().
|
protected |
Definition at line 284 of file unicode.cc.
References ASSERT, Utf16::kMaxNonSurrogateCharCode, Utf8DecoderBase::last_byte_of_buffer_unused_, Utf16::LeadSurrogate(), NULL, Utf16::TrailSurrogate(), Utf8DecoderBase::unbuffered_start_, Utf8DecoderBase::utf16_length_, and Utf8::ValueOf().
Referenced by Utf8Decoder< kBufferSize >::Reset(), and Utf8DecoderBase::Utf8DecoderBase().
|
inline |
Definition at line 190 of file unicode.h.
References Utf8DecoderBase::utf16_length_.
|
staticprotected |
Definition at line 331 of file unicode.cc.
References ASSERT, Utf8::kMaxEncodedSize, Utf16::kMaxNonSurrogateCharCode, Utf16::LeadSurrogate(), Utf16::TrailSurrogate(), and Utf8::ValueOf().
|
protected |
Definition at line 203 of file unicode.h.
Referenced by Utf8DecoderBase::Reset().
|
protected |
Definition at line 201 of file unicode.h.
Referenced by Utf8DecoderBase::Reset().
|
protected |
Definition at line 202 of file unicode.h.
Referenced by Utf8DecoderBase::Reset(), and Utf8DecoderBase::Utf16Length().