Searched refs:makeRef (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | StringPool_test.cpp | 30 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() 37 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() 38 StringPool::Ref ref2 = pool.makeRef(u"hey"); in TEST() 47 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() 48 StringPool::Ref ref2 = pool.makeRef(u"wut"); in TEST() 58 StringPool::Ref ref = pool.makeRef(u"z"); in TEST() 59 StringPool::Ref ref2 = pool.makeRef(u"a"); in TEST() 60 StringPool::Ref ref3 = pool.makeRef(u"m"); in TEST() 71 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() 84 StringPool::Ref ref = pool.makeRef(u"z"); in TEST() [all …]
|
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);
|
D | Linker_test.cpp | 73 util::make_unique<String>(mTable->getValueStringPool().makeRef(u"?123")))); in TEST_F() 83 util::make_unique<RawString>(mTable->getValueStringPool().makeRef(u" 123")) in TEST_F() 99 util::make_unique<RawString>(mTable->getValueStringPool().makeRef(u"yo what is up?")) in TEST_F() 112 mTable->getValueStringPool().makeRef(u" \"this is \\u00fa\".")) in TEST_F() 130 util::make_unique<RawString>(mTable->getValueStringPool().makeRef(u"banana | apple")) in TEST_F()
|
D | StringPool.cpp | 127 StringPool::Ref StringPool::makeRef(const StringPiece16& str) { in makeRef() function in aapt::StringPool 131 StringPool::Ref StringPool::makeRef(const StringPiece16& str, const Context& context) { in makeRef() function in aapt::StringPool 154 StringPool::StyleRef StringPool::makeRef(const StyleString& str) { in makeRef() function in aapt::StringPool 155 return makeRef(str, Context{}); in makeRef() 158 StringPool::StyleRef StringPool::makeRef(const StyleString& str, const Context& context) { in makeRef() function in aapt::StringPool 170 styleEntry->spans.emplace_back(Span{makeRef(span.name), in makeRef() 178 StringPool::StyleRef StringPool::makeRef(const StyleRef& ref) { in makeRef() function in aapt::StringPool 190 styleEntry->spans.emplace_back(Span{ makeRef(*span.name), span.firstChar, span.lastChar }); in makeRef()
|
D | ResourceValues.cpp | 43 return new RawString(newPool->makeRef(*value)); in clone() 132 return new String(newPool->makeRef(*value)); in clone() 153 return new StyledString(newPool->makeRef(value)); in clone() 174 return new FileReference(newPool->makeRef(*path)); in clone()
|
D | TableFlattener.cpp | 335 typePool.makeRef(typeName); in flatten() 339 typePool.makeRef(toString(type->type)); in flatten() 405 size_t keyIndex = keyPool.makeRef(entry->name).getIndex(); in flatten() 419 publicEntry->source.index = static_cast<uint32_t>(sourcePool.makeRef( in flatten() 430 static_cast<uint32_t>(sourcePool.makeRef(util::utf8ToUtf16( in flatten() 500 StringPool::Ref ref = symbolPool.makeRef( in flatten()
|
D | BinaryResourceParser.cpp | 684 mTable->getValueStringPool().makeRef( in parseValue() 690 return util::make_unique<FileReference>(mTable->getValueStringPool().makeRef( in parseValue() 697 mTable->getValueStringPool().makeRef( in parseValue() 726 mTable->getValueStringPool().makeRef(util::getString(mValuePool, value->data), in parseValue()
|
D | XmlFlattener.cpp | 156 mStringRefs->emplace_back(mPool->makeRef(str, StringPool::Context{ priority }), dest); in addString() 345 StringPool::Ref nameRef = (*mPackagePools)[package.value()].makeRef( in writeAttributes()
|
D | Linker.cpp | 208 mTable->getValueStringPool().makeRef(builder.str())); in processAttributeValue()
|
D | ResourceParser.cpp | 761 pool.makeRef(styleString, StringPool::Context{ 1, mConfig })); in parseXml() 791 pool.makeRef(styleString.str, StringPool::Context{ 1, mConfig })); in parseXml() 797 pool.makeRef(rawValue, StringPool::Context{ 1, mConfig })); in parseXml()
|
D | Main.cpp | 257 StringPool::Ref ref = pool.makeRef(util::utf8ToUtf16(buildFileReference(item)), in addFileReference() 718 ref.path = table->getValueStringPool().makeRef(util::utf8ToUtf16( in addApkFilesToLinkQueue()
|