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()
26 xml::Attribute dst{src.namespace_uri, src.name, src.value, src.compiled_attribute}; in CopyAttr()42 dst_attr->compiled_attribute = src_attr.compiled_attribute; in CopyAttribute()88 const ResourceId attr_resid = result.attr.compiled_attribute.value().id.value(); in ProcessRule()112 if (!attr.compiled_attribute) { in ProcessDoc()118 const ResourceId attr_resid = attr.compiled_attribute.value().id.value(); in ProcessDoc()
101 attr.compiled_attribute = in Visit()104 if (!attr.compiled_attribute) { in Visit()114 attribute = &attr.compiled_attribute.value().attribute; in Visit()
382 size->compiled_attribute = xml::AaptAttribute(Attribute(), {kScreenSizeResourceId}); in AddScreens()386 density->compiled_attribute = xml::AaptAttribute(Attribute(), {kScreenDensityResourceId}); in AddScreens()
242 attr.compiled_attribute = AaptAttribute(::aapt::Attribute(), {res_id}); in CopyAttributes()385 cloned_attr.compiled_attribute = attr.compiled_attribute; in Clone()
82 Maybe<AaptAttribute> compiled_attribute; member
482 if (attr.compiled_attribute) { in Visit()485 attr.compiled_attribute.value().id.value_or_default(ResourceId(0)).to_string()); in Visit()
196 attr.compiled_attribute = xml::AaptAttribute(Attribute{}, ResourceId(0x01010000)); in TEST()249 ASSERT_TRUE(actual_attr.compiled_attribute); in TEST()250 ASSERT_TRUE(actual_attr.compiled_attribute.value().id); in TEST()
681 if (attr.compiled_attribute) { in SerializeXmlToPb()682 const ResourceId attr_id = attr.compiled_attribute.value().id.value_or_default({}); in SerializeXmlToPb()
977 attr.compiled_attribute = xml::AaptAttribute{Attribute(), ResourceId(pb_attr.resource_id())}; in DeserializeXmlFromPb()
98 if (a.compiled_attribute && a.compiled_attribute.value().id) { in FindAttribute()99 if (a.compiled_attribute.value().id.value() == resd_id) { in FindAttribute()