Searched refs:string_pool (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp250 src_config_value.get(), &master_table_->string_pool);
269 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool));
275 src_config_value->value->Clone(&master_table_->string_pool));
290 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath));
297 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool));
304 util::make_unique<FileReference>(table.string_pool.MakeRef(path));
H A DReferenceLinker.cpp51 StringPool* string_pool, xml::IPackageDeclStack* decl)
56 string_pool_(string_pool) {}
378 &table->string_pool, &decl_stack);
50 ReferenceLinkerVisitor(const CallSite& callsite, IAaptContext* context, SymbolTable* symbols, StringPool* string_pool, xml::IPackageDeclStack* decl) argument
H A DAutoVersioner.cpp127 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool));
H A DXmlCompatVersioner.cpp114 out_el->attributes.push_back(CopyAttr(attr, &cloned_doc->string_pool));
124 &cloned_doc->string_pool);
H A DReferenceLinker_test.cpp94 util::make_unique<RawString>(table->string_pool.MakeRef("one|two"));
/frameworks/base/tools/aapt2/test/
H A DBuilders.cpp72 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str)));
78 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str)));
91 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path));
100 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path));
137 StringPool* ResourceTableBuilder::string_pool() { function in class:aapt::test::ResourceTableBuilder
138 return &table_->string_pool;
H A DBuilders.h73 StringPool* string_pool();
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp359 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool,
361 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool,
H A DPseudolocaleGenerator_test.cpp246 util::make_unique<StyledString>(table->string_pool.MakeRef(original_style));
250 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str));
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp250 config_value->value->Clone(&split_table->string_pool));
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.h151 StringPool string_pool; member in class:aapt::xml::XmlResource
H A DXmlDom.cpp331 CopyAttributes(el.get(), &tree, &xml_resource->string_pool);
383 cloned_attr.compiled_value.reset(attr.compiled_value->Clone(&cloned->string_pool));
/frameworks/base/tools/aapt2/format/binary/
H A DBinaryResourceParser.cpp136 table_->string_pool.HintWillAdd(value_pool_.size(), value_pool_.styleCount());
437 value, &table_->string_pool);
H A DTableFlattener.cpp578 table->string_pool.Prune();
579 table->string_pool.Sort([](const StringPool::Context& a, const StringPool::Context& b) -> int {
593 StringPool::FlattenUtf8(table_writer.buffer(), table->string_pool,
H A DXmlFlattener_test.cpp472 util::make_unique<String>(doc->string_pool.MakeRef("bar"));
/frameworks/base/tools/aapt2/format/proto/
H A DProtoSerialize_test.cpp62 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one"));
72 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)),
H A DProtoDeserialize.cpp470 &out_table->string_pool, files, out_error);
887 if (!DeserializeXmlFromPb(pb_node, resource->root.get(), &resource->string_pool, out_error)) {
/frameworks/base/tools/aapt2/
H A DResourceTable.h254 // NOTE: `string_pool` must come before `packages` so that it is destroyed after.
255 // When `string_pool` references are destroyed (as they will be when `packages` is destroyed),
258 StringPool string_pool; member in class:aapt::ResourceTable
H A DResourceTable.cpp355 util::make_unique<FileReference>(string_pool.MakeRef(path));
632 new_value->value.reset(config_value->value->Clone(&new_table->string_pool));
H A DResourceParser.cpp735 util::make_unique<StyledString>(table_->string_pool.MakeRef(
764 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_)));
777 table_->string_pool.MakeRef(raw_value, StringPool::Context(config_)));
/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp653 util::make_unique<FileReference>(table->string_pool.MakeRef(dst_path));

Completed in 119 milliseconds