Lines Matching refs:ref
103 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get());
104 ASSERT_NE(ref, nullptr);
105 AAPT_ASSERT_TRUE(ref->name);
106 EXPECT_EQ(ref->name.value(), test::parseNameOrDie(u"@color/green")); // Make sure the name
108 AAPT_ASSERT_TRUE(ref->id);
109 EXPECT_EQ(ref->id.value(), ResourceId(0x7f020000));
187 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get());
188 ASSERT_NE(ref, nullptr);
189 AAPT_ASSERT_TRUE(ref->name);
190 AAPT_ASSERT_TRUE(ref->id);
191 EXPECT_EQ(ref->id.value(), ResourceId(0x7f020001));
215 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get());
216 ASSERT_NE(ref, nullptr);
217 AAPT_ASSERT_TRUE(ref->id);
218 EXPECT_EQ(ref->id.value(), ResourceId(0x01030000));
230 ref = valueCast<Reference>(xmlAttr->compiledValue.get());
231 ASSERT_NE(ref, nullptr);
232 AAPT_ASSERT_TRUE(ref->id);
233 EXPECT_EQ(ref->id.value(), ResourceId(0x7f030000));
254 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get());
255 ASSERT_NE(ref, nullptr);
256 AAPT_ASSERT_TRUE(ref->id);
257 EXPECT_EQ(ref->id.value(), ResourceId(0x7f030000));