Searched refs:utf8ToUtf16 (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 197 outName = util::utf8ToUtf16(name); in splitName() 199 outNs = util::utf8ToUtf16(StringPiece(name, (p - name))); in splitName() 200 outName = util::utf8ToUtf16(p + 1); in splitName() 207 std::u16string namespaceUri = uri != nullptr ? util::utf8ToUtf16(uri) : std::u16string(); in startNamespaceHandler() 213 prefix != nullptr ? util::utf8ToUtf16(prefix) : std::u16string(), in startNamespaceHandler() 230 attribute.value = util::utf8ToUtf16(*attrs++); in startElementHandler() 248 util::utf8ToUtf16(StringPiece(s, len)) in characterDataHandler() 271 prefix != nullptr ? util::utf8ToUtf16(prefix) : std::u16string(), in endNamespaceHandler() 284 util::utf8ToUtf16(comment) in commentDataHandler()
|
D | XmlDom.cpp | 50 *outName = util::utf8ToUtf16(name); in splitName() 52 *outNs = util::utf8ToUtf16(StringPiece(name, (p - name))); in splitName() 53 *outName = util::utf8ToUtf16(p + 1); in splitName() 79 ns->namespacePrefix = util::utf8ToUtf16(prefix); in startNamespaceHandler() 83 ns->namespaceUri = util::utf8ToUtf16(uri); in startNamespaceHandler() 112 attribute.value = util::utf8ToUtf16(*attrs++); in startElementHandler() 147 text->text += util::utf8ToUtf16(StringPiece(s, len)); in characterDataHandler() 154 text->text = util::utf8ToUtf16(StringPiece(s, len)); in characterDataHandler() 165 stack->pendingComment += util::utf8ToUtf16(comment); in commentDataHandler()
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer_test.cpp | 32 pseudo.start() + pseudo.text(util::utf8ToUtf16(input)) + pseudo.end()); in simpleHelper() 44 pseudo.text(util::utf8ToUtf16(in1)) + in compoundHelper() 45 pseudo.text(util::utf8ToUtf16(in2)) + in compoundHelper() 46 pseudo.text(util::utf8ToUtf16(in3)) + in compoundHelper()
|
D | Compile.cpp | 99 util::utf8ToUtf16(dirStr), in extractResourcePathData() 100 util::utf8ToUtf16(name), in extractResourcePathData()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoDeserializer.cpp | 74 util::utf8ToUtf16(pbPackage.package_name()), id); in deserializeFromPb() 76 const ResourceType* resType = parseResourceType(util::utf8ToUtf16(pbType.name())); in deserializeFromPb() 85 ResourceEntry* entry = type->findOrCreateEntry(util::utf8ToUtf16(pbEntry.name())); in deserializeFromPb() 96 entry->symbolStatus.comment = util::utf8ToUtf16(pbStatus.comment()); in deserializeFromPb() 374 outValue->setComment(util::utf8ToUtf16(pbItem.comment())); in deserializeItemCommon() 447 std::u16string utf16Name = util::utf8ToUtf16(pbFile.resource_name()); in deserializeCompiledFileFromPb() 459 utf16Name = util::utf8ToUtf16(pbSymbol.resource_name()); in deserializeCompiledFileFromPb()
|
D | ProtoHelpers.cpp | 36 StringPool::Ref ref = srcPool->makeRef(util::utf8ToUtf16(source.path)); in serializeSourceToPb()
|
/frameworks/base/tools/aapt2/link/ |
D | Link.cpp | 405 std::u16string genPath = util::utf8ToUtf16(ResourceUtils::buildResourceFileName( in linkAndVersionXmlFile() 1482 options.privateSymbols = util::utf8ToUtf16(privateSymbolsPackage.value()); in link() 1487 util::utf8ToUtf16(minSdkVersion.value()); in link() 1492 util::utf8ToUtf16(targetSdkVersion.value()); in link() 1497 util::utf8ToUtf16(renameManifestPackage.value()); in link() 1502 util::utf8ToUtf16(renameInstrumentationTargetPackage.value()); in link() 1506 options.manifestFixerOptions.versionCodeDefault = util::utf8ToUtf16(versionCode.value()); in link() 1510 options.manifestFixerOptions.versionNameDefault = util::utf8ToUtf16(versionName.value()); in link() 1514 options.customJavaPackage = util::utf8ToUtf16(customJavaPackage.value()); in link() 1521 options.extraJavaPackages.insert(util::utf8ToUtf16(package)); in link()
|
D | TableMerger.cpp | 296 std::u16string path = util::utf8ToUtf16(ResourceUtils::buildResourceFileName(fileDesc, in mergeFileImpl()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 252 type = parseResourceType(util::utf8ToUtf16(StringPiece(resName.type8, resName.typeLen))); in getResourceName() 266 name.entry = util::utf8ToUtf16(StringPiece(resName.name8, resName.nameLen)); in getResourceName()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.h | 208 std::u16string utf8ToUtf16(const StringPiece& utf8);
|
D | Util.cpp | 424 std::u16string utf8ToUtf16(const StringPiece& utf8) { in utf8ToUtf16() function
|