v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Data Structures | |
class | FlatContent |
Public Types | |
enum | Encoding { ONE_BYTE_ENCODING, TWO_BYTE_ENCODING } |
Public Types inherited from Object | |
enum | ValueType { OPTIMAL_REPRESENTATION, FORCE_TAGGED } |
Static Public Member Functions | |
static String * | cast (Object *obj) |
template<typename sinkchar > | |
static void | WriteToFlat (String *source, sinkchar *sink, int from, int to) |
static int | NonAsciiStart (const char *chars, int length) |
static bool | IsAscii (const char *chars, int length) |
static bool | IsAscii (const uint8_t *chars, int length) |
static int | NonOneByteStart (const uc16 *chars, int length) |
static bool | IsOneByte (const uc16 *chars, int length) |
template<class Visitor , class ConsOp > | |
static void | Visit (String *string, unsigned offset, Visitor &visitor, ConsOp &cons_op, int32_t type, unsigned length) |
template<class Visitor > | |
static ConsString * | VisitFlat (Visitor *visitor, String *string, int offset, int length, int32_t type) |
template<class Visitor > | |
static ConsString * | VisitFlat (Visitor *visitor, String *string, int offset=0) |
Static Public Member Functions inherited from Name | |
static Name * | cast (Object *obj) |
Static Public Member Functions inherited from HeapObject | |
static HeapObject * | FromAddress (Address address) |
static Object ** | RawField (HeapObject *obj, int offset) |
static void | UpdateMapCodeCache (Handle< HeapObject > object, Handle< Name > name, Handle< Code > code) |
static HeapObject * | cast (Object *obj) |
Static Public Member Functions inherited from Object | |
static MUST_USE_RESULT Handle < Object > | ToSmi (Isolate *isolate, Handle< Object > object) |
static Handle< Object > | GetPropertyWithReceiver (Handle< Object > object, Handle< Object > receiver, Handle< Name > name, PropertyAttributes *attributes) |
static Handle< Object > | GetProperty (Handle< Object > object, Handle< Name > key) |
static Handle< Object > | GetProperty (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< Name > key, PropertyAttributes *attributes) |
static MUST_USE_RESULT MaybeObject * | GetPropertyOrFail (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< Name > key, PropertyAttributes *attributes) |
static Handle< Object > | GetElement (Isolate *isolate, Handle< Object > object, uint32_t index) |
static Handle< Object > | GetElementNoExceptionThrown (Isolate *isolate, Handle< Object > object, uint32_t index) |
static Handle< Object > | GetElementWithReceiver (Isolate *isolate, Handle< Object > object, Handle< Object > receiver, uint32_t index) |
static Handle< Object > | GetOrCreateHash (Handle< Object > object, Isolate *isolate) |
static Object * | cast (Object *value) |
Static Public Attributes | |
static const int | kLengthOffset = Name::kSize |
static const int | kSize = kLengthOffset + kPointerSize |
static const int | kMaxArrayIndexSize = 10 |
static const int32_t | kMaxOneByteCharCode = unibrow::Latin1::kMaxChar |
static const uint32_t | kMaxOneByteCharCodeU = unibrow::Latin1::kMaxChar |
static const int | kMaxUtf16CodeUnit = 0xffff |
static const int | kEmptyStringHash = kIsNotArrayIndexMask |
static const int | kMaxLength = (1 << 28) - 16 |
static const int | kMaxHashCalcLength = 16383 |
static const int | kMaxShortPrintLength = 1024 |
Static Public Attributes inherited from Name | |
static const int | kHashFieldOffset = HeapObject::kHeaderSize |
static const int | kSize = kHashFieldOffset + kPointerSize |
static const int | kHashNotComputedMask = 1 |
static const int | kIsNotArrayIndexMask = 1 << 1 |
static const int | kNofHashBitFields = 2 |
static const int | kHashShift = kNofHashBitFields |
static const uint32_t | kHashBitMask = 0xffffffffu >> kHashShift |
static const int | kMaxCachedArrayIndexLength = 7 |
static const int | kArrayIndexValueBits = 24 |
static const int | kArrayIndexLengthBits |
static const int | kArrayIndexHashLengthShift |
static const int | kArrayIndexHashMask = (1 << kArrayIndexHashLengthShift) - 1 |
static const int | kArrayIndexValueMask |
static const unsigned int | kContainsCachedArrayIndexMask |
static const int | kEmptyHashField |
Static Public Attributes inherited from HeapObject | |
static const int | kMapOffset = Object::kHeaderSize |
static const int | kHeaderSize = kMapOffset + kPointerSize |
Static Public Attributes inherited from Object | |
static const int | kHeaderSize = 0 |
Friends | |
class | Name |
Additional Inherited Members | |
Protected Member Functions inherited from HeapObject | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
Static Protected Member Functions inherited from Name | |
static bool | IsHashFieldComputed (uint32_t field) |
enum Encoding |
|
inline |
Definition at line 6272 of file objects-inl.h.
References Name::hash_field(), Name::IsHashFieldComputed(), and Name::kIsNotArrayIndexMask.
Referenced by Name::AsArrayIndex(), V8_FINAL< kOperandKind, kNumCachedOperands >::IsPropertyName(), and v8::internal::RUNTIME_FUNCTION().
Referenced by Heap::AllocateInternalizedStringImpl(), Heap::AllocateOneByteInternalizedString(), Heap::AllocateRawOneByteString(), Heap::AllocateRawTwoByteString(), Heap::AllocateTwoByteInternalizedString(), Logger::ApiNamedPropertyAccess(), Logger::ApiNamedSecurityCheck(), CodeEventLogger::NameBuffer::AppendName(), Name::AsArrayIndex(), RegExpImpl::AtomExecRaw(), Object::BooleanValue(), JSReceiver::class_name(), Logger::CodeCreateEvent(), CodeEventLogger::CodeCreateEvent(), ConsString::ConsStringGet(), Map::constructor_name(), ScopeInfo::ContextLocalName(), ScopeInfo::CopyContextLocalsToScopeObject(), SharedFunctionInfo::DebugName(), JSObject::DefineAccessor(), Scope::DeserializeScopeChain(), Isolate::DoThrow(), RegExpResultsCache::Enter(), Name::Equals(), JSObject::ExpectedTransitionKey(), ConsString::first(), ScopeInfo::FunctionName(), V8HeapExplorer::GetConstructorName(), Function::GetDisplayName(), Runtime::GetElementOrCharAt(), JSObject::GetLocalElementKeys(), StringsStorage::GetName(), Heap::GetNumberStringCache(), v8::internal::GetScriptLineNumberSafe(), SharedFunctionInfo::GetSourceCode(), String::GetUnderlying(), Name::Hash(), SequentialStringKey< uc16 >::HashForObject(), SubStringKey< Char >::HashForObject(), Utf8StringKey::HashForObject(), StringKey::HashForObject(), StringSharedKey::HashForObject(), RegExpKey::HashForObject(), InternalizedStringKey::HashForObject(), TwoCharHashTableKey::HashForObject(), StringsKey::HashForObject(), Script::HasValidSource(), HeapObject::HeapObjectShortPrint(), Runtime::InitializeIntrinsicFunctionNames(), v8::internal::InitScriptLineEnds(), OneByteStringKey::IsMatch(), TwoByteStringKey::IsMatch(), Utf8StringKey::IsMatch(), StringKey::IsMatch(), StringSharedKey::IsMatch(), RegExpKey::IsMatch(), SubStringKey< Char >::IsMatch(), InternalizedStringKey::IsMatch(), TwoCharHashTableKey::IsMatch(), V8_FINAL< kOperandKind, kNumCachedOperands >::IsPropertyName(), Object::IsStringObjectWithCharacterAt(), JSObject::JSObjectShortPrint(), BASE_EMBEDDED< Visitor >::KeyToUniqueName(), ScopeInfo::LocalName(), Logger::LogExistingFunction(), Logger::LogRuntime(), Context::Lookup(), StringTable::LookupStringIfExists(), StringTable::LookupTwoCharsStringIfExists(), FullCodeGenerator::MakeCode(), ModuleInfo::name(), Heap::NumberToString(), ScopeInfo::ParameterName(), SlicedString::parent(), JSRegExp::Pattern(), Map::PrintGeneralization(), JSObject::PrintInstanceMigration(), StringStream::PrintName(), StringStream::PrintPrototype(), JavaScriptFrame::PrintTop(), StringStream::PrintUsingMap(), Compiler::RecordFunctionCompilation(), v8::internal::RUNTIME_FUNCTION(), Object::SameValue(), ConsString::second(), SharedFunctionInfo::SourceCodePrint(), ScopeInfo::StackLocalName(), Value::StrictEquals(), InternalizedStringKey::StringHash(), StringSharedKey::StringSharedHashHelper(), JSObjectWalkVisitor< ContextObject >::StructureWalk(), Logger::SuspectReadEvent(), TEST(), NameDictionary::TransformPropertiesToFastFor(), String::TryFlattenGetString(), KeyedLookupCache::Update(), ToBooleanStub::Types::UpdateStatus(), StringObject::ValueOf(), Heap::VisitExternalResources(), and StringTableCleaner< finalize_external_strings >::VisitPointers().
bool ComputeArrayIndex | ( | uint32_t * | index | ) |
Definition at line 9099 of file objects.cc.
References StringCharacterStream::GetNext(), StringCharacterStream::HasMore(), String::kMaxArrayIndexSize, String::length(), and v8::internal::U.
|
inline |
Definition at line 2969 of file objects-inl.h.
Referenced by FunctionExtension::GetNativeFunctionTemplate(), StringSharedKey::IsMatch(), InternalizedStringKey::IsMatch(), StringStream::PrintPrototype(), Object::SameValue(), and Value::StrictEquals().
String::FlatContent GetFlatContent | ( | ) |
Definition at line 8229 of file objects.cc.
References ASSERT, SeqOneByteString::cast(), SeqTwoByteString::cast(), ConsString::cast(), SlicedString::cast(), ExternalAsciiString::cast(), ExternalTwoByteString::cast(), ConsString::first(), SeqOneByteString::GetChars(), SeqTwoByteString::GetChars(), ExternalAsciiString::GetChars(), ExternalTwoByteString::GetChars(), v8::internal::kConsStringTag, v8::internal::kOneByteStringTag, v8::internal::kSeqStringTag, v8::internal::kSlicedStringTag, v8::internal::kTwoByteStringTag, String::length(), SlicedString::offset(), SlicedString::parent(), and ConsString::second().
Referenced by RegExpImpl::AtomExecRaw(), v8::internal::FindStringIndicesDispatch(), String::IsOneByteEqualTo(), and String::IsTwoByteEqualTo().
const uc16 * GetTwoByteData | ( | unsigned | start | ) |
Definition at line 8330 of file objects.cc.
References ASSERT, SeqTwoByteString::cast(), SlicedString::cast(), ExternalTwoByteString::cast(), String::GetTwoByteData(), String::IsOneByteRepresentationUnderneath(), v8::internal::kConsStringTag, v8::internal::kExternalStringTag, v8::internal::kSeqStringTag, v8::internal::kSlicedStringTag, v8::internal::NULL, SlicedString::offset(), SlicedString::parent(), SeqTwoByteString::SeqTwoByteStringGetData(), and UNREACHABLE.
Referenced by String::GetTwoByteData().
|
inline |
Definition at line 3036 of file objects-inl.h.
References ASSERT, String::cast(), ConsString::kFirstOffset, SlicedString::kParentOffset, READ_FIELD, and v8::internal::STATIC_ASSERT().
Referenced by String::IsOneByteRepresentationUnderneath(), and String::IsTwoByteRepresentationUnderneath().
|
inline |
Definition at line 365 of file objects-inl.h.
References Map::instance_type(), String::IsOneByteRepresentation(), v8::internal::kOneByteDataHintMask, v8::internal::kOneByteDataHintTag, and HeapObject::map().
Referenced by v8::internal::RUNTIME_FUNCTION().
INLINE | ( | uint16_t | Getint index | ) |
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 3030 of file objects-inl.h.
References ConsString::cast(), String::length(), and ConsString::second().
Referenced by RegExpImpl::AtomExecRaw(), String::IsOneByteRepresentationUnderneath(), String::IsTwoByteRepresentationUnderneath(), v8::internal::RUNTIME_FUNCTION(), and String::TryFlatten().
|
inlinestatic |
Definition at line 8985 of file objects.h.
Referenced by Heap::AllocateExternalStringFromTwoByte(), Heap::AllocateStringFromTwoByte(), StringSearchBase::IsOneByteString(), String::MakeExternal(), and TEST().
bool IsOneByteEqualTo | ( | Vector< const uint8_t > | str | ) |
Definition at line 9002 of file objects.cc.
References v8::internal::CompareChars(), String::GetFlatContent(), String::FlatContent::IsAscii(), Vector< T >::length(), String::length(), Vector< T >::start(), and String::FlatContent::ToOneByteVector().
Referenced by OneByteStringKey::IsMatch(), and SubStringKey< Char >::IsMatch().
|
inline |
Definition at line 321 of file objects-inl.h.
References Map::instance_type(), v8::internal::kOneByteStringTag, v8::internal::kStringEncodingMask, and HeapObject::map().
Referenced by String::HasOnlyOneByteChars(), Script::HasValidSource(), Heap::IsOneByte(), String::IsOneByteRepresentationUnderneath(), String::MakeExternal(), NativeRegExpMacroAssembler::Match(), and NativeRegExpMacroAssembler::StringCharacterPosition().
|
inline |
Definition at line 333 of file objects-inl.h.
References ASSERT, String::GetUnderlying(), Map::instance_type(), String::IsFlat(), String::IsOneByteRepresentation(), v8::internal::kIsIndirectStringMask, v8::internal::kIsIndirectStringTag, v8::internal::kOneByteStringTag, v8::internal::kStringEncodingMask, v8::internal::kTwoByteStringTag, HeapObject::map(), and v8::internal::STATIC_ASSERT().
Referenced by String::GetTwoByteData().
Definition at line 9018 of file objects.cc.
References v8::internal::CompareChars(), String::GetFlatContent(), String::FlatContent::IsTwoByte(), Vector< T >::length(), String::length(), Vector< T >::start(), and String::FlatContent::ToUC16Vector().
Referenced by TwoByteStringKey::IsMatch(), and SubStringKey< Char >::IsMatch().
|
inline |
Definition at line 327 of file objects-inl.h.
References Map::instance_type(), v8::internal::kStringEncodingMask, v8::internal::kTwoByteStringTag, and HeapObject::map().
Referenced by Script::HasValidSource(), String::IsTwoByteRepresentationUnderneath(), and String::MakeExternal().
|
inline |
Definition at line 349 of file objects-inl.h.
References ASSERT, String::GetUnderlying(), Map::instance_type(), String::IsFlat(), String::IsTwoByteRepresentation(), v8::internal::kIsIndirectStringMask, v8::internal::kIsIndirectStringTag, v8::internal::kOneByteStringTag, v8::internal::kStringEncodingMask, v8::internal::kTwoByteStringTag, HeapObject::map(), and v8::internal::STATIC_ASSERT().
Definition at line 8972 of file objects.cc.
References ASSERT, Utf8::kMaxEncodedSize, Utf16::kMaxNonSurrogateCharCode, Utf16::LeadSurrogate(), Vector< T >::length(), String::length(), Vector< T >::start(), Utf16::TrailSurrogate(), and Utf8::ValueOf().
Referenced by Utf8StringKey::IsMatch(), BASE_EMBEDDED< Visitor >::Lookup(), and JSFunction::PassesFilter().
|
inline |
Referenced by AccumulateStats(), AccumulateStatsWithOperator(), CodeEventLogger::NameBuffer::AppendString(), RegExpImpl::AtomExecRaw(), Object::BooleanValue(), Utf8LengthHelper::Calculate(), String::ComputeArrayIndex(), ConsString::ConsStringGet(), Map::constructor_name(), ConsStringIteratorOp::ContinueOperation(), SharedFunctionInfo::DebugName(), V8HeapExplorer::GetConstructorName(), Function::GetDisplayName(), String::GetFlatContent(), JSObject::GetLocalElementKeys(), StringsStorage::GetName(), v8::internal::GetScriptLineNumberSafe(), StringCharacterStream::HasMore(), String::IsFlat(), TwoCharHashTableKey::IsMatch(), String::IsOneByteEqualTo(), Object::IsStringObjectWithCharacterAt(), String::IsTwoByteEqualTo(), String::IsUtf8EqualTo(), JSObject::JSObjectShortPrint(), String::MakeExternal(), NativeRegExpMacroAssembler::Match(), JSFunction::PassesFilter(), Heap::PrepareForCompare(), StringStream::PrintName(), String::PrintOn(), StringStream::PrintPrototype(), StringStream::PrintUsingMap(), StringStream::Put(), v8::internal::RUNTIME_FUNCTION(), SharedFunctionInfo::SourceCodePrint(), String::StringShortPrint(), v8::internal::StringToDouble(), v8::internal::StringToInt(), String::ToCString(), String::ToWideCString(), ToBooleanStub::Types::UpdateStatus(), String::Visit(), String::VisitFlat(), and String::WriteToFlat().
bool LooksValid | ( | ) |
Definition at line 8223 of file objects.cc.
References HeapObject::GetIsolate().
Referenced by SharedFunctionInfo::SourceCodePrint(), String::StringShortPrint(), String::ToCString(), and String::ToWideCString().
bool MakeExternal | ( | v8::String::ExternalStringResource * | resource | ) |
Definition at line 1250 of file objects.cc.
References HeapObject::address(), Heap::AdjustLiveBytes(), ASSERT, ExternalTwoByteString::cast(), PagedSpace::Contains(), Heap::CreateFillerObjectAt(), String::ExternalStringResource::data(), v8::internal::FLAG_enable_slow_asserts, Heap::FROM_MUTATOR, HeapObject::GetHeap(), String::IsOneByteRepresentation(), ExternalString::kShortSize, ExternalString::kSize, String::ExternalStringResource::length(), String::length(), Heap::old_pointer_space(), HeapObject::set_map_no_write_barrier(), v8::internal::size, HeapObject::Size(), and String::WriteToFlat().
bool MakeExternal | ( | v8::String::ExternalAsciiStringResource * | resource | ) |
Definition at line 1316 of file objects.cc.
References HeapObject::address(), Heap::AdjustLiveBytes(), ASSERT, ExternalAsciiString::cast(), PagedSpace::Contains(), Heap::CreateFillerObjectAt(), String::ExternalAsciiStringResource::data(), v8::internal::FLAG_enable_slow_asserts, Heap::FROM_MUTATOR, HeapObject::GetHeap(), String::IsOneByte(), String::IsTwoByteRepresentation(), ExternalString::kShortSize, ExternalString::kSize, String::ExternalAsciiStringResource::length(), String::length(), Heap::old_pointer_space(), HeapObject::set_map_no_write_barrier(), v8::internal::size, HeapObject::Size(), Vector< T >::start(), and String::WriteToFlat().
bool MarkAsUndetectable | ( | ) |
Definition at line 8955 of file objects.cc.
References HeapObject::GetHeap(), HeapObject::map(), and HeapObject::set_map().
|
inlinestatic |
Definition at line 8944 of file objects.h.
References ASSERT, Utf8::kMaxOneByteChar, and v8::internal::kUintptrAllBitsSet.
Referenced by Heap::AllocateStringFromUtf8().
|
inlinestatic |
void PrintOn | ( | FILE * | out | ) |
Definition at line 9263 of file objects.cc.
References String::length(), and v8::internal::PrintF().
Referenced by Map::PrintGeneralization(), and JSObject::PrintInstanceMigration().
|
inline |
Definition at line 3020 of file objects-inl.h.
References ASSERT, SeqOneByteString::cast(), SeqTwoByteString::cast(), FixedArrayBase::length(), SeqOneByteString::SeqOneByteStringSet(), and SeqTwoByteString::SeqTwoByteStringSet().
|
inline |
STATIC_CHECK | ( | ) |
void StringShortPrint | ( | StringStream * | accumulator | ) |
Definition at line 1372 of file objects.cc.
References StringStream::Add(), StringCharacterStream::GetNext(), String::kMaxShortPrintLength, String::length(), String::LooksValid(), StringStream::Put(), and StringCharacterStream::Reset().
Referenced by HeapObject::HeapObjectShortPrint().
SmartArrayPointer< char > ToCString | ( | AllowNullsFlag | allow_nulls, |
RobustnessFlag | robustness_flag, | ||
int | offset, | ||
int | length, | ||
int * | length_output = 0 |
||
) |
Definition at line 8272 of file objects.cc.
References v8::internal::DISALLOW_NULLS, Utf8::Encode(), HeapObject::GetHeap(), Heap::isolate(), v8::internal::kMaxInt, Utf16::kNoPreviousCharacter, Utf8::Length(), String::length(), String::LooksValid(), v8::internal::NULL, Isolate::objects_string_iterator(), and v8::internal::ROBUST_STRING_TRAVERSAL.
Referenced by Logger::ApiIndexedPropertyAccess(), Logger::ApiNamedPropertyAccess(), Logger::ApiNamedSecurityCheck(), Logger::ApiObjectAccess(), Logger::CodeCreateEvent(), StringsStorage::GetName(), Deoptimizer::GetOutputInfo(), HeapObject::HeapObjectShortPrint(), RegExpImpl::IrregexpExec(), JavaScriptFrame::PrintTop(), and String::ToCString().
SmartArrayPointer< char > ToCString | ( | AllowNullsFlag | allow_nulls = DISALLOW_NULLS , |
RobustnessFlag | robustness_flag = FAST_STRING_TRAVERSAL , |
||
int * | length_output = 0 |
||
) |
Definition at line 8323 of file objects.cc.
References String::ToCString().
SmartArrayPointer< uc16 > ToWideCString | ( | RobustnessFlag | robustness_flag = FAST_STRING_TRAVERSAL | ) |
Definition at line 8351 of file objects.cc.
References HeapObject::GetHeap(), Heap::isolate(), String::length(), String::LooksValid(), Isolate::objects_string_iterator(), and v8::internal::ROBUST_STRING_TRAVERSAL.
|
inline |
Definition at line 2978 of file objects-inl.h.
References ConsString::cast(), ConsString::first(), and String::IsFlat().
Referenced by JSObject::DefineAccessor(), Heap::PrepareForCompare(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 2986 of file objects-inl.h.
References String::cast().
|
inlinestatic |
Definition at line 3048 of file objects-inl.h.
References ASSERT, SeqOneByteString::cast(), SeqTwoByteString::cast(), SlicedString::cast(), ExternalAsciiString::cast(), ExternalTwoByteString::cast(), Map::instance_type(), v8::internal::kConsStringTag, v8::internal::kExternalStringTag, v8::internal::kOneByteStringTag, v8::internal::kSeqStringTag, v8::internal::kSlicedStringTag, v8::internal::kStringEncodingMask, v8::internal::kStringRepresentationMask, v8::internal::kTwoByteStringTag, String::length(), HeapObject::map(), v8::internal::NULL, SlicedString::offset(), SlicedString::parent(), and UNREACHABLE.
Referenced by IteratingStringHasher::Hash(), StringCharacterStream::HasMore(), and StringCharacterStream::Reset().
|
inlinestatic |
Definition at line 3124 of file objects-inl.h.
References ASSERT, ConsStringCaptureOp::cons_string_, and String::length().
Referenced by ContainsOnlyOneByteHelper::Check(), Utf8LengthHelper::Visitor::VisitFlat(), and String::WriteUtf8().
|
inlinestatic |
Definition at line 9006 of file objects.h.
References String::length().
|
static |
Definition at line 8635 of file objects.cc.
References ASSERT, SeqOneByteString::cast(), SeqTwoByteString::cast(), ConsString::cast(), SlicedString::cast(), ExternalAsciiString::cast(), ExternalTwoByteString::cast(), v8::internal::CopyChars(), ConsString::first(), ExternalTwoByteString::GetChars(), v8::internal::kConsStringTag, v8::internal::kExternalStringTag, v8::internal::kOneByteStringTag, v8::internal::kSeqStringTag, v8::internal::kSlicedStringTag, v8::internal::kTwoByteStringTag, String::length(), SlicedString::offset(), SlicedString::parent(), and ConsString::second().
Referenced by CodeEventLogger::NameBuffer::AppendString(), v8::internal::ConcatStringContent(), ExternalizeStringExtension::Externalize(), String::MakeExternal(), Factory::NewProperSubString(), v8::internal::RUNTIME_FUNCTION(), and THREADED_TEST().
|
static |
|
static |
Definition at line 8905 of file objects.h.
Referenced by CodeStubGraphBuilder< Stub >::BuildCodeStub(), LoadIC::CompileHandler(), V8_FINAL< kOperandKind, kNumCachedOperands >::ForStringLength(), and Accessors::IsJSObjectFieldAccessor().
|
static |
Definition at line 8910 of file objects.h.
Referenced by String::ComputeArrayIndex(), StringHasher::ComputeUtf8Hash(), StringHasher::MakeArrayIndexHash(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 8926 of file objects.h.
Referenced by StringHasher::ComputeUtf8Hash(), StringHasher::GetHashField(), and StringHasher::has_trivial_hash().
|
static |
Definition at line 8922 of file objects.h.
Referenced by Heap::AllocateExternalStringFromAscii(), Heap::AllocateExternalStringFromTwoByte(), Heap::AllocateInternalizedStringImpl(), Heap::AllocateOneByteInternalizedString(), Heap::AllocateRawOneByteString(), Heap::AllocateRawTwoByteString(), Heap::AllocateTwoByteInternalizedString(), URIEscape::Escape(), V8_FINAL< kOperandKind, kNumCachedOperands >::ForStringLength(), ReplacementStringBuilder::IncrementCharacterCount(), Factory::NewConsString(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 8914 of file objects.h.
Referenced by CharacterRange::AddCaseEquivalents(), BoyerMooreLookahead::BoyerMooreLookahead(), RegExpNode::EmitQuickCheck(), TextNode::FillInBMInfo(), TextNode::FilterASCII(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), V8_FINAL< kOperandKind, kNumCachedOperands >::InferRange(), Heap::LookupSingleCharacterStringFromCode(), QuickCheckDetails::Rationalize(), and TEST().
|
static |
|
static |
Definition at line 8929 of file objects.h.
Referenced by String::StringShortPrint().
|
static |
Definition at line 8916 of file objects.h.
Referenced by DispatchTableConstructor::AddInverse(), v8::internal::AddRange(), DispatchTable::AddRange(), BoyerMooreLookahead::BoyerMooreLookahead(), RegExpNode::EmitQuickCheck(), TextNode::GetQuickCheckDetails(), TextNode::GetSuccessorOfOmnivorousTextNode(), V8_FINAL< kOperandKind, kNumCachedOperands >::InferRange(), CharacterRange::Negate(), and QuickCheckDetails::Rationalize().
|
static |