Lines Matching defs:string
360 // Instead of serializing this as an external string, we serialize
361 // an imaginary sequential string with the same content.
365 ExternalString* string = ExternalString::cast(object_);
366 int length = string->length();
371 // Find the map and size for the imaginary sequential string.
379 ExternalOneByteString::cast(string)->resource()->data());
386 ExternalTwoByteString::cast(string)->resource()->data());
394 // Output the rest of the imaginary string.
401 // Serialize string header (except for map).
402 Address string_start = string->address();
407 // Serialize string content.
668 v8::String::ExternalOneByteStringResource** resource_pointer,
674 ExternalOneByteString* string = ExternalOneByteString::cast(source);
675 typedef v8::String::ExternalOneByteStringResource Resource;
676 const Resource* resource = string->resource();
689 v8::String::ExternalOneByteStringResource** resource_pointer) {