Searched refs:pb_attr (Results 1 – 2 of 2) sorted by relevance
566 pb::Attribute* pb_attr = out_value_->mutable_compound_value()->mutable_attr(); in Visit() local567 pb_attr->set_format_flags(attr->type_mask); in Visit()568 pb_attr->set_min_int(attr->min_int); in Visit()569 pb_attr->set_max_int(attr->max_int); in Visit()572 pb::Attribute_Symbol* pb_symbol = pb_attr->add_symbol(); in Visit()699 pb::XmlAttribute* pb_attr = pb_element->add_attribute(); in SerializeXmlToPb() local700 pb_attr->set_name(attr.name); in SerializeXmlToPb()701 pb_attr->set_namespace_uri(attr.namespace_uri); in SerializeXmlToPb()702 pb_attr->set_value(attr.value); in SerializeXmlToPb()705 pb_attr->set_resource_id(attr_id.id); in SerializeXmlToPb()[all …]
706 const pb::Attribute& pb_attr = pb_compound_value.attr(); in DeserializeValueFromPb() local707 std::unique_ptr<Attribute> attr = util::make_unique<Attribute>(pb_attr.format_flags()); in DeserializeValueFromPb()708 attr->min_int = pb_attr.min_int(); in DeserializeValueFromPb()709 attr->max_int = pb_attr.max_int(); in DeserializeValueFromPb()710 for (const pb::Attribute_Symbol& pb_symbol : pb_attr.symbol()) { in DeserializeValueFromPb()979 for (const pb::XmlAttribute& pb_attr : pb_el.attribute()) { in DeserializeXmlFromPb() local981 attr.name = pb_attr.name(); in DeserializeXmlFromPb()982 attr.namespace_uri = pb_attr.namespace_uri(); in DeserializeXmlFromPb()983 attr.value = pb_attr.value(); in DeserializeXmlFromPb()984 if (pb_attr.resource_id() != 0u) { in DeserializeXmlFromPb()[all …]