Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dtagged_array-inl.h32 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), offset)); in Get()
60 Barriers::SetObject<true>(thread, GetData(), offset, value.GetTaggedValue().GetRawData()); in Set()
62 … Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, value.GetTaggedValue().GetRawData()); in Set()
74 Barriers::SetObject<true>(thread, GetData(), offset, value.GetRawData()); in Set()
76 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, value.GetRawData()); in Set()
147 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData()); in InitializeWithSpecialValue()
178 auto *addr = reinterpret_cast<JSTaggedType *>(ToUintPtr(srcArray->GetData()) + offset); in RemoveElementByIndex()
202 auto *addr = reinterpret_cast<JSTaggedType *>(ToUintPtr(srcArray->GetData()) + offset); in InsertElementByIndex()
226 if (memcpy_s(reinterpret_cast<void *>(dstElements->GetData()), size, in CopyTaggedArrayElement()
227 reinterpret_cast<void *>(srcElements->GetData()), size) != EOK) { in CopyTaggedArrayElement()
Dbyte_array.cpp24 void *pointer = GetData(); in Set()
32 void *pointer = GetData(); in Get()
Decma_string-inl.h203 inline uint16_t *EcmaString::GetData() const in GetData() function
206 return LineEcmaString::Cast(this)->GetData(); in GetData()
215 return reinterpret_cast<uint8_t *>(GetData()); in GetDataUtf8()
221 return GetData(); in GetDataUtf16()
230 return reinterpret_cast<uint8_t *>(GetData()); in GetDataUtf8Writable()
236 return GetData(); in GetDataUtf16Writable()
245 return base::utf_helper::Utf16ToUtf8Size(GetData(), GetLength(), modify); in GetUtf8Length()
Djs_native_pointer.h70 deleter(externalPointer, GetData()); in DECL_VISIT_NATIVE_FIELD()
Djs_bigint.h125 inline uint32_t *GetData() const in GetData() function
133 if (memset_s(GetData(), size, 0, size) != EOK) { in InitializationZero()
147 return Barriers::GetValue<uint32_t>(GetData(), sizeof(uint32_t) * index); in GetDigit()
153 Barriers::SetPrimitive<uint32_t>(GetData(), sizeof(uint32_t) * index, digit); in SetDigit()
Dbyte_array.h38 inline void *GetData(uint32_t index = 0) const
Djs_serializer.h235 uint8_t* GetData() const in GetData() function
282 : valueDeserializer_(thread, data->GetData(), data->GetSize(), hint), data_(data) {} in Deserializer()
Dtagged_array.h57 inline JSTaggedType *GetData() const in GetData() function
Decma_string.h125 inline uint16_t *GetData() const;
592 uint16_t *GetData() const in GetData() function
619 *(reinterpret_cast<uint8_t *>(GetData()) + index) = static_cast<uint8_t>(src); in Set()
622 *(GetData() + index) = src; in Set()
Djs_bigint.cpp979 std::copy(x->GetData(), x->GetData() + len, newBig->GetData()); in Copy()
1238 std::copy(bigint->GetData(), bigint->GetData() + len, result->GetData()); in FormatLeftShift()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_manager.h78 Barriers::SetPrimitive(GetData(), GetIhcOffset(), value.GetRawData()); in SetIhc()
83 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetIhcOffset())); in GetIhc()
88 Barriers::SetPrimitive(GetData(), GetChcOffset(), value.GetRawData()); in SetChc()
93 return JSTaggedValue(Barriers::GetValue<JSTaggedType>(GetData(), GetChcOffset())); in GetChc()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/paused/baseptspausedgetdata_fuzzer/
Dbaseptspausedgetdata_fuzzer.cpp35 paused.GetData(); in BasePtsPausedGetDataFuzzTest()
/arkcompiler/runtime_core/libpandafile/
Dpgo.cpp26 identity = static_cast<ClassItem *>(item.get())->GetNameItem()->GetData(); in GetNameInfo()
32 identity = static_cast<StringItem *>(item.get())->GetData(); in GetNameInfo()
Dfile_writer.h125 const std::vector<uint8_t> &GetData() in GetData() function
Dfile_items.h450 const std::string &GetData() const in GetData() function
649 const std::vector<uint8_t> &GetData() const in GetData() function
1152 return str1->GetData() < str2->GetData(); in operator()
1437 class_name = method->GetClassItem()->GetNameItem()->GetData(); in GetMethodNames()
1444 class_name.append(method->GetNameItem()->GetData()); in GetMethodNames()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h130 Barriers::SetPrimitive(GetData(), GetIndexHeaderOffset(), indexHeader); in SetIndexHeader()
135 … return Barriers::GetValue<panda_file::File::IndexHeader *>(GetData(), GetIndexHeaderOffset()); in GetIndexHeader()
150 Barriers::SetPrimitive<JSTaggedType>(GetData(), offset, initValue.GetRawData());
163 Barriers::SetPrimitive(GetData(), GetJSPandaFileOffset(), jsPandaFile); in SetJSPandaFile()
168 return Barriers::GetValue<JSPandaFile *>(GetData(), GetJSPandaFileOffset()); in GetJSPandaFile()
/arkcompiler/runtime_core/libpandabase/tests/
Dcode_allocator_test.cpp70 ASSERT_EQ(*(map_range.GetData()), byte);
/arkcompiler/ets_runtime/ecmascript/tests/
Dbyte_array_test.cpp66 EXPECT_EQ(byteArray->GetData(2), reinterpret_cast<void *>(dataPointer)); in HWTEST_F_L0()
Dhandle_leak_test.cpp174 ecmascript::Barriers::SetPrimitive(newArray->GetData(), offset, JSTaggedValue::Undefined()); in HWTEST_F_L0()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_items_test.cpp51 EXPECT_EQ(writer.GetData(), data);
Dfile_item_container_test.cpp294 auto data = mem_writer.GetData();
301 EXPECT_EQ(panda_file->GetHeader()->file_size, mem_writer.GetData().size());
429 auto data = mem_writer.GetData();
521 auto data = mem_writer.GetData(); in TestProtos()
646 auto data = mem_writer.GetData();
722 auto data = mem_writer.GetData();
1082 method_name = method_item->GetNameItem()->GetData(); in __anon1a961e181302()
1096 f_name = field_item->GetNameItem()->GetData(); in __anon1a961e181402()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp146 auto addr = cb(reinterpret_cast<void *>(extraInfo->GetData())); in GetNativeStack()
278 return reinterpret_cast<void *>(extraInfo->GetData()); in GetMethodIdentifier()
/arkcompiler/runtime_core/libpandabase/os/
Dmem.h159 std::byte *GetData() in GetData() function
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashmap.cpp45 JSTaggedType *array = hashArray->GetData(); in HasValue()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp233 GateRef pfrGate = builder_.Int32(plr.GetData()); in LowerNTypedStOwnByName()

12