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

  /frameworks/base/tools/aapt2/
StringPool_test.cpp 38 StringPool::Ref ref = pool.MakeRef("wut");
45 StringPool::Ref ref_a = pool.MakeRef("wut");
46 StringPool::Ref ref_b = pool.MakeRef("hey");
55 StringPool::Ref ref_a = pool.MakeRef("wut");
56 StringPool::Ref ref_b = pool.MakeRef("wut");
66 StringPool::Ref ref_a = pool.MakeRef("z");
67 StringPool::Ref ref_b = pool.MakeRef("a");
68 StringPool::Ref ref_c = pool.MakeRef("m");
78 StringPool::Ref ref_a = pool.MakeRef("foo");
81 StringPool::Ref ref_b = pool.MakeRef("wut")
    [all...]
ResourceValues_test.cpp 31 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
32 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
35 b.values[Plural::One] = util::make_unique<String>(pool.MakeRef("une"));
36 b.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("autre"));
39 c.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
40 c.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
50 a.values[Plural::One] = util::make_unique<String>(pool.MakeRef("one"));
51 a.values[Plural::Other] = util::make_unique<String>(pool.MakeRef("other"));
61 a.elements.push_back(util::make_unique<String>(pool.MakeRef("one")));
62 a.elements.push_back(util::make_unique<String>(pool.MakeRef("two")))
    [all...]
StringPool.h 164 Ref MakeRef(const android::StringPiece& str);
168 Ref MakeRef(const android::StringPiece& str, const Context& context);
171 Ref MakeRef(const Ref& ref);
174 StyleRef MakeRef(const StyleString& str);
178 StyleRef MakeRef(const StyleString& str, const Context& context);
181 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) {
194 StringPool::Ref StringPool::MakeRef(const Ref& ref) {
198 return MakeRef(ref.entry_->value, ref.entry_->context);
201 StringPool::StyleRef StringPool::MakeRef(const StyleString& str) {
202 return MakeRef(str, Context{});
205 StringPool::StyleRef StringPool::MakeRef(const StyleString& str, const Context& context) {
212 entry->spans.emplace_back(Span{MakeRef(span.name), span.first_char, span.last_char});
220 StringPool::StyleRef StringPool::MakeRef(const StyleRef& ref) {
227 entry->spans.emplace_back(Span{MakeRef(*span.name), span.first_char, span.last_char})
    [all...]
ResourceValues.cpp 58 RawString* rs = new RawString(new_pool->MakeRef(value));
200 String* str = new String(new_pool->MakeRef(value));
248 StyledString* str = new StyledString(new_pool->MakeRef(value));
283 FileReference* fr = new FileReference(new_pool->MakeRef(path));
ResourceUtils.cpp 702 return util::make_unique<StyledString>(dst_pool->MakeRef(
707 return util::make_unique<FileReference>(dst_pool->MakeRef(
712 return util::make_unique<String>(dst_pool->MakeRef(str, StringPool::Context(config)));
ResourceParser.cpp 587 util::make_unique<StyledString>(table_->string_pool.MakeRef(
617 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_)));
630 table_->string_pool.MakeRef(raw_value, StringPool::Context(config_)));
    [all...]
ResourceTable.cpp 340 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 68 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str)));
74 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str)));
85 return AddValue(name, id, util::make_unique<FileReference>(table_->string_pool.MakeRef(path)));
92 util::make_unique<FileReference>(table_->string_pool.MakeRef(path)));
  /frameworks/base/tools/aapt2/proto/
ProtoHelpers.cpp 36 StringPool::Ref ref = src_pool->MakeRef(source.path);
TableProtoDeserializer.cpp 178 pool->MakeRef(pb_item.str().value(), StringPool::Context(config)));
182 pool->MakeRef(pb_item.raw_str().value(), StringPool::Context(config)));
190 return util::make_unique<StyledString>(pool->MakeRef(
194 return util::make_unique<FileReference>(pool->MakeRef(
TableProtoSerializer_test.cpp 52 plural->values[Plural::One] = util::make_unique<String>(table->string_pool.MakeRef("one"));
63 util::make_unique<StyledString>(table->string_pool.MakeRef(style_string)),
  /frameworks/base/tools/aapt2/flatten/
TableFlattener.cpp 475 type_pool_.MakeRef(type_name.str());
479 type_pool_.MakeRef(ToString(type->type));
501 const uint32_t key_index = (uint32_t)key_pool_.MakeRef(entry->name).index();
XmlFlattener.cpp 163 pool.MakeRef(str, StringPool::Context(priority)), dest});
245 package_pools[aapt_attr.id.value().package_id()].MakeRef(
  /frameworks/base/tools/aapt2/link/
TableMerger.cpp 342 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath));
354 util::make_unique<FileReference>(table.string_pool.MakeRef(path));
ReferenceLinker.cpp 158 transformed = util::make_unique<String>(string_pool_->MakeRef(string_builder.ToString()));
ReferenceLinker_test.cpp 92 util::make_unique<RawString>(table->string_pool.MakeRef("one|two"));

Completed in 125 milliseconds