Lines Matching defs:StringShape
219 return StringShape(String::cast(this)).IsCons();
225 return StringShape(String::cast(this)).IsSliced();
231 return StringShape(String::cast(this)).IsSequential();
237 return StringShape(String::cast(this)).IsSequential() &&
244 return StringShape(String::cast(this)).IsSequential() &&
251 return StringShape(String::cast(this)).IsExternal();
257 return StringShape(String::cast(this)).IsExternal() &&
264 return StringShape(String::cast(this)).IsExternal() &&
273 StringShape::StringShape(String* str)
280 StringShape::StringShape(Map* map)
287 StringShape::StringShape(InstanceType t)
294 bool StringShape::IsSymbol() {
352 bool StringShape::IsCons() {
357 bool StringShape::IsSliced() {
362 bool StringShape::IsIndirect() {
367 bool StringShape::IsExternal() {
372 bool StringShape::IsSequential() {
377 StringRepresentationTag StringShape::representation_tag() {
383 uint32_t StringShape::encoding_tag() {
388 uint32_t StringShape::full_representation_tag() {
397 bool StringShape::IsSequentialAscii() {
402 bool StringShape::IsSequentialTwoByte() {
407 bool StringShape::IsExternalAscii() {
412 bool StringShape::IsExternalTwoByte() {
1896 if (StringShape(name).IsSymbol() && nof < kMaxElementsForLinearSearch) {
2211 if (StringShape(this).IsSymbol() && StringShape(other).IsSymbol()) {
2219 if (!StringShape(this).IsCons()) return this;
2236 switch (StringShape(this).full_representation_tag()) {
2262 ASSERT(StringShape(this).IsSequential());
2271 if (!StringShape(this).IsCons()) return true;
2280 ASSERT(StringShape(this).IsIndirect());
3725 if (!StringShape(src_str).IsExternal()) return true;