#include <unicode.h>
unibrow::InputBuffer< String, String **, 256 >, unibrow::InputBuffer< String, String *, 1024 >, unibrow::InputBuffer< Utf8, Buffer< const char * >, s >, と unibrow::InputBuffer< Reader, Input, kSize >に継承されています。
Public メソッド | |
uchar | GetNext () |
bool | has_more () |
virtual void | Seek (unsigned) |
unsigned | Length () |
virtual | ~CharacterStream () |
virtual void | Rewind ()=0 |
Static Public メソッド | |
static bool | EncodeCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static bool | EncodeAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static bool | EncodeNonAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset) |
static uchar | DecodeCharacter (const byte *buffer, unsigned *offset) |
Protected メソッド | |
virtual void | FillBuffer ()=0 |
Protected 変数 | |
unsigned | remaining_ |
unsigned | cursor_ |
const byte * | buffer_ |
virtual unibrow::CharacterStream::~CharacterStream | ( | ) | [inline, virtual] |
uchar unibrow::CharacterStream::DecodeCharacter | ( | const byte * | buffer, | |
unsigned * | offset | |||
) | [inline, static] |
unicode-inl.h の 183 行で定義されています。
参照先 IF_BIG, IF_LITTLE, と unibrow::Utf8::kMaxOneByteChar.
参照元 GetNext().
bool unibrow::CharacterStream::EncodeCharacter | ( | uchar | c, | |
byte * | buffer, | |||
unsigned | capacity, | |||
unsigned & | offset | |||
) | [inline, static] |
unicode-inl.h の 174 行で定義されています。
参照先 EncodeAsciiCharacter(), EncodeNonAsciiCharacter(), と unibrow::Utf8::kMaxOneByteChar.
virtual void unibrow::CharacterStream::FillBuffer | ( | ) | [protected, pure virtual] |
uchar unibrow::CharacterStream::GetNext | ( | ) | [inline] |
unicode-inl.h の 128 行で定義されています。
参照先 buffer_, cursor_, DecodeCharacter(), FillBuffer(), と remaining_.
参照元 v8::internal::UTF16Buffer::Advance(), v8::internal::Heap::AllocateSymbol(), v8::internal::String::ComputeArrayIndex(), v8::internal::String::ComputeLengthAndHashField(), v8::internal::Scanner::IsIdentifier(), Length(), v8::internal::CodeGenerator::MakeCode(), v8::internal::StringStream::Put(), v8::internal::Runtime_GlobalPrint(), v8::internal::Runtime_StringCompare(), v8::internal::Runtime_StringLocaleCompare(), Seek(), v8::internal::String::StringShortPrint(), v8::String::Write(), v8::String::WriteAscii(), と v8::String::WriteUtf8().
bool unibrow::CharacterStream::has_more | ( | ) | [inline] |
参照先 remaining_.
参照元 v8::internal::UTF16Buffer::Advance(), v8::internal::Heap::AllocateSymbol(), v8::internal::String::ComputeArrayIndex(), v8::internal::String::ComputeLengthAndHashField(), v8::internal::Scanner::IsIdentifier(), Length(), v8::internal::CodeGenerator::MakeCode(), v8::internal::StringStream::Put(), v8::internal::Runtime_GlobalPrint(), と v8::internal::Runtime_StringCompare().
unsigned unibrow::CharacterStream::Length | ( | ) |
unicode.cc の 306 行で定義されています。
参照先 GetNext(), has_more(), と Rewind().
参照元 v8::internal::Heap::AllocateSymbol(), と v8::internal::Utf8SymbolKey::Hash().
virtual void unibrow::CharacterStream::Rewind | ( | ) | [pure virtual] |
void unibrow::CharacterStream::Seek | ( | unsigned | position | ) | [virtual] |
v8::internal::StringInputBuffer, v8::internal::SafeStringInputBuffer, unibrow::InputBuffer< Reader, Input, kSize >, unibrow::InputBuffer< String, String **, 256 >, unibrow::InputBuffer< Utf8, Buffer< const char * >, s >, と unibrow::InputBuffer< String, String *, 1024 >で再定義されています。
unicode.cc の 316 行で定義されています。
const byte* unibrow::CharacterStream::buffer_ [protected] |
unsigned unibrow::CharacterStream::cursor_ [protected] |
unsigned unibrow::CharacterStream::remaining_ [protected] |