Home
last modified time | relevance | path

Searched defs:ref (Results 1 – 25 of 45) sorted by relevance

12

/arkcompiler/runtime_core/runtime/mem/refstorage/
Dglobal_object_storage.h200 auto ref = IndexToReference(current_index); in Add() local
232 ObjectHeader *Get(const Reference *ref) const in Get()
239 void Remove(const Reference *ref) in Remove()
253 auto ref = storage_[index]; in UpdateMovedRefs() local
269 for (const auto &ref : storage_) { in VisitObjects() local
301 for (const auto &ref : storage_) { in GetAllObjects() local
312 bool IsValidGlobalRef(const Reference *ref) in IsValidGlobalRef()
339 uintptr_t ref = *it; in Dump() local
409 uintptr_t ReferenceToIndex(const Reference *ref) const REQUIRES_SHARED(mutex_) in ReferenceToIndex()
417 void AssertIndex(const Reference *ref) const REQUIRES_SHARED(mutex_) in AssertIndex()
Dreference_storage.cpp73 bool ReferenceStorage::IsValidRef(const Reference *ref) in IsValidRef()
93 Reference::ObjectType ReferenceStorage::GetObjectType(const Reference *ref) in GetObjectType()
107 Reference *ref = nullptr; in NewRef() local
136 void ReferenceStorage::RemoveRef(const Reference *ref) in RemoveRef()
170 ObjectHeader *ReferenceStorage::GetObject(const Reference *ref) in GetObject()
306 ObjectHeader *ReferenceStorage::FindLocalObject(const Reference *ref) in FindLocalObject()
319 for (const auto &ref : refs) { in GetAllObjects() local
348 for (const auto &ref : refs) { in DumpLocalRefClasses() local
375 for (const auto &ref : refs) { in DumpLocalRef() local
419 for (const auto &ref : refs) { in RemoveAllLocalRefs() local
Dreference.h101 static ObjectType GetType(const Reference *ref) in GetType()
107 static Reference *SetType(Reference *ref, ObjectType type) in SetType()
124 static Reference *GetRefWithoutType(const Reference *ref) in GetRefWithoutType()
Dref_block.cpp36 auto *ref = reinterpret_cast<Reference *>(&refs_[index]); in AddRef() local
41 void RefBlock::Remove(const Reference *ref) in Remove()
151 for (const auto &ref : refs) { in PrintBlock() local
/arkcompiler/runtime_core/runtime/tests/
Dpygote_space_allocator_test_base.h133 [[maybe_unused]] auto *ref = in NonMovableLiveObjectAllocTest() local
161 [[maybe_unused]] auto *ref = in NonMovableUnliveObjectAllocTest() local
185 …[[maybe_unused]] auto *ref = global_object_storage->Add(movable_header, panda::mem::Reference::Obj… in MovableLiveObjectAllocTest() local
208 …[[maybe_unused]] auto *ref = global_object_storage->Add(movable_header, panda::mem::Reference::Obj… in MovableUnliveObjectAllocTest() local
Dobject_helpers_test.cpp138 [[maybe_unused]] uint32_t offset, [[maybe_unused]] bool is_volatile) { in TEST_F()
163 …auto handler = [klass, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, bo… in TEST_F()
192 …auto handler = [klass, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, bo… in TEST_F()
223 …auto handler = [object, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, b… in TEST_F()
254 …auto handler = [object, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, b… in TEST_F()
275 …auto handler = [array, &count, expected](ObjectHeader *obj, ObjectHeader *ref, uint32_t offset, bo… in TEST_F()
/arkcompiler/runtime_core/runtime/include/tooling/
Dpt_object.h24 explicit PtObject(PtReference *ref = nullptr) : ref_(ref) {} in ref_() argument
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeReference.h25 explicit TypeReference(Type **ref) : Type(TypeFlag::TYPE_REFERENCE), ref_(ref) {} in TypeReference()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi_helper.h95 static void FirstPassCallBack(void* ref) in FirstPassCallBack()
101 static void SecondPassCallBack(void* ref) in SecondPassCallBack()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dobject_type_check_elimination.cpp74 auto ref = inst->GetDataFlowInput(0); in TryEliminateIsInstance() local
109 auto ref = inst->GetDataFlowInput(0); in TryEliminateCheckCast() local
/arkcompiler/ets_runtime/test/fuzztest/booleanrefnewbool_fuzzer/
Dbooleanrefnewbool_fuzzer.cpp36 [[maybe_unused]] Local<BooleanRef> ref = BooleanRef::New(vm, input); in BooleanRefNewBoolFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/biguint64arrayrefnew_fuzzer/
Dbiguint64arrayrefnew_fuzzer.cpp46 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in BigUint64ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/dataviewrefnew_fuzzer/
Ddataviewrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in DataViewRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/uint8clampedarrayrefnew_fuzzer/
Duint8clampedarrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Uint8ClampedArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/int16arrayrefnew_fuzzer/
Dint16arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Int16ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/int32arrayrefnew_fuzzer/
Dint32arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Int32ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/uint32arrayrefnew_fuzzer/
Duint32arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Uint32ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/uint8arrayrefnew_fuzzer/
Duint8arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Uint8ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/bigint64arrayrefnew_fuzzer/
Dbigint64arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in BigInt64ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/float32arrayrefnew_fuzzer/
Dfloat32arrayrefnew_fuzzer.cpp48 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Float32ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/uint16arrayrefnew_fuzzer/
Duint16arrayrefnew_fuzzer.cpp46 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Uint16ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/int8arrayrefnew_fuzzer/
Dint8arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Int8ArrayRefNewFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/float64arrayrefnew_fuzzer/
Dfloat64arrayrefnew_fuzzer.cpp47 Local<ArrayBufferRef> ref = ArrayBufferRef::New(vm, input); in Float64ArrayRefNewFuzzTest() local
/arkcompiler/runtime_core/runtime/mem/gc/reference-processor/
Dempty_reference_processor.h27 …ol IsReference([[maybe_unused]] const BaseClass *baseCls, [[maybe_unused]] const ObjectHeader *ref, in IsReference()
/arkcompiler/ets_runtime/ecmascript/mem/
Dparallel_marker-inl.h98 inline void NonMovableMarker::RecordWeakReference(uint32_t threadId, JSTaggedType *ref, Region *obj… in RecordWeakReference()
253 inline void SemiGCMarker::RecordWeakReference(uint32_t threadId, JSTaggedType *ref, in RecordWeakReference()
326 inline void CompressGCMarker::RecordWeakReference(uint32_t threadId, JSTaggedType *ref, in RecordWeakReference()

12