Searched refs:pbFile (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt2/dump/ |
D | Dump.cpp | 34 void dumpCompiledFile(const pb::CompiledFile& pbFile, const void* data, size_t len, in dumpCompiledFile() argument 36 std::unique_ptr<ResourceFile> file = deserializeCompiledFileFromPb(pbFile, source, in dumpCompiledFile() 106 if (const pb::CompiledFile* pbFile = input.CompiledFile()) { in tryDumpFile() local 107 dumpCompiledFile(*pbFile, input.data(), input.size(), Source(filePath), context); in tryDumpFile()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 277 std::unique_ptr<pb::CompiledFile> pbFile = util::make_unique<pb::CompiledFile>(); in serializeCompiledFileToPb() local 278 pbFile->set_resource_name(util::utf16ToUtf8(file.name.toString())); in serializeCompiledFileToPb() 279 pbFile->set_source_path(file.source.path); in serializeCompiledFileToPb() 280 serializeConfig(file.config, pbFile->mutable_config()); in serializeCompiledFileToPb() 283 pb::CompiledFile_Symbol* pbSymbol = pbFile->add_exported_symbols(); in serializeCompiledFileToPb() 287 return pbFile; in serializeCompiledFileToPb() 291 pb::CompiledFile* pbFile) : in CompiledFileOutputStream() argument 292 mOut(out), mPbFile(pbFile) { in CompiledFileOutputStream()
|
D | TableProtoDeserializer.cpp | 441 std::unique_ptr<ResourceFile> deserializeCompiledFileFromPb(const pb::CompiledFile& pbFile, in deserializeCompiledFileFromPb() argument 449 std::u16string utf16Name = util::utf8ToUtf16(pbFile.resource_name()); in deserializeCompiledFileFromPb() 452 << pbFile.resource_name()); in deserializeCompiledFileFromPb() 456 file->source.path = pbFile.source_path(); in deserializeCompiledFileFromPb() 457 deserializeConfigDescriptionFromPb(pbFile.config(), &file->config); in deserializeCompiledFileFromPb() 459 for (const pb::CompiledFile_Symbol& pbSymbol : pbFile.exported_symbols()) { in deserializeCompiledFileFromPb() 465 << pbFile.resource_name()); in deserializeCompiledFileFromPb() 481 std::unique_ptr<pb::CompiledFile> pbFile = util::make_unique<pb::CompiledFile>(); in CompiledFile() local 487 if (!pbFile->ParsePartialFromCodedStream(&mIn)) { in CompiledFile() 499 mPbFile = std::move(pbFile); in CompiledFile()
|
D | ProtoSerialize.h | 37 std::unique_ptr<ResourceFile> deserializeCompiledFileFromPb(const pb::CompiledFile& pbFile, 44 pb::CompiledFile* pbFile);
|
D | TableProtoSerializer_test.cpp | 124 std::unique_ptr<pb::CompiledFile> pbFile = serializeCompiledFileToPb(f); in TEST() local 129 CompiledFileOutputStream outFileStream(&outStream, pbFile.get()); in TEST() 153 std::unique_ptr<pb::CompiledFile> pbFile = serializeCompiledFileToPb(f); in TEST() local 160 CompiledFileOutputStream outFileStream(&outStream, pbFile.get()); in TEST()
|
/frameworks/base/tools/aapt2/link/ |
D | Link.cpp | 267 const pb::CompiledFile* pbFile = inputStream.CompiledFile(); in loadFileExportHeader() local 268 if (!pbFile) { in loadFileExportHeader() 273 std::unique_ptr<ResourceFile> resFile = deserializeCompiledFileFromPb(*pbFile, source, diag); in loadFileExportHeader()
|