Home
last modified time | relevance | path

Searched refs:pbSymbol (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/proto/
DTableProtoSerializer.cpp93 pb::Attribute_Symbol* pbSymbol = pbAttr->add_symbols(); in visit() local
94 serializeItemCommonToPb(symbol.symbol, pbSymbol); in visit()
95 serializeReferenceToPb(symbol.symbol, pbSymbol->mutable_name()); in visit()
96 pbSymbol->set_value(symbol.value); in visit()
283 pb::CompiledFile_Symbol* pbSymbol = pbFile->add_exported_symbols(); in serializeCompiledFileToPb() local
284 pbSymbol->set_resource_name(util::utf16ToUtf8(exported.name.toString())); in serializeCompiledFileToPb()
285 pbSymbol->set_line_no(exported.line); in serializeCompiledFileToPb()
DTableProtoDeserializer.cpp239 for (const pb::Attribute_Symbol& pbSymbol : pbAttr.symbols()) { in deserializeValueFromPb() local
241 deserializeItemCommon(pbSymbol, &symbol.symbol); in deserializeValueFromPb()
242 if (!deserializeReferenceFromPb(pbSymbol.name(), &symbol.symbol)) { in deserializeValueFromPb()
245 symbol.value = pbSymbol.value(); in deserializeValueFromPb()
459 for (const pb::CompiledFile_Symbol& pbSymbol : pbFile.exported_symbols()) { in deserializeCompiledFileFromPb() local
461 utf16Name = util::utf8ToUtf16(pbSymbol.resource_name()); in deserializeCompiledFileFromPb()
469 SourcedResourceName{ nameRef.toResourceName(), pbSymbol.line_no() }); in deserializeCompiledFileFromPb()