Home
last modified time | relevance | path

Searched refs:ExternalString (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/objects/
Dstring.tq23 extern class ExternalString extends String {
29 ExternalString): RawPtr;
31 ExternalString): RawPtr;
34 extern class ExternalOneByteString extends ExternalString {
38 extern class ExternalTwoByteString extends ExternalString {
Dstring.h753 class ExternalString : public String {
755 DECL_CAST(ExternalString)
756 DECL_VERIFIER(ExternalString)
784 OBJECT_CONSTRUCTORS(ExternalString, String);
789 class ExternalOneByteString : public ExternalString {
821 ExternalString::kHeaderSize,
826 OBJECT_CONSTRUCTORS(ExternalOneByteString, ExternalString);
831 class ExternalTwoByteString : public ExternalString {
866 ExternalString::kHeaderSize,
871 OBJECT_CONSTRUCTORS(ExternalTwoByteString, ExternalString);
[all …]
Dstring-inl.h84 OBJECT_CONSTRUCTORS_IMPL(ExternalString, String) in TQ_OBJECT_CONSTRUCTORS_IMPL()
85 OBJECT_CONSTRUCTORS_IMPL(ExternalOneByteString, ExternalString) in TQ_OBJECT_CONSTRUCTORS_IMPL()
86 OBJECT_CONSTRUCTORS_IMPL(ExternalTwoByteString, ExternalString) in TQ_OBJECT_CONSTRUCTORS_IMPL()
89 CAST_ACCESSOR(ExternalString) in TQ_OBJECT_CONSTRUCTORS_IMPL()
432 ? CharTraits<Char>::ExternalString::cast(*this).GetChars() in GetChars()
441 ? CharTraits<Char>::ExternalString::cast(*this).GetChars() in GetChars()
681 bool ExternalString::is_uncached() const { in is_uncached()
686 void ExternalString::AllocateExternalPointerEntries(Isolate* isolate) { in AllocateExternalPointerEntries()
692 DEF_GETTER(ExternalString, resource_as_address, Address) { in DEF_GETTER() argument
697 void ExternalString::set_address_as_resource(Isolate* isolate, Address value) { in set_address_as_resource()
[all …]
Dstring.cc78 void MigrateExternalStringResource(Isolate* isolate, ExternalString from, in MigrateExternalStringResource()
88 from, ExternalString::cast(from).ExternalPayloadSize(), 0); in MigrateExternalStringResource()
105 MigrateExternalStringResource(isolate, ExternalString::cast(*this), in MakeThin()
108 MigrateExternalStringResource(isolate, ExternalString::cast(*this), in MakeThin()
159 if (size < ExternalString::kUncachedSize) return false; in MakeExternal()
184 if (size < ExternalString::kSizeOfAllExternalStrings) { in MakeExternal()
236 if (size < ExternalString::kUncachedSize) return false; in MakeExternal()
261 if (size < ExternalString::kSizeOfAllExternalStrings) { in MakeExternal()
306 if (this->Size() < ExternalString::kUncachedSize) return false; in SupportsExternalization()
308 DCHECK_LE(ExternalString::kUncachedSize, this->Size()); in SupportsExternalization()
[all …]
Dinstance-type.h223 V(ExternalString) \
Dobjects-definitions.h71 ExternalString) \
Dobject-list-macros.h110 V(ExternalString) \
/external/v8/src/heap/
Dcode-stats.cc25 ExternalString external_source_string = ExternalString::cast(source); in RecordCodeAndMetadataStatistics()
Dobject-stats.cc456 void RecordVirtualExternalStringDetails(ExternalString script);
790 RecordVirtualExternalStringDetails(ExternalString::cast(obj)); in CollectStatistics()
932 ExternalString string = ExternalString::cast(raw_source); in RecordVirtualScriptDetails()
952 ExternalString string) { in RecordVirtualExternalStringDetails()
Dnew-spaces.cc691 ExternalString external_string = ExternalString::cast(object); in Verify()
Dheap-inl.h376 ExternalString ext_string = ExternalString::cast(string); in FinalizeExternalString()
Dpaged-spaces.cc711 ExternalString external_string = ExternalString::cast(object); in Verify()
Dmemory-measurement.cc408 external_size = ExternalString::cast(object).ExternalPayloadSize(); in IncrementExternalSize()
Dheap.cc2429 ExternalString::cast(new_string).ExternalPayloadSize()); in UpdateYoungReferenceInExternalStringTableEntry()
2452 size_map[mc] += ExternalString::cast(obj).ExternalPayloadSize(); in VerifyYoung()
2476 size_map[mc] += ExternalString::cast(obj).ExternalPayloadSize(); in Verify()
5994 heap_->FinalizeExternalString(ExternalString::cast(o)); in TearDown()
6001 heap_->FinalizeExternalString(ExternalString::cast(o)); in TearDown()
Dmark-compact.cc2811 ExternalString::cast(new_string).ExternalPayloadSize()); in UpdateReferenceInExternalStringTableEntry()
/external/v8/src/parsing/
Dscanner-character-streams.cc23 explicit ScopedExternalStringLock(ExternalString string) { in ScopedExternalStringLock()
97 using ExternalString = typename CharTraits<Char>::ExternalString; typedef in v8::internal::ExternalStringStream
100 ExternalStringStream(ExternalString string, size_t start_offset, in ExternalStringStream()
/external/v8/src/snapshot/
Dserializer.cc530 Handle<ExternalString> string = Handle<ExternalString>::cast(object_); in SerializeExternalString()
557 Handle<ExternalString> string = Handle<ExternalString>::cast(object_); in SerializeExternalStringAsSequentialString()
Ddeserializer.cc403 Handle<ExternalString> string = Handle<ExternalString>::cast(obj); in PostProcessNewObject()
/external/v8/src/json/
Djson-parser.h141 using SeqExternalString = typename CharTraits<Char>::ExternalString;
/external/v8/src/diagnostics/
Dobjects-debug.cc165 ExternalString::cast(*this).ExternalStringVerify(isolate); in HeapObjectVerify()
787 USE_TORQUE_VERIFIER(ExternalString) in USE_TORQUE_VERIFIER() argument
/external/v8/src/compiler/
Daccess-builder.cc752 ExternalString::kResourceDataOffset, in ForExternalStringResourceData()
/external/v8/src/codegen/
Dcode-stub-assembler.h1030 TNode<RawPtrT> LoadExternalStringResourcePtr(TNode<ExternalString> object) { in LoadExternalStringResourcePtr()
1032 object, ExternalString::kResourceOffset, kExternalStringResourceTag); in LoadExternalStringResourcePtr()
1036 TNode<ExternalString> object) { in LoadExternalStringResourceDataPtr()
1038 ExternalString::kResourceDataOffset, in LoadExternalStringResourceDataPtr()
/external/v8/include/
Dv8.h138 class ExternalString; variable
3197 friend class internal::ExternalString;
/external/v8/
DChangeLog44783 Check that ExternalString objects get aligned resources.