Lines Matching refs:attr
57 void Visit(const Attribute* attr) override { in Visit() argument
59 printer_->Print(attr->MaskString()); in Visit()
60 if (!attr->symbols.empty()) { in Visit()
61 printer_->Print(StringPrintf(" size=%zd", attr->symbols.size())); in Visit()
134 void Visit(const Attribute* attr) override { in Visit() argument
136 if (attr->type_mask & kMask) { in Visit()
137 for (const auto& symbol : attr->symbols) { in Visit()
214 for (const auto& attr : styleable->entries) { in Visit() local
215 if (attr.name) { in Visit()
216 const ResourceName& name = attr.name.value(); in Visit()
223 if (attr.id) { in Visit()
225 printer_->Print(attr.id.value().to_string()); in Visit()
230 if (attr.id) { in Visit()
231 printer_->Print(attr.id.value().to_string()); in Visit()
482 for (const xml::Attribute& attr : el->attributes) { in Visit() local
484 if (!attr.namespace_uri.empty()) { in Visit()
485 printer_->Print(attr.namespace_uri); in Visit()
488 printer_->Print(attr.name); in Visit()
490 if (attr.compiled_attribute) { in Visit()
493 attr.compiled_attribute.value().id.value_or_default(ResourceId(0)).to_string()); in Visit()
497 if (attr.compiled_value != nullptr) { in Visit()
498 attr.compiled_value->PrettyPrint(printer_); in Visit()
501 printer_->Print(attr.value); in Visit()
505 if (!attr.value.empty()) { in Visit()
507 printer_->Print(attr.value); in Visit()