Home
last modified time | relevance | path

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

/external/v8/src/objects/
Dstring-inl.h37 StringShape::StringShape(const String* str) in SMI_ACCESSORS()
43 StringShape::StringShape(Map* map) : type_(map->instance_type()) { in StringShape() function
48 StringShape::StringShape(InstanceType t) : type_(static_cast<uint32_t>(t)) { in StringShape() function
53 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 …]
Dstring.h34 class StringShape BASE_EMBEDDED {
36 inline explicit StringShape(const String* s);
37 inline explicit StringShape(Map* s);
38 inline explicit StringShape(InstanceType t);
Dscript-inl.h104 if (!StringShape(src_str).IsExternal()) return true; in HasValidSource()
/external/v8/src/regexp/
Dregexp-macro-assembler.cc242 if (StringShape(subject_ptr).IsCons()) { in Match()
245 } else if (StringShape(subject_ptr).IsSliced()) { in Match()
250 if (StringShape(subject_ptr).IsThin()) { in Match()
/external/v8/src/
Dlog-utils.cc180 if (StringShape(str).IsExternal()) os << 'e'; in AppendSymbolNameDetails()
181 if (StringShape(str).IsInternalized()) os << '#'; in AppendSymbolNameDetails()
Dobjects-inl.h233 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()
Dobjects-printer.cc1165 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()
Dobjects.cc2623 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 …]
Dapi.cc5713 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()
/external/v8/src/heap/
Dsetup-heap-internal.cc387 if (StringShape(entry.type).IsCons()) map->mark_unstable(); in CreateInitialMaps()