/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 73 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 79 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 92 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 101 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 146 StringPool* ResourceTableBuilder::string_pool() { in string_pool() function in aapt::test::ResourceTableBuilder 147 return &table_->string_pool; in string_pool()
|
D | Builders.h | 79 StringPool* string_pool();
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 273 src_config_value.get(), &master_table_->string_pool); in DoMerge() 292 new_file_ref = std::unique_ptr<FileReference>(f->Clone(&master_table_->string_pool)); in DoMerge() 301 src_config_value->value->Clone(&master_table_->string_pool)); in DoMerge() 322 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile() 329 return std::unique_ptr<FileReference>(file_ref.Clone(&master_table_->string_pool)); in CloneAndMangleFile() 336 util::make_unique<FileReference>(table.string_pool.MakeRef(path)); in MergeFile()
|
D | ReferenceLinker.cpp | 52 StringPool* string_pool, xml::IPackageDeclStack* decl) in ReferenceLinkerVisitor() argument 57 string_pool_(string_pool) {} in ReferenceLinkerVisitor() 389 &table->string_pool, &decl_stack); in Consume()
|
D | XmlCompatVersioner.cpp | 114 out_el->attributes.push_back(CopyAttr(attr, &cloned_doc->string_pool)); in ProcessDoc() 124 &cloned_doc->string_pool); in ProcessDoc()
|
D | AutoVersioner.cpp | 131 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool)); in Consume()
|
D | ReferenceLinker_test.cpp | 94 util::make_unique<RawString>(table->string_pool.MakeRef("one|two")); in TEST()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 242 plural->values = {util::make_unique<String>(table->string_pool.MakeRef("zero")), in TEST() 243 util::make_unique<String>(table->string_pool.MakeRef("one"))}; in TEST() 247 expected->values = {util::make_unique<String>(table->string_pool.MakeRef("[žéŕö one]")), in TEST() 248 util::make_unique<String>(table->string_pool.MakeRef("[öñé one]"))}; in TEST() 269 util::make_unique<StyledString>(table->string_pool.MakeRef(original_style)); in TEST() 273 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str)); in TEST()
|
D | PseudolocaleGenerator.cpp | 360 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume() 362 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool, in Consume()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener.cpp | 107 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in Consume()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile_test.cpp | 222 table->string_pool.Sort(); in AssertTranslations() 225 table->string_pool.strings(); in AssertTranslations()
|
D | Dump.cpp | 272 StringPool::FlattenUtf8(&buffer, table->string_pool, GetDiagnostics()); in Dump()
|
D | Link.cpp | 628 util::make_unique<FileReference>(table->string_pool.MakeRef(dst_path)); in Flatten()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 723 table->string_pool.Prune(); in Consume() 724 table->string_pool.Sort([](const StringPool::Context& a, const StringPool::Context& b) -> int { in Consume() 738 StringPool::FlattenUtf8(table_writer.buffer(), table->string_pool, in Consume()
|
D | BinaryResourceParser.cpp | 149 table_->string_pool.HintWillAdd(value_pool_.size(), value_pool_.styleCount()); in ParseTable() 519 value, &table_->string_pool); in ParseValue()
|
D | XmlFlattener_test.cpp | 479 util::make_unique<String>(doc->string_pool.MakeRef("bar")); in TEST_F()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 261 config_value->value->Clone(&split_table->string_pool)); in SplitTable()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.h | 153 StringPool string_pool; variable
|
D | XmlDom.cpp | 335 CopyAttributes(el.get(), &tree, &xml_resource->string_pool); in Inflate() 387 cloned_attr.compiled_value.reset(attr.compiled_value->Clone(&cloned->string_pool)); in Clone()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 304 StringPool string_pool; variable
|
D | ResourceParser.cpp | 739 util::make_unique<StyledString>(table_->string_pool.MakeRef( in ParseXml() 768 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_))); in ParseXml() 781 table_->string_pool.MakeRef(util::TrimWhitespace(raw_value), in ParseXml()
|
D | ResourceTable.cpp | 665 new_value->value.reset(config_value->value->Clone(&new_table->string_pool)); in Clone()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 64 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one")); in TEST() 74 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)), in TEST()
|
D | ProtoDeserialize.cpp | 520 &out_table->string_pool, files, out_error); in DeserializePackageFromPb() 948 if (!DeserializeXmlFromPb(pb_node, resource->root.get(), &resource->string_pool, out_error)) { in DeserializeXmlResourceFromPb()
|