Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp551 pb::Attribute_Symbol* pb_symbol = pb_attr->add_symbol(); in Visit() local
552 SerializeItemMetaDataToPb(symbol.symbol, pb_symbol, src_pool_); in Visit()
553 SerializeReferenceToPb(symbol.symbol, pb_symbol->mutable_name()); in Visit()
554 pb_symbol->set_value(symbol.value); in Visit()
647 pb::internal::CompiledFile_Symbol* pb_symbol = out_file->add_exported_symbol(); in SerializeCompiledFileToPb() local
648 pb_symbol->set_resource_name(exported.name.to_string()); in SerializeCompiledFileToPb()
649 pb_symbol->mutable_source()->set_line_number(exported.line); in SerializeCompiledFileToPb()
DProtoDeserialize.cpp603 for (const pb::internal::CompiledFile_Symbol& pb_symbol : pb_file.exported_symbol()) { in DeserializeCompiledFileFromPb() local
604 if (!ResourceUtils::ParseResourceName(pb_symbol.resource_name(), &name_ref)) { in DeserializeCompiledFileFromPb()
613 if (pb_symbol.has_source()) { in DeserializeCompiledFileFromPb()
614 line = pb_symbol.source().line_number(); in DeserializeCompiledFileFromPb()
704 for (const pb::Attribute_Symbol& pb_symbol : pb_attr.symbol()) { in DeserializeValueFromPb() local
706 DeserializeItemMetaDataFromPb(pb_symbol, src_pool, &symbol.symbol); in DeserializeValueFromPb()
707 if (!DeserializeReferenceFromPb(pb_symbol.name(), &symbol.symbol, out_error)) { in DeserializeValueFromPb()
710 symbol.value = pb_symbol.value(); in DeserializeValueFromPb()