HomeSort by relevance Sort by last modified time
    Searched refs:MakeRef (Results 1 - 21 of 21) sorted by null

  /frameworks/base/tools/aapt2/
StringPool_test.cpp 39 StringPool::Ref ref = pool.MakeRef("wut");
46 StringPool::Ref ref_a = pool.MakeRef("wut");
47 StringPool::Ref ref_b = pool.MakeRef("hey");
56 StringPool::Ref ref_a = pool.MakeRef("wut");
57 StringPool::Ref ref_b = pool.MakeRef("wut");
67 StringPool::Ref ref_a = pool.MakeRef("wut", StringPool::Context(0x81010001));
68 StringPool::Ref ref_b = pool.MakeRef("wut", StringPool::Context(0x81010002));
78 StringPool::Ref ref_a = pool.MakeRef("z");
79 StringPool::Ref ref_b = pool.MakeRef("a");
80 StringPool::Ref ref_c = pool.MakeRef("m")
    [all...]
ResourceValues_test.cpp 43 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
44 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
47 b.values[Plural::One] = util::make_unique<String>(pool.MakeRef("une"));
48 b.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("autre"));
51 c.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
52 c.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
62 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
63 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
73 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one")));
74 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two")))
    [all...]
StringPool.h 165 Ref MakeRef(const android::StringPiece& str);
169 Ref MakeRef(const android::StringPiece& str, const Context& context);
172 Ref MakeRef(const Ref& ref);
175 StyleRef MakeRef(const StyleString& str);
179 StyleRef MakeRef(const StyleString& str, const Context& context);
182 StyleRef MakeRef(const StyleRef& ref);
StringPool.cpp 164 StringPool::Ref StringPool::MakeRef(const StringPiece& str) {
168 StringPool::Ref StringPool::MakeRef(const StringPiece& str, const Context& context) {
196 StringPool::Ref StringPool::MakeRef(const Ref& ref) {
200 return MakeRef(ref.entry_->value, ref.entry_->context);
203 StringPool::StyleRef StringPool::MakeRef(const StyleString& str) {
204 return MakeRef(str, Context{});
207 StringPool::StyleRef StringPool::MakeRef(const StyleString& str, const Context& context) {
214 entry->spans.emplace_back(Span{MakeRef(span.name), span.first_char, span.last_char});
222 StringPool::StyleRef StringPool::MakeRef(const StyleRef& ref) {
229 entry->spans.emplace_back(Span{MakeRef(*span.name), span.first_char, span.last_char})
    [all...]
ResourceValues.cpp 81 RawString* rs = new RawString(new_pool->MakeRef(value));
270 String* str = new String(new_pool->MakeRef(value));
325 StyledString* str = new StyledString(new_pool->MakeRef(value));
361 FileReference* fr = new FileReference(new_pool->MakeRef(path));
ResourceUtils.cpp 711 return util::make_unique<StyledString>(dst_pool->MakeRef(
717 util::make_unique<FileReference>(dst_pool->MakeRef(
730 return util::make_unique<String>(dst_pool->MakeRef(str, StringPool::Context(config)));
ResourceParser.cpp 735 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_)));
    [all...]
ResourceTable.cpp 355 util::make_unique<FileReference>(string_pool.MakeRef(path));
  /frameworks/base/tools/aapt2/compile/
PseudolocaleGenerator_test.cpp 31 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(),
52 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(),
78 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(),
100 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(),
123 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(),
160 util::make_unique<StyledString>(pool.MakeRef(original_style));
246 util::make_unique<StyledString>(table->string_pool.MakeRef(original_style));
250 auto string = util::make_unique<String>(table->string_pool.MakeRef(original_style.str));
PseudolocaleGenerator.cpp 213 return util::make_unique<StyledString>(pool->MakeRef(localized));
270 std::unique_ptr<String> localized = util::make_unique<String>(pool_->MakeRef(result));
  /frameworks/base/tools/aapt2/test/
Builders.cpp 72 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));
  /frameworks/base/tools/aapt2/format/binary/
XmlFlattener.cpp 178 StringFlattenDest{pool.MakeRef(str, StringPool::Context(priority)), dest});
262 StringPool::Ref name_ref = package_pools[aapt_attr.id.value().package_id()].MakeRef(
TableFlattener.cpp 480 type_pool_.MakeRef(type_name.str());
484 type_pool_.MakeRef(to_string(type->type));
513 local_key_index = (uint32_t)key_pool_.MakeRef(entry->name).index();
516 local_key_index = (uint32_t)key_pool_.MakeRef(obfuscated_resource_name).index();
XmlFlattener_test.cpp 472 util::make_unique<String>(doc->string_pool.MakeRef("bar"));
  /frameworks/base/tools/aapt2/link/
TableMerger.cpp 290 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath));
304 util::make_unique<FileReference>(table.string_pool.MakeRef(path));
ReferenceLinker.cpp 141 util::make_unique<String>(string_pool_->MakeRef(string_builder.to_string()));
ReferenceLinker_test.cpp 94 util::make_unique<RawString>(table->string_pool.MakeRef("one|two"));
  /frameworks/base/tools/aapt2/format/proto/
ProtoSerialize_test.cpp 62 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one"));
72 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)),
ProtoDeserialize.cpp 842 value_pool->MakeRef(pb_item.str().value(), StringPool::Context(config)));
847 value_pool->MakeRef(pb_item.raw_str().value(), StringPool::Context(config)));
856 return util::make_unique<StyledString>(value_pool->MakeRef(
863 util::make_unique<FileReference>(value_pool->MakeRef(
    [all...]
ProtoSerialize.cpp 39 StringPool::Ref ref = src_pool->MakeRef(source.path);
  /frameworks/base/tools/aapt2/cmd/
Link.cpp 653 util::make_unique<FileReference>(table->string_pool.MakeRef(dst_path));
    [all...]

Completed in 166 milliseconds