Searched refs:StringShape (Results 1 – 10 of 10) sorted by relevance
37 StringShape::StringShape(const String* str) in SMI_ACCESSORS()43 StringShape::StringShape(Map* map) : type_(map->instance_type()) { in StringShape() function48 StringShape::StringShape(InstanceType t) : type_(static_cast<uint32_t>(t)) { in StringShape() function53 bool StringShape::IsInternalized() { in IsInternalized()60 bool StringShape::HasOnlyOneByteChars() { in HasOnlyOneByteChars()65 bool StringShape::IsCons() { in IsCons()69 bool StringShape::IsThin() { in IsThin()73 bool StringShape::IsSliced() { in IsSliced()77 bool StringShape::IsIndirect() { in IsIndirect()81 bool StringShape::IsExternal() { in IsExternal()[all …]
34 class StringShape BASE_EMBEDDED {36 inline explicit StringShape(const String* s);37 inline explicit StringShape(Map* s);38 inline explicit StringShape(InstanceType t);
104 if (!StringShape(src_str).IsExternal()) return true; in HasValidSource()
242 if (StringShape(subject_ptr).IsCons()) { in Match()245 } else if (StringShape(subject_ptr).IsSliced()) { in Match()250 if (StringShape(subject_ptr).IsThin()) { in Match()
180 if (StringShape(str).IsExternal()) os << 'e'; in AppendSymbolNameDetails()181 if (StringShape(str).IsInternalized()) os << '#'; in AppendSymbolNameDetails()
233 return StringShape(String::cast(this)).IsCons(); in IsConsString()238 return StringShape(String::cast(this)).IsThin(); in IsThinString()243 return StringShape(String::cast(this)).IsSliced(); in IsSlicedString()248 return StringShape(String::cast(this)).IsSequential(); in IsSeqString()253 return StringShape(String::cast(this)).IsSequential() && in IsSeqOneByteString()259 return StringShape(String::cast(this)).IsSequential() && in IsSeqTwoByteString()265 return StringShape(String::cast(this)).IsExternal(); in IsExternalString()270 return StringShape(String::cast(this)).IsExternal() && in IsExternalOneByteString()276 return StringShape(String::cast(this)).IsExternal() && in IsExternalTwoByteString()
1165 if (StringShape(this).IsInternalized()) { in StringPrint()1167 } else if (StringShape(this).IsCons()) { in StringPrint()1169 } else if (StringShape(this).IsThin()) { in StringPrint()1189 if (!StringShape(this).IsInternalized()) os << "\""; in StringPrint()
2623 bool has_pointers = StringShape(this).IsIndirect(); in MakeExternal()2707 bool has_pointers = StringShape(this).IsIndirect(); in MakeExternal()2762 if (StringShape(this).IsExternal()) { in SupportsExternalization()11010 StringShape shape(this); in GetFlatContent()11019 shape = StringShape(string); in GetFlatContent()11024 shape = StringShape(string); in GetFlatContent()11031 shape = StringShape(string); in GetFlatContent()11109 switch (StringShape(this).representation_tag()) { in GetTwoByteData()11362 if (StringShape(string).IsCons()) { in ConsStringGet()11396 switch (StringShape(source).full_representation_tag()) { in WriteToFlat()[all …]
5713 return i::StringShape(*str).IsExternalTwoByte(); in IsExternal()5719 return i::StringShape(*str).IsExternalOneByte(); in IsExternalOneByte()5733 if (i::StringShape(str).IsExternalTwoByte()) { in VerifyExternalStringResource()5753 if (i::StringShape(str).IsExternalOneByte()) { in VerifyExternalStringResourceBase()5757 } else if (i::StringShape(str).IsExternalTwoByte()) { in VerifyExternalStringResourceBase()5780 if (i::StringShape(str).IsExternalTwoByte()) { in GetExternalStringResourceSlow()5800 if (i::StringShape(str).IsExternalOneByte() || in GetExternalStringResourceBaseSlow()5801 i::StringShape(str).IsExternalTwoByte()) { in GetExternalStringResourceBaseSlow()5817 if (i::StringShape(str).IsExternalOneByte()) { in GetExternalOneByteStringResourceSlow()5828 if (i::StringShape(str).IsExternalOneByte()) { in GetExternalOneByteStringResource()
387 if (StringShape(entry.type).IsCons()) map->mark_unstable(); in CreateInitialMaps()