Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator_test.cpp119 ResourceTable* new_table = split.get(); in TEST_F() local
120 EXPECT_THAT(ValueForConfig(new_table, mdpi_), IsNull()); in TEST_F()
121 EXPECT_THAT(ValueForConfig(new_table, hdpi_), IsNull()); in TEST_F()
122 EXPECT_THAT(ValueForConfig(new_table, xxhdpi_), IsNull()); in TEST_F()
123 EXPECT_THAT(ValueForConfig(new_table, xxxhdpi_), IsNull()); in TEST_F()
124 EXPECT_THAT(ValueForConfig(new_table, v19_), IsNull()); in TEST_F()
127 EXPECT_THAT(ValueForConfig(new_table, xhdpi_), NotNull()); in TEST_F()
129 EXPECT_THAT(ValueForConfig(new_table, default_), NotNull()); in TEST_F()
130 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F()
146 ResourceTable* new_table = split.get(); in TEST_F() local
[all …]
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp110 ResourceTable new_table; in TEST() local
112 ASSERT_TRUE(DeserializeTableFromPb(pb_table, &files, &new_table, &error)) << error; in TEST()
115 Id* new_id = test::GetValue<Id>(&new_table, "com.app.a:id/foo"); in TEST()
120 new_table.FindResource(test::ParseNameOrDie("com.app.a:layout/main")); in TEST()
126 result = new_table.FindResource(test::ParseNameOrDie("com.app.a:bool/foo")); in TEST()
133 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), ""); in TEST()
138 &new_table, "com.app.a:integer/one", test::ParseConfigOrDie("land"), "tablet"); in TEST()
142 Reference* actual_ref = test::GetValue<Reference>(&new_table, "com.app.a:layout/abc"); in TEST()
149 test::GetValue<FileReference>(&new_table, "com.app.a:layout/main"); in TEST()
154 test::GetValue<StyledString>(&new_table, "com.app.a:string/styled"); in TEST()
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.tcc207 bucket_type* new_table = (bucket_type*)calloc(pNewSize, sizeof(bucket_type)); in doRehash() local
218 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash()
219 new_table[new_bucket].Entry = IB->Entry; in doRehash()
220 new_table[new_bucket].FullHashValue = full_hash; in doRehash()
230 } while (new_table[new_bucket].Entry != bucket_type::getEmptyBucket()); in doRehash()
233 new_table[new_bucket].Entry = IB->Entry; in doRehash()
234 new_table[new_bucket].FullHashValue = full_hash; in doRehash()
240 m_Buckets = new_table; in doRehash()
/frameworks/base/tools/aapt2/
DResourceTable.cpp647 std::unique_ptr<ResourceTable> new_table = util::make_unique<ResourceTable>(); in Clone() local
649 ResourceTablePackage* new_pkg = new_table->CreatePackage(pkg->name, pkg->id); in Clone()
665 new_value->value.reset(config_value->value->Clone(&new_table->string_pool)); in Clone()
670 return new_table; in Clone()