Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp668 pb::XmlNamespace* pb_ns = pb_element->add_namespace_declaration(); in SerializeXmlToPb() local
669 pb_ns->set_prefix(ns.prefix); in SerializeXmlToPb()
670 pb_ns->set_uri(ns.uri); in SerializeXmlToPb()
671 pb::SourcePosition* pb_src = pb_ns->mutable_source(); in SerializeXmlToPb()
DProtoDeserialize.cpp962 for (const pb::XmlNamespace& pb_ns : pb_el.namespace_declaration()) { in DeserializeXmlFromPb() local
964 decl.uri = pb_ns.uri(); in DeserializeXmlFromPb()
965 decl.prefix = pb_ns.prefix(); in DeserializeXmlFromPb()
966 decl.line_number = pb_ns.source().line_number(); in DeserializeXmlFromPb()
967 decl.column_number = pb_ns.source().column_number(); in DeserializeXmlFromPb()