Home
last modified time | relevance | path

Searched refs:expected_ref (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize_test.cpp157 Reference expected_ref; in TEST() local
158 expected_ref.name = test::ParseNameOrDie("android:layout/main"); in TEST()
159 expected_ref.id = ResourceId(0x01020000); in TEST()
161 .SetValue(util::make_unique<Reference>(expected_ref)) in TEST()
221 EXPECT_THAT(*actual_ref, Eq(expected_ref)); in TEST()
/aosp12/art/runtime/gc/collector/
H A Dconcurrent_copying.cc3213 mirror::Object* expected_ref = ref; in Process() local
3216 if (expected_ref != in Process()
3224 expected_ref, in Process()
3242 mirror::Object* expected_ref = ref; in VisitRoots() local
3245 if (expected_ref != addr->load(std::memory_order_relaxed)) { in VisitRoots()
3249 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in VisitRoots()
3261 auto expected_ref = mirror::CompressedReference<mirror::Object>::FromMirrorPtr(ref); in MarkRoot() local
3269 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()