Searched refs:expected_ref (Results 1 – 2 of 2) sorted by relevance
157 Reference expected_ref; in TEST() local158 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()
3213 mirror::Object* expected_ref = ref; in Process() local3216 if (expected_ref != in Process()3224 expected_ref, in Process()3242 mirror::Object* expected_ref = ref; in VisitRoots() local3245 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() local3269 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()