Lines Matching refs:mTable
43 ResourceTable mTable; member
58 ResourceParser parser(mContext->getDiagnostics(), &mTable, Source{ "test" }, config, in testParse()
72 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
81 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
100 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
113 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F()
123 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F()
134 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
138 attr = test::getValue<Attribute>(&mTable, u"@attr/bar"); in TEST_F()
154 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/foo", watchConfig)); in TEST_F()
155 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/baz", watchConfig)); in TEST_F()
156 EXPECT_EQ(nullptr, test::getValueForConfig<Styleable>(&mTable, u"@styleable/bar", watchConfig)); in TEST_F()
158 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/foo")); in TEST_F()
159 EXPECT_NE(nullptr, test::getValue<Attribute>(&mTable, u"@attr/baz")); in TEST_F()
160 EXPECT_NE(nullptr, test::getValue<Styleable>(&mTable, u"@styleable/bar")); in TEST_F()
167 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
186 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
200 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
213 Attribute* enumAttr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
239 Attribute* flagAttr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
279 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
300 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
312 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
326 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
336 Style* style = test::getValue<Style>(&mTable, u"@style/foo.bar"); in TEST_F()
348 Style* style = test::getValue<Style>(&mTable, u"@style/foo.bar"); in TEST_F()
358 Style* style = test::getValue<Style>(&mTable, u"@style/foo"); in TEST_F()
368 Id* id = test::getValue<Id>(&mTable, u"@id/bar"); in TEST_F()
383 mTable.findResource(test::parseNameOrDie(u"@styleable/foo")); in TEST_F()
387 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/bar"); in TEST_F()
391 attr = test::getValue<Attribute>(&mTable, u"@attr/bat"); in TEST_F()
395 attr = test::getValue<Attribute>(&mTable, u"@attr/baz"); in TEST_F()
400 EXPECT_NE(nullptr, test::getValue<Id>(&mTable, u"@id/foo")); in TEST_F()
402 Styleable* styleable = test::getValue<Styleable>(&mTable, u"@styleable/foo"); in TEST_F()
416 Styleable* styleable = test::getValue<Styleable>(&mTable, u"@styleable/foo"); in TEST_F()
437 Array* array = test::getValue<Array>(&mTable, u"@array/foo"); in TEST_F()
451 EXPECT_NE(nullptr, test::getValue<Array>(&mTable, u"@array/foo")); in TEST_F()
467 String* value = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
479 String* value = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
493 String* value = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
513 Styleable* styleable = test::getValue<Styleable>(&mTable, u"@styleable/foo"); in TEST_F()
519 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
534 Id* id = test::getValue<Id>(&mTable, u"@id/foo"); in TEST_F()
549 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/foo", in TEST_F()
552 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/foo", in TEST_F()
555 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/bar", in TEST_F()
558 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/baz", in TEST_F()
561 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/bit", in TEST_F()
564 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<String>(&mTable, u"@string/bot", in TEST_F()
577 Maybe<ResourceTable::SearchResult> result = mTable.findResource( in TEST_F()
589 result = mTable.findResource(test::parseNameOrDie(u"@attr/bar")); in TEST_F()
613 Maybe<ResourceTable::SearchResult> result = mTable.findResource( in TEST_F()
625 BinaryPrimitive* val = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F()