Searched refs:ConstantString (Results 1 – 12 of 12) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string.h | 46 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 …]
|
| D | ecma_string-inl.h | 196 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()
|
| D | object_factory-inl.h | 84 return reinterpret_cast<EcmaString *>(AllocObjectWithSpaceType(ConstantString::SIZE, in AllocConstantStringObject()
|
| D | js_hclass-inl.h | 263 size = ConstantString::SIZE; in SizeFromJSHClass()
|
| D | ecma_string_table.cpp | 558 auto constantStr = ConstantString::Cast(object); in RelocateConstantData()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | constant_string_test.cpp | 72 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/ |
| D | object_xray.h | 423 ConstantString::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
| D | js_metadata_test.cpp | 444 {JSType::CONSTANT_STRING, {ConstantString::RELOCTAED_DATA_OFFSET, in JSMetadataTestHelper() 445 … ConstantString::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/ |
| D | snapshot_processor.cpp | 1316 auto constantStr = ConstantString::Cast(str); in DeserializeString() 1554 auto constantStr = ConstantString::Cast(str); in RelocateSpaceObject()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_string_stub_builder.cpp | 1111 …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/ |
| D | mcr_circuit_builder.cpp | 1339 …GateRef address = ChangeTaggedPointerToInt64(PtrAdd(str, IntPtr(ConstantString::CONSTANT_DATA_OFFS… in GetStringDataFromLineOrConstantString()
|
| D | stub_builder.cpp | 8838 …GateRef address = PtrAdd(stringInfoGate.GetString(), IntPtr(ConstantString::CONSTANT_DATA_OFFSET)); in GetNormalStringData()
|