Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 6 of 6) 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c4304 upb_strtable new_table; in upb_strtable_resize() local
4307 if (!init(&new_table.t, t->t.ctype, size_lg2)) in upb_strtable_resize()
4312 &new_table, in upb_strtable_resize()
4318 *t = new_table; in upb_strtable_resize()
4506 upb_table new_table; in upb_inttable_insert() local
4507 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1)) in upb_inttable_insert()
4516 insert(&new_table, intkey(e->key), e->key, v, hash, &inthash, &inteql); in upb_inttable_insert()
4519 assert(t->t.count == new_table.count); in upb_inttable_insert()
4522 t->t = new_table; in upb_inttable_insert()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c4546 upb_strtable new_table; in upb_strtable_resize() local
4551 if (!init(&new_table.t, t->t.ctype, size_lg2, a)) in upb_strtable_resize()
4556 &new_table, in upb_strtable_resize()
4563 *t = new_table; in upb_strtable_resize()
4754 upb_table new_table; in upb_inttable_insert2() local
4756 if (!init(&new_table, t->t.ctype, t->t.size_lg2 + 1, a)) { in upb_inttable_insert2()
4767 insert(&new_table, intkey(e->key), e->key, v, hash, &inthash, &inteql); in upb_inttable_insert2()
4770 assert(t->t.count == new_table.count); in upb_inttable_insert2()
4773 t->t = new_table; in upb_inttable_insert2()