Searched refs:compiled_attribute (Results 1 – 11 of 11) sorted by relevance
46 if (a->compiled_attribute && a->compiled_attribute.value().id) { in cmp_xml_attribute_by_id()47 if (b->compiled_attribute && b->compiled_attribute.value().id) { in cmp_xml_attribute_by_id()48 return a->compiled_attribute.value().id.value() < b->compiled_attribute.value().id.value(); in cmp_xml_attribute_by_id()51 } else if (!b->compiled_attribute) { in cmp_xml_attribute_by_id()227 if (xml_attr->compiled_attribute && xml_attr->compiled_attribute.value().id && in WriteAttributes()228 xml_attr->compiled_attribute.value().id.value() == kIdAttr) { in WriteAttributes()246 if (!xml_attr->compiled_attribute || !xml_attr->compiled_attribute.value().id) { in WriteAttributes()257 const xml::AaptAttribute& aapt_attr = xml_attr->compiled_attribute.value(); in WriteAttributes()
27 xml::Attribute dst{src.namespace_uri, src.name, src.value, src.compiled_attribute}; in CopyAttr()44 dst_attr->compiled_attribute = src_attr.compiled_attribute; in CopyAttribute()90 const ResourceId attr_resid = result.attr.compiled_attribute.value().id.value(); in ProcessRule()114 if (!attr.compiled_attribute) { in ProcessDoc()120 const ResourceId attr_resid = attr.compiled_attribute.value().id.value(); in ProcessDoc()
77 attr.compiled_attribute = in Visit()80 if (!attr.compiled_attribute) { in Visit()90 attribute = &attr.compiled_attribute.value().attribute; in Visit()
395 size->compiled_attribute = xml::AaptAttribute(Attribute(), {kScreenSizeResourceId}); in AddScreens()399 density->compiled_attribute = xml::AaptAttribute(Attribute(), {kScreenDensityResourceId}); in AddScreens()
244 attr.compiled_attribute = AaptAttribute(::aapt::Attribute(), {res_id}); in CopyAttributes()388 cloned_attr.compiled_attribute = attr.compiled_attribute; in Clone()
81 std::optional<AaptAttribute> compiled_attribute; member
772 if (attr.compiled_attribute) { in SerializeXmlToPb()773 const ResourceId attr_id = attr.compiled_attribute.value().id.value_or(ResourceId{}); in SerializeXmlToPb()
272 attr.compiled_attribute = xml::AaptAttribute(Attribute{}, ResourceId(0x01010000)); in TEST()325 ASSERT_TRUE(actual_attr.compiled_attribute); in TEST()326 ASSERT_TRUE(actual_attr.compiled_attribute.value().id); in TEST()
1047 attr.compiled_attribute = xml::AaptAttribute{Attribute(), ResourceId(pb_attr.resource_id())}; in DeserializeXmlFromPb()
496 if (attr.compiled_attribute) { in Visit()498 printer_->Print(attr.compiled_attribute.value().id.value_or(ResourceId(0)).to_string()); in Visit()
106 if (a.compiled_attribute && a.compiled_attribute.value().id) { in FindAttribute()107 if (a.compiled_attribute.value().id.value() == resd_id) { in FindAttribute()