Searched refs:makeRef (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tools/aapt2/
H A DStringPool_test.cpp28 StringPool::Ref ref = pool.makeRef(u"wut");
35 StringPool::Ref ref = pool.makeRef(u"wut");
36 StringPool::Ref ref2 = pool.makeRef(u"hey");
45 StringPool::Ref ref = pool.makeRef(u"wut");
46 StringPool::Ref ref2 = pool.makeRef(u"wut");
56 StringPool::Ref ref = pool.makeRef(u"z");
57 StringPool::Ref ref2 = pool.makeRef(u"a");
58 StringPool::Ref ref3 = pool.makeRef(u"m");
68 StringPool::Ref refA = pool.makeRef(u"foo");
70 StringPool::Ref ref = pool.makeRef(
[all...]
H A DStringPool.h139 Ref makeRef(const StringPiece16& str);
146 Ref makeRef(const StringPiece16& str, const Context& context);
151 StyleRef makeRef(const StyleString& str);
158 StyleRef makeRef(const StyleString& str, const Context& context);
164 StyleRef makeRef(const StyleRef& ref);
H A DStringPool.cpp127 StringPool::Ref StringPool::makeRef(const StringPiece16& str) { function in class:aapt::StringPool
131 StringPool::Ref StringPool::makeRef(const StringPiece16& str, const Context& context) { function in class:aapt::StringPool
154 StringPool::StyleRef StringPool::makeRef(const StyleString& str) { function in class:aapt::StringPool
155 return makeRef(str, Context{});
158 StringPool::StyleRef StringPool::makeRef(const StyleString& str, const Context& context) { function in class:aapt::StringPool
170 styleEntry->spans.emplace_back(Span{makeRef(span.name),
178 StringPool::StyleRef StringPool::makeRef(const StyleRef& ref) { function in class:aapt::StringPool
190 styleEntry->spans.emplace_back(Span{ makeRef(*span.name), span.firstChar, span.lastChar });
H A DResourceValues.cpp43 RawString* rs = new RawString(newPool->makeRef(*value));
137 String* str = new String(newPool->makeRef(*value));
169 StyledString* str = new StyledString(newPool->makeRef(value));
193 FileReference* fr = new FileReference(newPool->makeRef(*path));
H A DResourceParser.cpp492 mTable->stringPool.makeRef(styleString, StringPool::Context{ 1, mConfig }));
517 mTable->stringPool.makeRef(styleString.str, StringPool::Context{ 1, mConfig }));
523 mTable->stringPool.makeRef(rawValue, StringPool::Context{ 1, mConfig }));
H A DResourceTable.cpp300 stringPool.makeRef(path));
/frameworks/base/tools/aapt2/test/
H A DBuilders.h68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str)));
74 util::make_unique<String>(mTable->stringPool.makeRef(str)));
84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path)));
90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path)));
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator_test.cpp35 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(),
56 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(),
H A DPseudolocaleGenerator.cpp111 pool->makeRef(localized));
173 std::unique_ptr<String> localized = util::make_unique<String>(mPool->makeRef(result));
/frameworks/base/tools/aapt2/proto/
H A DProtoHelpers.cpp36 StringPool::Ref ref = srcPool->makeRef(util::utf8ToUtf16(source.path));
H A DTableProtoDeserializer.cpp196 pool->makeRef(styleStr, StringPool::Context{ 1, config }));
199 pool->makeRef(str, StringPool::Context{ 1, config }));
205 pool->makeRef(str, StringPool::Context{ 1, config }));
211 pool->makeRef(str, StringPool::Context{ 0, config }));
H A DTableProtoSerializer_test.cpp50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one"));
H A DTableProtoSerializer.cpp184 StringPool::Ref symbolRef = mSymbolPool->makeRef(ref.name.value().toString());
/frameworks/base/tools/aapt2/flatten/
H A DXmlFlattener.cpp62 mPool.makeRef(str, StringPool::Context{ priority }),
225 StringPool::Ref nameRef = mPackagePools[aaptAttr.id.value().packageId()].makeRef(
H A DTableFlattener.cpp428 mTypePool.makeRef(typeName);
432 mTypePool.makeRef(toString(type->type));
445 const uint32_t keyIndex = (uint32_t) mKeyPool.makeRef(entry->name).getIndex();
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp286 mMasterTable->stringPool.makeRef(newPath));
299 table.stringPool.makeRef(path));
H A DReferenceLinker.cpp149 mStringPool->makeRef(stringBuilder.str()));
H A DReferenceLinker_test.cpp82 table->stringPool.makeRef(u"one|two"));
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp406 return util::make_unique<StyledString>(mTable->stringPool.makeRef(
412 return util::make_unique<FileReference>(mTable->stringPool.makeRef(
418 return util::make_unique<String>(mTable->stringPool.makeRef(

Completed in 3543 milliseconds