Lines Matching refs:maybe_name

580   Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name");  in ParseResource()  local
583 if (!maybe_name) { in ParseResource()
591 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
626 if (!maybe_name) { in ParseResource()
633 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
653 if (!maybe_name) { in ParseResource()
659 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
676 if (!maybe_name) { in ParseResource()
684 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
954 Maybe<StringPiece> maybe_name = in ParsePublicGroup() local
956 if (!maybe_name) { in ParsePublicGroup()
979 child_resource.name.entry = maybe_name.value().to_string(); in ParsePublicGroup()
1369 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseEnumOrFlagItem() local
1370 if (!maybe_name) { in ParseEnumOrFlagItem()
1393 Reference(ResourceNameRef({}, ResourceType::kId, maybe_name.value())), in ParseEnumOrFlagItem()
1400 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseStyleItem() local
1401 if (!maybe_name) { in ParseStyleItem()
1406 Maybe<Reference> maybe_key = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseStyleItem()
1408 diag_->Error(DiagMessage(source) << "invalid attribute name '" << maybe_name.value() << "'"); in ParseStyleItem()
1683 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseDeclareStyleable() local
1684 if (!maybe_name) { in ParseDeclareStyleable()
1693 Maybe<Reference> maybe_ref = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseDeclareStyleable()
1696 << maybe_name.value() << "'"); in ParseDeclareStyleable()