/frameworks/base/tools/aapt2/ |
H A D | StringPool_test.cpp | 28 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 D | StringPool.h | 139 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 D | StringPool.cpp | 127 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 D | ResourceValues.cpp | 43 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 D | ResourceParser.cpp | 492 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 D | ResourceTable.cpp | 300 stringPool.makeRef(path));
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 68 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 D | PseudolocaleGenerator_test.cpp | 35 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(), 56 util::make_unique<StyledString>(pool.makeRef(originalStyle)).get(),
|
H A D | PseudolocaleGenerator.cpp | 111 pool->makeRef(localized)); 173 std::unique_ptr<String> localized = util::make_unique<String>(mPool->makeRef(result));
|
/frameworks/base/tools/aapt2/proto/ |
H A D | ProtoHelpers.cpp | 36 StringPool::Ref ref = srcPool->makeRef(util::utf8ToUtf16(source.path));
|
H A D | TableProtoDeserializer.cpp | 196 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 D | TableProtoSerializer_test.cpp | 50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one"));
|
H A D | TableProtoSerializer.cpp | 184 StringPool::Ref symbolRef = mSymbolPool->makeRef(ref.name.value().toString());
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | XmlFlattener.cpp | 62 mPool.makeRef(str, StringPool::Context{ priority }), 225 StringPool::Ref nameRef = mPackagePools[aaptAttr.id.value().packageId()].makeRef(
|
H A D | TableFlattener.cpp | 428 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 D | TableMerger.cpp | 286 mMasterTable->stringPool.makeRef(newPath)); 299 table.stringPool.makeRef(path));
|
H A D | ReferenceLinker.cpp | 149 mStringPool->makeRef(stringBuilder.str()));
|
H A D | ReferenceLinker_test.cpp | 82 table->stringPool.makeRef(u"one|two"));
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 406 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(
|