/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 241 std::unique_ptr<ResStringPool>&& string_pool, in LoadedIdmap() argument 249 string_pool_(std::move(string_pool)), in LoadedIdmap() 311 std::optional<std::string_view> string_pool = ReadString(&data_ptr, &data_size, "string pool"); in Load() local 312 if (!string_pool) { in Load() 316 if (!string_pool->empty()) { in Load() 317 const status_t err = idmap_string_pool->setTo(string_pool->data(), string_pool->size()); in Load()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.cpp | 66 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 72 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); in AddString() 85 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 94 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); in AddFileReference() 154 StringPool* ResourceTableBuilder::string_pool() { in string_pool() function in aapt::test::ResourceTableBuilder 155 return &table_->string_pool; in string_pool()
|
D | Builders.h | 78 StringPool* string_pool();
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.h | 35 StringPool* string_pool, ResourceTable* table, in ReferenceLinkerTransformer() argument 37 : CloningValueTransformer(string_pool), in ReferenceLinkerTransformer()
|
D | TableMerger.cpp | 282 dst_config_value, src_config_value.get(), &main_table_->string_pool); in DoMerge() 295 CloningValueTransformer cloner(&main_table_->string_pool); in DoMerge() 330 util::make_unique<FileReference>(main_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile() 338 CloningValueTransformer cloner(&main_table_->string_pool); in CloneAndMangleFile() 346 util::make_unique<FileReference>(table.string_pool.MakeRef(path)); in MergeFile()
|
D | XmlCompatVersioner.cpp | 116 out_el->attributes.push_back(CopyAttr(attr, &cloned_doc->string_pool)); in ProcessDoc() 126 &cloned_doc->string_pool); in ProcessDoc()
|
D | AutoVersioner.cpp | 75 CloningValueTransformer cloner(&table->string_pool); in Consume()
|
D | XmlReferenceLinker.cpp | 145 XmlVisitor visitor(resource->file.source, &resource->string_pool, callsite, context, table_, in Consume()
|
D | ReferenceLinker_test.cpp | 92 util::make_unique<RawString>(table->string_pool.MakeRef("one|two")); in TEST()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PrettyPrintVisitor.cpp | 71 const ResStringPool string_pool(data.GetStringPoolData().data(), data.GetStringPoolData().size()); in visit() local 101 auto str = string_pool.stringAt(target_entry.value.data_value - string_pool_offset); in visit()
|
D | ResourceContainer.cpp | 105 auto string_pool = am->GetStringPoolForCookie(value->cookie); in OpenXmlParser() local 106 auto file = string_pool->string8ObjectAt(value->data); in OpenXmlParser() 234 const auto& string_pool = parser->get_strings(); in CreateResourceMapping() local 235 const uint32_t string_pool_data_length = string_pool.bytes(); in CreateResourceMapping() 243 memcpy(overlay_data.string_pool_data->data.get(), string_pool.data().unsafe_ptr(), in CreateResourceMapping()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 241 plural->values = {util::make_unique<String>(table->string_pool.MakeRef("zero")), in TEST() 242 util::make_unique<String>(table->string_pool.MakeRef("one"))}; in TEST() 248 expected->values = {util::make_unique<String>(table->string_pool.MakeRef("[žéŕö one]")), in TEST() 249 util::make_unique<String>(table->string_pool.MakeRef("[öñé one]"))}; in TEST() 271 util::make_unique<StyledString>(table->string_pool.MakeRef(original_style)); in TEST() 275 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str)); in TEST()
|
D | PseudolocaleGenerator.cpp | 361 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kAccent, value, &table->string_pool, in Consume() 363 PseudolocalizeIfNeeded(Pseudolocalizer::Method::kBidi, value, &table->string_pool, in Consume()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile_test.cpp | 220 table->string_pool.Sort(); in AssertTranslations() 223 table->string_pool.strings(); in AssertTranslations() 320 resource_table->string_pool.strings(); in TEST_F()
|
D | Dump.cpp | 277 StringPool::FlattenUtf8(&buffer, table->string_pool, GetDiagnostics()); in Dump()
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 70 const ResStringPool* string_pool = assets[value.cookie]->GetLoadedArsc()->GetStringPool(); in GetStringFromApkAssets() local 71 return GetStringFromPool(string_pool, value.data); in GetStringFromApkAssets()
|
/frameworks/base/tools/aapt2/optimize/ |
D | ResourcePathShortener.cpp | 118 file_ref->path = table->string_pool.MakeRef(shortened_path, file_ref->path.GetContext()); in Consume()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 211 std::unique_ptr<ResStringPool>&& string_pool,
|
/frameworks/base/core/proto/android/server/ |
D | notificationhistory.proto | 88 optional StringPool string_pool = 1; field
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 707 table->string_pool.Prune(); in Consume() 708 table->string_pool.Sort([](const StringPool::Context& a, const StringPool::Context& b) -> int { in Consume() 724 StringPool::FlattenUtf8(table_writer.buffer(), table->string_pool, in Consume()
|
D | BinaryResourceParser.cpp | 156 table_->string_pool.HintWillAdd(value_pool_.size(), value_pool_.styleCount()); in ParseTable() 560 name.type.type, config, value_pool_, value, &table_->string_pool); in ParseValue()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.cpp | 232 CloningValueTransformer cloner(&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() 377 CloningValueTransformer cloner(&cloned->string_pool); in Clone()
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 333 StringPool string_pool; variable
|