#include <objects.h>
v8::internal::Stringを継承しています。
Public メソッド | |
Object * | first () |
void | set_first (Object *first, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
Object * | second () |
void | set_second (Object *second, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
uint16_t | ConsStringGet (int index) |
void | ConsStringIterateBody (ObjectVisitor *v) |
const unibrow::byte * | ConsStringReadBlock (ReadBlockBuffer *buffer, unsigned *offset_ptr, unsigned chars) |
void | ConsStringReadBlockIntoBuffer (ReadBlockBuffer *buffer, unsigned *offset_ptr, unsigned chars) |
Static Public メソッド | |
static ConsString * | cast (Object *obj) |
Static Public 変数 | |
static const int | kFirstOffset = String::kSize |
static const int | kSecondOffset = kFirstOffset + kPointerSize |
static const int | kSize = kSecondOffset + kPointerSize |
static const int | kMinLength = 13 |
Private メソッド | |
DISALLOW_IMPLICIT_CONSTRUCTORS (ConsString) |
static ConsString* v8::internal::ConsString::cast | ( | Object * | obj | ) | [inline, static] |
v8::internal::Stringを再定義しています。
参照元 v8::internal::Heap::AllocateConsString(), ConsStringGet(), ConsStringReadBlock(), ConsStringReadBlockIntoBuffer(), v8::internal::String::Flatten(), v8::internal::SymbolKey::GetObject(), v8::internal::String::IsFlat(), v8::internal::IsShortcutCandidate(), v8::internal::Heap::ScavengeObjectSlow(), v8::internal::String::Slice(), と v8::internal::RegExpImpl::StringToTwoByte().
uint16_t v8::internal::ConsString::ConsStringGet | ( | int | index | ) |
void v8::internal::ConsString::ConsStringIterateBody | ( | ObjectVisitor * | v | ) |
objects.cc の 3572 行で定義されています。
参照先 v8::internal::HeapObject::IteratePointers(), kFirstOffset, v8::internal::kPointerSize, と kSecondOffset.
const unibrow::byte * v8::internal::ConsString::ConsStringReadBlock | ( | ReadBlockBuffer * | buffer, | |
unsigned * | offset_ptr, | |||
unsigned | chars | |||
) | [inline] |
objects.cc の 3170 行で定義されています。
参照先 ASSERT, v8::internal::String::ReadBlockBuffer::capacity, cast(), ConsStringReadBlockIntoBuffer(), v8::internal::String::ReadBlockBuffer::cursor, first(), v8::internal::String::length(), v8::internal::String::ReadBlock(), v8::internal::String::ReadBlockBuffer::remaining, second(), v8::internal::String::StringIsConsString(), と v8::internal::String::ReadBlockBuffer::util_buffer.
void v8::internal::ConsString::ConsStringReadBlockIntoBuffer | ( | ReadBlockBuffer * | buffer, | |
unsigned * | offset_ptr, | |||
unsigned | chars | |||
) | [inline] |
v8::internal::ConsString::DISALLOW_IMPLICIT_CONSTRUCTORS | ( | ConsString | ) | [private] |
Object * v8::internal::ConsString::first | ( | ) | [inline] |
objects-inl.h の 1505 行で定義されています。
参照先 kFirstOffset, と READ_FIELD.
参照元 ConsStringGet(), ConsStringReadBlock(), ConsStringReadBlockIntoBuffer(), v8::internal::String::Flatten(), v8::internal::SymbolKey::GetObject(), v8::internal::String::GetTwoByteData(), v8::internal::RegExpImpl::StringToTwoByte(), v8::internal::String::ToAsciiVector(), v8::internal::String::ToUC16Vector(), と v8::internal::String::WriteToFlat().
Object * v8::internal::ConsString::second | ( | ) | [inline] |
objects-inl.h の 1516 行で定義されています。
参照先 kSecondOffset, と READ_FIELD.
参照元 ConsStringGet(), ConsStringReadBlock(), ConsStringReadBlockIntoBuffer(), v8::internal::String::Flatten(), v8::internal::SymbolKey::GetObject(), v8::internal::String::GetTwoByteData(), v8::internal::IsShortcutCandidate(), v8::internal::String::ToAsciiVector(), v8::internal::String::ToUC16Vector(), と v8::internal::String::WriteToFlat().
void v8::internal::ConsString::set_first | ( | Object * | first, | |
WriteBarrierMode | mode = UPDATE_WRITE_BARRIER | |||
) | [inline] |
objects-inl.h の 1510 行で定義されています。
参照先 CONDITIONAL_WRITE_BARRIER, kFirstOffset, と WRITE_FIELD.
参照元 v8::internal::Heap::AllocateConsString(), と v8::internal::String::Flatten().
void v8::internal::ConsString::set_second | ( | Object * | second, | |
WriteBarrierMode | mode = UPDATE_WRITE_BARRIER | |||
) | [inline] |
objects-inl.h の 1521 行で定義されています。
参照先 CONDITIONAL_WRITE_BARRIER, kSecondOffset, と WRITE_FIELD.
参照元 v8::internal::Heap::AllocateConsString(), と v8::internal::String::Flatten().
const int v8::internal::ConsString::kFirstOffset = String::kSize [static] |
参照元 ConsStringIterateBody(), first(), と set_first().
const int v8::internal::ConsString::kMinLength = 13 [static] |
const int v8::internal::ConsString::kSecondOffset = kFirstOffset + kPointerSize [static] |
参照元 ConsStringIterateBody(), second(), と set_second().
const int v8::internal::ConsString::kSize = kSecondOffset + kPointerSize [static] |
v8::internal::Stringを再定義しています。