Searched refs:maybeType (Results 1 – 1 of 1) sorted by relevance
349 if (Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type")) { in parseResource() local350 resourceType = maybeType.value().toString(); in parseResource()577 Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type"); in parsePublic() local578 if (!maybeType) { in parsePublic()583 const ResourceType* parsedType = parseResourceType(maybeType.value()); in parsePublic()586 << "invalid resource type '" << maybeType.value() << "' in <public>"); in parsePublic()615 Maybe<StringPiece16> maybeType = xml::findNonEmptyAttribute(parser, u"type"); in parsePublicGroup() local616 if (!maybeType) { in parsePublicGroup()622 const ResourceType* parsedType = parseResourceType(maybeType.value()); in parsePublicGroup()625 << "invalid resource type '" << maybeType.value() << "' in <public-group>"); in parsePublicGroup()[all …]