| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | bitmap_test_base.h | 28 …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()
|
| D | bitmap_clear_range_test.cpp | 36 using MemRangeTest = std::pair<ObjectPointerType, ObjectPointerType>; in TEST_F()
|
| D | debugger_test.cpp | 59 return reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(v)); in ToPtr() 64 return static_cast<ObjectPointerType>(reinterpret_cast<uint64_t>(ptr)); in FromPtr()
|
| D | class_size_test.cpp | 29 static constexpr size_t OBJECT_POINTER_SIZE = sizeof(ObjectPointerType);
|
| D | interpreter_test.cpp | 891 using Type = ObjectPointerType; 898 return static_cast<ObjectPointerType>(reinterpret_cast<uintptr_t>(value)); in CastIfRef()
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | mem.h | 46 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()
|
| D | object_pointer.h | 126 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/ |
| D | object_accessor-inl.h | 34 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 …]
|
| D | cframe.h | 179 reg.SetReference(reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(val))); in GetVRegValue()
|
| D | object_header.h | 81 static_assert(sizeof(ClassHelper::ClassWordSize) == sizeof(ObjectPointerType)); in SetClass()
|
| /arkcompiler/runtime_core/static_core/runtime/include/coretypes/ |
| D | array-inl.h | 168 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/ |
| D | object_helpers-inl.h | 110 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/ |
| D | object_header.cpp | 213 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()
|
| D | compiler.h | 404 ObjectPointerType GetNonMovableString(MethodPtr method, StringId id) const override;
|
| D | compiler.cpp | 899 ObjectPointerType PandaRuntimeInterface::GetNonMovableString(MethodPtr method, StringId id) const in GetNonMovableString()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_array.h | 184 using AtomicRef = std::atomic<panda::ObjectPointerType>;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/ |
| D | ets_napi_helpers.cpp | 385 extern "C" ObjectPointerType EtsAsyncCall(Method *method, EtsCoroutine *currentCoro, uint8_t *regAr… in EtsAsyncCall()
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | vregister.h | 174 return reinterpret_cast<ObjectHeader *>(static_cast<ObjectPointerType>(GetValue())); in GetAs()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | reference_storage.cpp | 202 (*reinterpret_cast<ObjectPointerType *>(Reference::GetRefWithoutType(ref)))); in GetObject()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | bitmap.h | 416 template <size_t BYTESPERCHUNK = 1, typename PointerType = ObjectPointerType>
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | codegen_test.cpp | 753 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/ |
| D | entrypoints.cpp | 1299 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/ |
| D | runtime_interface.h | 667 …virtual ObjectPointerType GetNonMovableString([[maybe_unused]] MethodPtr method, [[maybe_unused]] … in GetNonMovableString()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 3358 ObjectPointerType stringPtr {0}; in VisitLoadString()
|