Searched refs:StringShape (Results 1 – 17 of 17) sorted by relevance
51 if (StringShape(subject).IsExternal()) { in StringCharacterPosition()62 if (StringShape(subject).IsExternal()) { in StringCharacterPosition()96 if (StringShape(subject_ptr).IsCons()) { in Match()99 } else if (StringShape(subject_ptr).IsSliced()) { in Match()
181 if (StringShape(str).IsExternal()) in AppendDetailed()183 if (StringShape(str).IsInternalized()) in AppendDetailed()
220 return StringShape(String::cast(this)).IsCons(); in IsConsString()226 return StringShape(String::cast(this)).IsSliced(); in IsSlicedString()232 return StringShape(String::cast(this)).IsSequential(); in IsSeqString()238 return StringShape(String::cast(this)).IsSequential() && in IsSeqOneByteString()245 return StringShape(String::cast(this)).IsSequential() && in IsSeqTwoByteString()252 return StringShape(String::cast(this)).IsExternal(); in IsExternalString()258 return StringShape(String::cast(this)).IsExternal() && in IsExternalOneByteString()265 return StringShape(String::cast(this)).IsExternal() && in IsExternalTwoByteString()308 StringShape::StringShape(const String* str) in StringShape() function315 StringShape::StringShape(Map* map) in StringShape() function[all …]
575 if (StringShape(this).IsInternalized()) { in StringPrint()577 } else if (StringShape(this).IsCons()) { in StringPrint()597 if (!StringShape(this).IsInternalized()) os << "\""; in StringPrint()
4858 return i::StringShape(*str).IsExternalTwoByte(); in IsExternal()4864 return i::StringShape(*str).IsExternalOneByte(); in IsExternalOneByte()4872 if (i::StringShape(*str).IsExternalTwoByte()) { in VerifyExternalStringResource()4887 if (i::StringShape(*str).IsExternalOneByte()) { in VerifyExternalStringResourceBase()4892 } else if (i::StringShape(*str).IsExternalTwoByte()) { in VerifyExternalStringResourceBase()4909 if (i::StringShape(*str).IsExternalOneByte()) { in GetExternalOneByteStringResource()5520 if (i::StringShape(*obj).IsExternal()) { in MakeExternal()5560 if (i::StringShape(*obj).IsExternal()) { in MakeExternal()5591 i::StringShape shape(*obj); in CanMakeExternal()
8417 class StringShape BASE_EMBEDDED {8419 inline explicit StringShape(const String* s);8420 inline explicit StringShape(Map* s);8421 inline explicit StringShape(InstanceType t);
7953 StringShape shape(this); in GetFlatContent()7962 shape = StringShape(string); in GetFlatContent()7968 shape = StringShape(string); in GetFlatContent()8053 switch (StringShape(this).representation_tag()) { in GetTwoByteData()8334 if (StringShape(string).IsCons()) { in ConsStringGet()8368 switch (StringShape(source).full_representation_tag()) { in WriteToFlat()8756 if (StringShape(this).IsInternalized()) return false; in MarkAsUndetectable()14657 DCHECK(StringShape(*result).IsInternalized()); in LookupStringIfExists()14674 DCHECK(StringShape(*result).IsInternalized()); in LookupTwoCharsStringIfExists()
3617 return HasStringValue() && StringShape(instance_type_).IsInternalized(); in HasInternalizedStringValue()
1124 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1126 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1144 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1145 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1151 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1153 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1171 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1172 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1123 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1125 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1143 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1144 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1230 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1232 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1250 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1251 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1197 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1199 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1217 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1218 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1092 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1094 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1112 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1113 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
1340 if (StringShape(*subject_tmp).IsCons()) { in CheckStackGuardState()1342 } else if (StringShape(*subject_tmp).IsSliced()) { in CheckStackGuardState()1360 DCHECK(StringShape(*subject_tmp).IsSequential() || in CheckStackGuardState()1361 StringShape(*subject_tmp).IsExternal()); in CheckStackGuardState()
2516 if (StringShape(entry.type).IsCons()) map->mark_unstable(); in CreateInitialMaps()
15173 CHECK(i::StringShape(string).IsExternal()); in MorphAString()