Searched refs:StringShape (Results 1 – 15 of 15) sorted by relevance
116 StringShape::StringShape(const String str) in TQ_OBJECT_CONSTRUCTORS_IMPL()122 StringShape::StringShape(const String str, PtrComprCageBase cage_base) in StringShape() function128 StringShape::StringShape(Map map) : type_(map.instance_type()) { in StringShape() function133 StringShape::StringShape(InstanceType t) : type_(static_cast<uint32_t>(t)) { in StringShape() function138 bool StringShape::IsInternalized() const { in IsInternalized()145 bool StringShape::IsCons() const { in IsCons()149 bool StringShape::IsThin() const { in IsThin()153 bool StringShape::IsSliced() const { in IsSliced()157 bool StringShape::IsIndirect() const { in IsIndirect()161 bool StringShape::IsDirect() const { return !IsIndirect(); } in IsDirect()[all …]
157 Map ComputeThinStringMap(IsolateT* isolate, StringShape from_string_shape, in ComputeThinStringMap()230 StringShape initial_shape(initial_type); in MigrateStringMapUnderLockIfNeeded()309 StringShape initial_shape(initial_map); in MakeThin()324 [=](IsolateT* isolate, String string, StringShape initial_shape) { in MakeThin()392 bool has_pointers = StringShape(*this).IsIndirect(); in MakeExternal()476 bool has_pointers = StringShape(*this).IsIndirect(); in MakeExternal()540 if (StringShape(*this).IsExternal()) { in SupportsExternalization()560 StringShape shape(*this); in PrefixForDebugPrint()590 StringShape shape(*this); in SuffixForDebugPrint()754 StringShape shape(string, cage_base); in SlowGetFlatContent()[all …]
240 return StringShape(String::cast(*this).map(cage_base)).IsCons(); in DEF_GETTER()245 return StringShape(String::cast(*this).map(cage_base)).IsThin(); in DEF_GETTER()250 return StringShape(String::cast(*this).map(cage_base)).IsSliced(); in DEF_GETTER()255 return StringShape(String::cast(*this).map(cage_base)).IsSequential(); in DEF_GETTER()260 return StringShape(String::cast(*this).map(cage_base)).IsSequential() && in DEF_GETTER()266 return StringShape(String::cast(*this).map(cage_base)).IsSequential() && in DEF_GETTER()272 return StringShape(String::cast(*this).map(cage_base)).IsExternal() && in DEF_GETTER()278 return StringShape(String::cast(*this).map(cage_base)).IsExternal() && in DEF_GETTER()
44 class StringShape {46 V8_INLINE explicit StringShape(const String s);47 V8_INLINE explicit StringShape(const String s, PtrComprCageBase cage_base);48 V8_INLINE explicit StringShape(Map s);49 V8_INLINE explicit StringShape(InstanceType t);
169 if (!StringShape(src_str).IsExternal()) return true; in HasValidSource()
384 StringShape shape(*string_); in PrepareForInsertion()
4666 StringShape(separator).IsSequentialOneByte(); in WriteFixedArrayToFlat()4669 CHECK(StringShape(separator).IsSequentialOneByte()); in WriteFixedArrayToFlat()4744 DCHECK(StringShape(dest).IsSequentialOneByte() || in ArrayJoinConcatToSequentialString()4745 StringShape(dest).IsSequentialTwoByte()); in ArrayJoinConcatToSequentialString()4747 if (StringShape(dest).IsSequentialOneByte()) { in ArrayJoinConcatToSequentialString()4752 DCHECK(StringShape(dest).IsSequentialTwoByte()); in ArrayJoinConcatToSequentialString()
389 if (StringShape(subject_ptr).IsCons()) { in Match()392 } else if (StringShape(subject_ptr).IsSliced()) { in Match()397 if (StringShape(subject_ptr).IsThin()) { in Match()
215 if (StringShape(str).IsExternal()) os << 'e'; in AppendSymbolNameDetails()216 if (StringShape(str).IsInternalized()) os << '#'; in AppendSymbolNameDetails()
227 if (StringShape(*source_, cage_base).IsExternal()) { in JsonParser()312 if (StringShape(*source_).IsExternal()) { in ~JsonParser()
100 return i::StringShape(type) in GetTypedObjectForString()
5737 return i::StringShape(*str).IsExternal(); in IsExternal()5742 return i::StringShape(*str).IsExternalTwoByte(); in IsExternalTwoByte()5747 return i::StringShape(*str).IsExternalOneByte(); in IsExternalOneByte()5760 if (i::StringShape(str).IsExternalTwoByte()) { in VerifyExternalStringResource()5780 if (i::StringShape(str).IsExternalOneByte()) { in VerifyExternalStringResourceBase()5784 } else if (i::StringShape(str).IsExternalTwoByte()) { in VerifyExternalStringResourceBase()5806 if (i::StringShape(str).IsExternalTwoByte()) { in GetExternalStringResourceSlow()5849 if (i::StringShape(str).IsExternalOneByte() || in GetExternalStringResourceBaseSlow()5850 i::StringShape(str).IsExternalTwoByte()) { in GetExternalStringResourceBaseSlow()5864 if (i::StringShape(str).IsExternalOneByte()) { in GetExternalOneByteStringResource()[all …]
652 DCHECK_IMPLIES(!StringShape(map).IsShared(), in NewRawStringWithMap()
406 if (StringShape(entry.type).IsCons()) map.mark_unstable(); in CreateInitialMaps()
931 if (StringShape(instance_type).IsShared()) { in ComputeSharingStrategyForString()