Lines Matching refs:string
129 // ThinStrings are just an indirection to an internalized string, so elide the
130 // indirection and serialize the actual string directly.
591 Handle<ExternalString> string = Handle<ExternalString>::cast(object_);
592 Address resource = string->resource_as_address();
599 string->GetResourceRefForDeserialization();
601 string->SetResourceRefForSerialization(reference.index());
604 string->SetResourceRefForSerialization(external_pointer_entry);
606 string->set_address_as_resource(isolate(), resource);
614 // Instead of serializing this as an external string, we serialize
615 // an imaginary sequential string with the same content.
619 Handle<ExternalString> string = Handle<ExternalString>::cast(object_);
620 int length = string->length();
625 // Find the map and size for the imaginary sequential string.
633 Handle<ExternalOneByteString>::cast(string)->resource()->data());
639 Handle<ExternalTwoByteString>::cast(string)->resource()->data());
645 // Output the rest of the imaginary string.
654 // Serialize string header (except for map).
655 byte* string_start = reinterpret_cast<byte*>(string->address());
660 // Serialize string content.