Searched refs:ref2 (Results 1 - 10 of 10) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_stubs-inl.h | 35 ALWAYS_INLINE inline bool EtsReferenceEquals(EtsCoroutine *coro, EtsObject *ref1, EtsObject *ref2) in EtsReferenceEquals() argument 37 if (UNLIKELY(ref1 == ref2)) { in EtsReferenceEquals() 41 if (IsRefNullish(coro, ref1) || IsRefNullish(coro, ref2)) { in EtsReferenceEquals() 42 return IsRefNullish(coro, ref1) && IsRefNullish(coro, ref2); in EtsReferenceEquals() 45 if (LIKELY(!(ref1->GetClass()->IsValueTyped() && ref2->GetClass()->IsValueTyped()))) { in EtsReferenceEquals() 48 return EtsValueTypedEquals(coro, ref1, ref2); in EtsReferenceEquals()
|
H A D | ets_stubs.h | 29 inline bool EtsReferenceEquals(EtsCoroutine *coro, EtsObject *ref1, EtsObject *ref2);
|
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | optional_ref_test.cpp | 29 OptionalConstRef<int> ref2 {a}; in TEST_F() 34 ASSERT_TRUE(ref2.HasRef()); in TEST_F() 36 EXPECT_EQ(ref2.Get(), 2_I); in TEST_F()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | string_table_test.cpp | 181 auto ref2 = storage->Add(s2, Reference::ObjectType::GLOBAL); in SweepObjectInTable() local 187 table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref2)), pandaClassContext); in SweepObjectInTable() 190 storage->Remove(ref2); in SweepObjectInTable() 220 auto ref2 = storage->Add(s2, Reference::ObjectType::GLOBAL); in SweepNonMovableObjectInTable() local 227 table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref2)), pandaClassContext); in SweepNonMovableObjectInTable() 230 storage->Remove(ref2); in SweepNonMovableObjectInTable() 269 auto ref2 = storage->Add(s2, Reference::ObjectType::GLOBAL); in SweepHumongousObjectInTable() local 276 table->GetOrInternString(reinterpret_cast<coretypes::String *>(storage->Get(ref2)), pandaClassContext); in SweepHumongousObjectInTable() 279 storage->Remove(ref2); in SweepHumongousObjectInTable()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/proxies/mem/proxy_reference_storage_1/ |
H A D | test_proxy_reference_storage_1.cpp | 135 SharedReference *ref2 = CreateReference(etsObject2); in TEST_F() local 151 RemoveReference(ref2); in TEST_F() 155 ASSERT_EQ(CheckAlive((void *)ref2), false); in TEST_F()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | alias_analysis.h | 293 AliasType CheckRefAlias(Inst *ref1, Inst *ref2) const;
|
H A D | alias_analysis.cpp | 337 AliasType AliasAnalysis::CheckRefAlias(Inst *ref1, Inst *ref2) const in CheckRefAlias() 340 ASSERT(ref2->IsReferenceOrAny()); in CheckRefAlias() 341 return CheckMemAddress(Pointer::CreateObject(ref1), Pointer::CreateObject(ref2)); in CheckRefAlias()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/ |
H A D | ets_napi.h | 203 ets_boolean (*IsSameObject)(EtsEnv *env, ets_object ref1, ets_object ref2); 591 ets_boolean IsSameObject(ets_object ref1, ets_object ref2) in IsSameObject() 593 return native_interface->IsSameObject(this, ref1, ref2); in IsSameObject()
|
H A D | ets_napi_native_interface.cpp | 656 NO_UB_SANITIZE static ets_boolean IsSameObject(EtsEnv *env, ets_object ref1, ets_object ref2) in IsSameObject() argument 660 if (ref1 == ref2) { in IsSameObject() 664 return s.ToInternalType(ref1) == s.ToInternalType(ref2) ? ETS_TRUE : ETS_FALSE; in IsSameObject()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_first_tests.cpp | 1392 NativeReferenceHelper *ref2 = new NativeReferenceHelper(vm_, globalObject4, WeakRefCallback); in HWTEST_F_L0() local 1393 ref2->SetWeakCallback(); in HWTEST_F_L0() 1396 delete ref2; in HWTEST_F_L0()
|
Completed in 19 milliseconds