Home
last modified time | relevance | path

Searched refs:ConstantString (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string.h46 class ConstantString; variable
106 friend class ConstantString; variable
830 class ConstantString : public EcmaString {
844 CAST_CHECK(ConstantString, IsConstantString);
847 static ConstantString *Cast(EcmaString *str) in Cast()
849 return static_cast<ConstantString *>(str); in Cast()
852 static ConstantString *Cast(const EcmaString *str) in Cast()
854 return ConstantString::Cast(const_cast<EcmaString *>(str)); in Cast()
859 return ConstantString::SIZE; in ObjectSize()
931 … Span<const uint8_t> sp(ConstantString::Cast(parent)->GetConstantData() + GetStartIndex(), length); in Get()
[all …]
Decma_string-inl.h196 auto string = ConstantString::Cast(vm->GetFactory()->AllocConstantStringObject(type)); in CreateConstantString()
291 return ConstantString::Cast(this)->GetConstantData(); in GetDataUtf8()
304 return ConstantString::Cast(this)->GetConstantData(); in GetDataUtf8Writable()
338 return ConstantString::Cast(this)->Get<verify>(index); in At()
Dobject_factory-inl.h84 return reinterpret_cast<EcmaString *>(AllocObjectWithSpaceType(ConstantString::SIZE, in AllocConstantStringObject()
Djs_hclass-inl.h263 size = ConstantString::SIZE; in SizeFromJSHClass()
Decma_string_table.cpp558 auto constantStr = ConstantString::Cast(object); in RelocateConstantData()
/arkcompiler/ets_runtime/ecmascript/tests/
Dconstant_string_test.cpp72 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrEmpty).ObjectSize(), ConstantString::SIZE); in HWTEST_F_L0()
78 EXPECT_EQ(EcmaStringAccessor(handleEcmaStrU8).ObjectSize(), ConstantString::SIZE); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h423 ConstantString::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
Djs_metadata_test.cpp444 {JSType::CONSTANT_STRING, {ConstantString::RELOCTAED_DATA_OFFSET, in JSMetadataTestHelper()
445ConstantString::LAST_OFFSET - ConstantString::RELOCTAED_DATA_OFFSET}}, in JSMetadataTestHelper()
1266 …{JSType::CONSTANT_STRING, {ConstantString::ENTITY_ID_OFFSET - ConstantString::RELOCTAED_DATA_OFFSE… in JSMetadataTestHelper()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp1316 auto constantStr = ConstantString::Cast(str); in DeserializeString()
1554 auto constantStr = ConstantString::Cast(str); in RelocateSpaceObject()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.cpp1111 …GateRef offset = ChangeStringTaggedPointerToInt64(PtrAdd(str, IntPtr(ConstantString::CONSTANT_DATA… in GetSingleCharCodeFromConstantString()
2001 …GateRef address = ChangeStringTaggedPointerToInt64(PtrAdd(str, IntPtr(ConstantString::CONSTANT_DAT… in GetStringDataFromLineOrConstantString()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dmcr_circuit_builder.cpp1339 …GateRef address = ChangeTaggedPointerToInt64(PtrAdd(str, IntPtr(ConstantString::CONSTANT_DATA_OFFS… in GetStringDataFromLineOrConstantString()
Dstub_builder.cpp8838 …GateRef address = PtrAdd(stringInfoGate.GetString(), IntPtr(ConstantString::CONSTANT_DATA_OFFSET)); in GetNormalStringData()