Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/runtime/tests/
Dbitmap_test_base.h28 …static constexpr ObjectPointerType HEAP_STARTING_ADDRESS = static_cast<ObjectPointerType>(0x100000…
104 for (ObjectPointerType k = offset; k < end; k += K_ALIGNMENT) { in RunTest()
118 …auto countTestFn = [](MemBitmap<K_ALIGNMENT> *bitmap, ObjectPointerType begin, ObjectPointerType e… in RunTestCount()
136 …auto orderTestFn = [](MemBitmap<K_ALIGNMENT> *bitmap, ObjectPointerType begin, ObjectPointerType e… in RunTestOrder()
Dbitmap_clear_range_test.cpp36 using MemRangeTest = std::pair<ObjectPointerType, ObjectPointerType>; in TEST_F()
Ddebugger_test.cpp59 return reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(v)); in ToPtr()
64 return static_cast<ObjectPointerType>(reinterpret_cast<uint64_t>(ptr)); in FromPtr()
Dclass_size_test.cpp29 static constexpr size_t OBJECT_POINTER_SIZE = sizeof(ObjectPointerType);
Dinterpreter_test.cpp891 using Type = ObjectPointerType;
898 return static_cast<ObjectPointerType>(reinterpret_cast<uintptr_t>(value)); in CastIfRef()
/arkcompiler/runtime_core/static_core/libpandabase/mem/
Dmem.h46 using ObjectPointerType = uint32_t; variable
48 using ObjectPointerType = uintptr_t; variable
51 constexpr size_t OBJECT_POINTER_SIZE = sizeof(ObjectPointerType);
129 constexpr ObjectPointerType ToObjPtr(const void *ptr) in ToObjPtr()
131 return static_cast<ObjectPointerType>(ToUintPtr(ptr)); in ToObjPtr()
259 constexpr ObjectPointerType ToObjPtrType(const T *val) in ToObjPtrType()
262 return static_cast<ObjectPointerType>(ToUintPtr(val)); in ToObjPtrType()
265 constexpr ObjectPointerType ToObjPtrType(std::nullptr_t) in ToObjPtrType()
267 return static_cast<ObjectPointerType>(ToUintPtr(nullptr)); in ToObjPtrType()
Dobject_pointer.h126 ObjectPointerType object_ {};
128 ALWAYS_INLINE static Object *ToObjectPtr(const ObjectPointerType pointer) noexcept in ToObjectPtr()
135 static_assert(sizeof(ObjectPointer<bool>) == sizeof(ObjectPointerType));
/arkcompiler/runtime_core/static_core/runtime/include/
Dobject_accessor-inl.h34 return reinterpret_cast<ObjectHeader *>(Get<ObjectPointerType, IS_VOLATILE>(obj, offset)); in GetObject()
52 Set<ObjectPointerType, IS_VOLATILE>(obj, offset, ToObjPtrType(value)); in SetObject()
62 Set<ObjectPointerType, IS_VOLATILE>(obj, offset, ToObjPtrType(value)); in SetObject()
76 return reinterpret_cast<ObjectHeader *>(Get<ObjectPointerType, IS_VOLATILE>(obj, offset)); in GetObject()
93 Set<ObjectPointerType, IS_VOLATILE>(obj, offset, ToObjPtrType(value)); in SetObject()
102 Set<ObjectPointerType, IS_VOLATILE>(obj, offset, ToObjPtrType(value)); in SetObject()
193 return reinterpret_cast<ObjectHeader *>(Get<ObjectPointerType>(obj, offset, memoryOrder)); in GetFieldObject()
224 Set<ObjectPointerType>(obj, offset, ToObjPtrType(value), memoryOrder); in SetFieldObject()
234 Set<ObjectPointerType>(obj, offset, ToObjPtrType(value), memoryOrder); in SetFieldObject()
272 … auto value = CompareAndSetFieldPrimitive<ObjectPointerType>(obj, offset, ToObjPtrType(oldValue), in CompareAndSetFieldObject()
[all …]
Dcframe.h179 reg.SetReference(reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(val))); in GetVRegValue()
Dobject_header.h81 static_assert(sizeof(ClassHelper::ClassWordSize) == sizeof(ObjectPointerType)); in SetClass()
/arkcompiler/runtime_core/static_core/runtime/include/coretypes/
Darray-inl.h168 size_t elemSize = (IS_REF && !IS_DYN) ? sizeof(ObjectPointerType) : sizeof(T); in Set()
203 return (IS_REF && !IS_DYN) ? sizeof(ObjectPointerType) : sizeof(T); in GetElementSize()
220 size_t elemSize = (IS_REF && !IS_DYN) ? sizeof(ObjectPointerType) : sizeof(T); in Set()
239 size_t elemSize = (IS_REF && !IS_DYN) ? sizeof(ObjectPointerType) : sizeof(T); in Get()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject_helpers-inl.h110 auto *arrayStart = array->GetBase<ObjectPointerType *>(); in TraverseArray()
113 auto *p = begin < arrayStart ? arrayStart : reinterpret_cast<ObjectPointerType *>(begin); in TraverseArray()
/arkcompiler/runtime_core/static_core/runtime/
Dobject_header.cpp213 reinterpret_cast<std::atomic<panda::ObjectPointerType> *>(&dstSp[i])->store( in ShallowCopy()
216 …reinterpret_cast<std::atomic<panda::ObjectPointerType> *>(&srcSp[i])->load(std::memory_order_relax… in ShallowCopy()
Dcompiler.h404 ObjectPointerType GetNonMovableString(MethodPtr method, StringId id) const override;
Dcompiler.cpp899 ObjectPointerType PandaRuntimeInterface::GetNonMovableString(MethodPtr method, StringId id) const in GetNonMovableString()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_array.h184 using AtomicRef = std::atomic<panda::ObjectPointerType>;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_helpers.cpp385 extern "C" ObjectPointerType EtsAsyncCall(Method *method, EtsCoroutine *currentCoro, uint8_t *regAr… in EtsAsyncCall()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
Dvregister.h174 return reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(GetValue())); in GetAs()
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dreference_storage.cpp202 (*reinterpret_cast<ObjectPointerType *>(Reference::GetRefWithoutType(ref)))); in GetObject()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dbitmap.h416 template <size_t BYTESPERCHUNK = 1, typename PointerType = ObjectPointerType>
/arkcompiler/runtime_core/static_core/compiler/tests/
Dcodegen_test.cpp753 ObjectPointerType array[4U] = {0U, 0U, 0U, 0U}; in TEST_F()
756 auto param3 = CutValue<ObjectPointerType>(10U, DataType::UINT64); in TEST_F()
1457 ObjectPointerType array[4U] = {0xffffaaaaU, 0xffffbbbbU, 0xffffccccU, 0xffffddddU}; in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/entrypoints/
Dentrypoints.cpp1299 extern "C" Method *ResolveVirtualMethod(const Method *callee, Frame *frame, const ObjectPointerType in ResolveVirtualMethod()
1595 return reinterpret_cast<T *>(*reinterpret_cast<ObjectPointerType *>(obj)); in ToClassPtr()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Druntime_interface.h667 …virtual ObjectPointerType GetNonMovableString([[maybe_unused]] MethodPtr method, [[maybe_unused]] … in GetNonMovableString()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dcodegen.cpp3358 ObjectPointerType stringPtr {0}; in VisitLoadString()