|
V8 Project
|
#include <scanner-character-streams.h>
Inheritance diagram for v8::internal::Utf8ToUtf16CharacterStream:
Collaboration diagram for v8::internal::Utf8ToUtf16CharacterStream:Public Member Functions | |
| Utf8ToUtf16CharacterStream (const byte *data, unsigned length) | |
| virtual | ~Utf8ToUtf16CharacterStream () |
Public Member Functions inherited from v8::internal::BufferedUtf16CharacterStream | |
| BufferedUtf16CharacterStream () | |
| virtual | ~BufferedUtf16CharacterStream () |
| virtual void | PushBack (uc32 character) |
Public Member Functions inherited from v8::internal::Utf16CharacterStream | |
| Utf16CharacterStream () | |
| virtual | ~Utf16CharacterStream () |
| uc32 | Advance () |
| unsigned | pos () const |
| unsigned | SeekForward (unsigned code_unit_count) |
Static Public Member Functions | |
| static unsigned | CopyChars (uint16_t *dest, unsigned length, const byte *src, unsigned *src_pos, unsigned src_length) |
Protected Member Functions | |
| virtual unsigned | BufferSeekForward (unsigned delta) |
| virtual unsigned | FillBuffer (unsigned char_position) |
| void | SetRawPosition (unsigned char_position) |
Protected Member Functions inherited from v8::internal::BufferedUtf16CharacterStream | |
| virtual unsigned | SlowSeekForward (unsigned delta) |
| virtual bool | ReadBlock () |
| virtual void | SlowPushBack (uc16 character) |
Protected Attributes | |
| const byte * | raw_data_ |
| unsigned | raw_data_length_ |
| unsigned | raw_data_pos_ |
| unsigned | raw_character_position_ |
Protected Attributes inherited from v8::internal::BufferedUtf16CharacterStream | |
| const uc16 * | pushback_limit_ |
| uc16 | buffer_ [kBufferSize] |
Protected Attributes inherited from v8::internal::Utf16CharacterStream | |
| const uint16_t * | buffer_cursor_ |
| const uint16_t * | buffer_end_ |
| unsigned | pos_ |
Additional Inherited Members | |
Static Protected Attributes inherited from v8::internal::BufferedUtf16CharacterStream | |
| static const unsigned | kBufferSize = 512 |
| static const unsigned | kPushBackStepSize = 16 |
Static Protected Attributes inherited from v8::internal::Utf16CharacterStream | |
| static const uc32 | kEndOfInput = -1 |
Definition at line 57 of file scanner-character-streams.h.
| v8::internal::Utf8ToUtf16CharacterStream::Utf8ToUtf16CharacterStream | ( | const byte * | data, |
| unsigned | length | ||
| ) |
Definition at line 162 of file scanner-character-streams.cc.
References v8::internal::BufferedUtf16CharacterStream::ReadBlock().
Here is the call graph for this function:
|
virtual |
Definition at line 173 of file scanner-character-streams.cc.
|
protectedvirtual |
Implements v8::internal::BufferedUtf16CharacterStream.
Definition at line 205 of file scanner-character-streams.cc.
References v8::internal::Utf16CharacterStream::pos_, raw_character_position_, v8::internal::BufferedUtf16CharacterStream::ReadBlock(), and SetRawPosition().
Here is the call graph for this function:
|
static |
Definition at line 176 of file scanner-character-streams.cc.
References unibrow::Utf8::CalculateValue(), unibrow::Utf8::kMaxOneByteChar, unibrow::Utf16::LeadSurrogate(), and unibrow::Utf16::TrailSurrogate().
Referenced by v8::internal::anonymous_namespace{scanner-character-streams.cc}::CopyCharsHelper(), and FillBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Implements v8::internal::BufferedUtf16CharacterStream.
Definition at line 215 of file scanner-character-streams.cc.
References v8::internal::BufferedUtf16CharacterStream::buffer_, CopyChars(), v8::internal::BufferedUtf16CharacterStream::kBufferSize, raw_character_position_, raw_data_, raw_data_length_, raw_data_pos_, and SetRawPosition().
Here is the call graph for this function:
|
protected |
Definition at line 290 of file scanner-character-streams.cc.
References DCHECK, raw_character_position_, raw_data_, raw_data_length_, raw_data_pos_, v8::internal::Utf8CharacterBack(), and v8::internal::Utf8CharacterForward().
Referenced by BufferSeekForward(), and FillBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 75 of file scanner-character-streams.h.
Referenced by BufferSeekForward(), FillBuffer(), and SetRawPosition().
|
protected |
Definition at line 70 of file scanner-character-streams.h.
Referenced by FillBuffer(), and SetRawPosition().
|
protected |
Definition at line 71 of file scanner-character-streams.h.
Referenced by FillBuffer(), and SetRawPosition().
|
protected |
Definition at line 72 of file scanner-character-streams.h.
Referenced by FillBuffer(), and SetRawPosition().