Lines Matching refs:table

45     ResTable table;  in TEST()  local
46 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
50 ResTable table; in TEST() local
51 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
53 EXPECT_TRUE(IsStringEqual(table, base::R::string::test1, "test1")); in TEST()
57 ResTable table; in TEST() local
58 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
62 uint32_t resID = table.identifierForName(testName.string(), testName.size(), in TEST()
70 ResTable table; in TEST() local
71 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
73 ResTable::Theme theme(table); in TEST()
90 ResTable table; in TEST() local
91 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
93 ResTable::Theme theme(table); in TEST()
110 ResTable table; in TEST() local
111 ASSERT_EQ(NO_ERROR, table.add(lib_arsc, lib_arsc_len)); in TEST()
113 ResTable::Theme theme(table); in TEST()
125 ResTable table; in TEST() local
126 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
129 ssize_t block = table.getResource(base::R::integer::number2, &val, MAY_NOT_BE_BAG); in TEST()
134 ssize_t newBlock = table.resolveReference(&val, block); in TEST()
141 ResTable table; in TEST() local
142 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
145 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
150 ssize_t count = table.lockBag(base::R::array::integerArray1, &entry); in TEST()
152 table.unlockBag(entry); in TEST()
157 table.setParameters(&param); in TEST()
159 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
163 count = table.lockBag(base::R::array::integerArray1, &entry); in TEST()
165 table.unlockBag(entry); in TEST()
169 ResTable table; in TEST() local
170 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
173 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
184 table.setParameters(&param); in TEST()
186 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); in TEST()
195 ResTable table; in TEST() local
196 ASSERT_EQ(NO_ERROR, table.addEmpty(assetCookie)); in TEST()
199 ASSERT_EQ(uint32_t(1), table.getTableCount()); in TEST()
202 ASSERT_EQ(uint32_t(0), table.getBasePackageCount()); in TEST()
205 ASSERT_LT(table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG), 0); in TEST()