Lines Matching refs:StringShape
37 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()
85 bool StringShape::IsSequential() { in IsSequential()
89 StringRepresentationTag StringShape::representation_tag() { in representation_tag()
94 uint32_t StringShape::encoding_tag() { return type_ & kStringEncodingMask; } in encoding_tag()
96 uint32_t StringShape::full_representation_tag() { in full_representation_tag()
106 bool StringShape::IsSequentialOneByte() { in IsSequentialOneByte()
110 bool StringShape::IsSequentialTwoByte() { in IsSequentialTwoByte()
114 bool StringShape::IsExternalOneByte() { in IsExternalOneByte()
123 bool StringShape::IsExternalTwoByte() { in IsExternalTwoByte()
322 switch (StringShape(this).full_representation_tag()) { in Get()
349 DCHECK(StringShape(this).IsSequential()); in Set()
357 if (!StringShape(this).IsCons()) return true; in IsFlat()
365 DCHECK(StringShape(this).IsIndirect()); in GetUnderlying()