V8 Project
|
#include <objects.h>
Public Member Functions | |
bool | IsFlat () |
bool | IsOneByte () |
bool | IsTwoByte () |
Vector< const uint8_t > | ToOneByteVector () |
Vector< const uc16 > | ToUC16Vector () |
uc16 | Get (int i) |
Private Types | |
enum | State { NON_FLAT , ONE_BYTE , TWO_BYTE } |
Private Member Functions | |
FlatContent (const uint8_t *start, int length) | |
FlatContent (const uc16 *start, int length) | |
FlatContent () | |
Private Attributes | |
union { | |
const uint8_t * onebyte_start | |
const uc16 * twobyte_start | |
}; | |
int | length_ |
State | state_ |
Friends | |
class | String |
|
private |
|
inlineexplicitprivate |
Definition at line 8661 of file objects.h.
|
inlineexplicitprivate |
Definition at line 8663 of file objects.h.
|
inlineprivate |
Definition at line 8665 of file objects.h.
Definition at line 8650 of file objects.h.
References DCHECK.
Referenced by v8::internal::RUNTIME_FUNCTION(), and v8::internal::String::SlowEquals().
|
inline |
Definition at line 8631 of file objects.h.
Referenced by v8::internal::RegExpImpl::AtomExecRaw(), v8::internal::String::CalculateLineEnds(), v8::internal::CompiledReplacement::Compile(), v8::internal::ConvertCase(), v8::internal::FindStringIndicesDispatch(), and v8::internal::FlatStringReader::PostGarbageCollection().
|
inline |
Definition at line 8633 of file objects.h.
Referenced by v8::internal::RegExpImpl::AtomExecRaw(), v8::internal::String::CalculateLineEnds(), v8::internal::CompiledReplacement::Compile(), v8::internal::FindStringIndicesDispatch(), v8::internal::GetCharVector(), v8::internal::AstValueFactory::GetString(), v8::internal::String::IsOneByteEqualTo(), v8::internal::IrregexpInterpreter::Match(), v8::internal::BASE_EMBEDDED< Visitor >::ParseJsonString(), v8::internal::FlatStringReader::PostGarbageCollection(), v8::internal::RUNTIME_FUNCTION(), v8::internal::String::SlowEquals(), v8::internal::Runtime::StringMatch(), and v8::internal::StringToDouble().
|
inline |
Definition at line 8635 of file objects.h.
Referenced by v8::internal::CompiledReplacement::Compile(), v8::internal::AstValueFactory::GetString(), v8::internal::String::IsTwoByteEqualTo(), v8::internal::IrregexpInterpreter::Match(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 8639 of file objects.h.
References DCHECK_EQ.
Referenced by v8::internal::RegExpImpl::AtomExecRaw(), v8::internal::String::CalculateLineEnds(), v8::internal::CompiledReplacement::Compile(), v8::internal::ConvertCase(), v8::internal::FindStringIndicesDispatch(), v8::internal::GetCharVector(), v8::internal::AstValueFactory::GetString(), v8::internal::String::IsOneByteEqualTo(), v8::internal::IrregexpInterpreter::Match(), v8::internal::BASE_EMBEDDED< Visitor >::ParseJsonString(), v8::internal::FlatStringReader::PostGarbageCollection(), v8::internal::RUNTIME_FUNCTION(), v8::internal::String::SlowEquals(), v8::internal::Runtime::StringMatch(), and v8::internal::StringToDouble().
Definition at line 8645 of file objects.h.
References DCHECK_EQ.
Referenced by v8::internal::RegExpImpl::AtomExecRaw(), v8::internal::String::CalculateLineEnds(), v8::internal::CompiledReplacement::Compile(), v8::internal::FindStringIndicesDispatch(), v8::internal::AstValueFactory::GetString(), v8::internal::String::IsTwoByteEqualTo(), v8::internal::IrregexpInterpreter::Match(), v8::internal::FlatStringReader::PostGarbageCollection(), v8::internal::RUNTIME_FUNCTION(), v8::internal::Runtime::StringMatch(), and v8::internal::StringToDouble().
union { ... } |
const uint8_t* v8::internal::String::FlatContent::onebyte_start |
const uc16* v8::internal::String::FlatContent::twobyte_start |