Lines Matching refs:table
41 ResourceTable* table, std::string* out_content) { in Flatten() argument
44 if (!flattener.Consume(context, table)) { in Flatten()
52 ResourceTable* table, ResTable* out_table) { in Flatten() argument
54 auto result = Flatten(context, options, table, &content); in Flatten()
66 ResourceTable* table, ResourceTable* out_table) { in Flatten() argument
68 auto result = Flatten(context, options, table, &content); in Flatten()
80 ::testing::AssertionResult Exists(ResTable* table, in Exists() argument
89 table->setParameters(&expected_config); in Exists()
94 if (table->getResource(expected_id.id, &val, false, 0, &spec_flags, in Exists()
119 if (!table->getResourceName(expected_id.id, false, &actual_name)) { in Exists()
146 std::unique_ptr<ResourceTable> table = in TEST_F() local
167 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
206 std::unique_ptr<ResourceTable> table = in TEST_F() local
214 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &res_table)); in TEST_F()
228 std::unique_ptr<ResourceTable> table = in TEST_F() local
236 ASSERT_TRUE(Flatten(context_.get(), {}, table.get(), &result)); in TEST_F()
249 std::unique_ptr<ResourceTable> table = in BuildTableWithSparseEntries() local
262 CHECK(table->AddResource(name, resid, ConfigDescription::DefaultConfig(), "", in BuildTableWithSparseEntries()
268 CHECK(table->AddResource(name, resid, sparse_config, "", in BuildTableWithSparseEntries()
273 return table; in BuildTableWithSparseEntries()
365 std::unique_ptr<ResourceTable> table = in TEST_F() local
371 ASSERT_TRUE(Flatten(context.get(), {}, table.get(), &result)); in TEST_F()
386 std::unique_ptr<ResourceTable> table = in TEST_F() local
394 table->included_packages_[0x02] = "lib_one"; in TEST_F()
395 table->included_packages_[0x03] = "lib_two"; in TEST_F()
398 ASSERT_TRUE(Flatten(context.get(), {}, table.get(), &result)); in TEST_F()
417 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST_F() local
423 ASSERT_TRUE(Flatten(context.get(), {}, table.get(), &result)); in TEST_F()
439 std::unique_ptr<ResourceTable> table = in TEST_F() local
446 ASSERT_TRUE(Flatten(context.get(), {}, table.get(), &result)); in TEST_F()
460 std::unique_ptr<ResourceTable> table = in TEST_F() local
467 ASSERT_FALSE(Flatten(context.get(), {}, table.get(), &result)); in TEST_F()