Lines Matching refs:maybe_name

577   Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name");  in ParseResource()  local
580 if (!maybe_name) { in ParseResource()
588 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
623 if (!maybe_name) { in ParseResource()
630 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
650 if (!maybe_name) { in ParseResource()
656 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
673 if (!maybe_name) { in ParseResource()
681 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
937 Maybe<StringPiece> maybe_name = in ParsePublicGroup() local
939 if (!maybe_name) { in ParsePublicGroup()
962 child_resource.name.entry = maybe_name.value().to_string(); in ParsePublicGroup()
1043 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseOverlayable() local
1044 if (!maybe_name) { in ParseOverlayable()
1070 child_resource.name.entry = maybe_name.value().to_string(); in ParseOverlayable()
1260 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseEnumOrFlagItem() local
1261 if (!maybe_name) { in ParseEnumOrFlagItem()
1284 Reference(ResourceNameRef({}, ResourceType::kId, maybe_name.value())), in ParseEnumOrFlagItem()
1291 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseStyleItem() local
1292 if (!maybe_name) { in ParseStyleItem()
1297 Maybe<Reference> maybe_key = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseStyleItem()
1299 diag_->Error(DiagMessage(source) << "invalid attribute name '" << maybe_name.value() << "'"); in ParseStyleItem()
1566 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseDeclareStyleable() local
1567 if (!maybe_name) { in ParseDeclareStyleable()
1576 Maybe<Reference> maybe_ref = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseDeclareStyleable()
1579 << maybe_name.value() << "'"); in ParseDeclareStyleable()