Home
last modified time | relevance | path

Searched refs:StringShape (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/
Dregexp-macro-assembler.cc51 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()
Dlog-utils.cc181 if (StringShape(str).IsExternal()) in AppendDetailed()
183 if (StringShape(str).IsInternalized()) in AppendDetailed()
Dobjects-inl.h220 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() function
315 StringShape::StringShape(Map* map) in StringShape() function
[all …]
Dobjects-printer.cc575 if (StringShape(this).IsInternalized()) { in StringPrint()
577 } else if (StringShape(this).IsCons()) { in StringPrint()
597 if (!StringShape(this).IsInternalized()) os << "\""; in StringPrint()
Dapi.cc4858 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()
Dobjects.h8417 class StringShape BASE_EMBEDDED {
8419 inline explicit StringShape(const String* s);
8420 inline explicit StringShape(Map* s);
8421 inline explicit StringShape(InstanceType t);
Dobjects.cc7953 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()
Dhydrogen-instructions.h3617 return HasStringValue() && StringShape(instance_type_).IsInternalized(); in HasInternalizedStringValue()
/external/v8/src/ia32/
Dregexp-macro-assembler-ia32.cc1124 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()
/external/v8/src/mips/
Dregexp-macro-assembler-mips.cc1151 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()
/external/v8/src/x87/
Dregexp-macro-assembler-x87.cc1123 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()
/external/v8/src/x64/
Dregexp-macro-assembler-x64.cc1230 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()
/external/v8/src/mips64/
Dregexp-macro-assembler-mips64.cc1197 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()
/external/v8/src/arm/
Dregexp-macro-assembler-arm.cc1092 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()
/external/v8/src/arm64/
Dregexp-macro-assembler-arm64.cc1340 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()
/external/v8/src/heap/
Dheap.cc2516 if (StringShape(entry.type).IsCons()) map->mark_unstable(); in CreateInitialMaps()
/external/v8/test/cctest/
Dtest-api.cc15173 CHECK(i::StringShape(string).IsExternal()); in MorphAString()