Lines Matching refs:Maybe
106 Maybe<OverlayableItem> overlayable_item;
243 Maybe<size_t> untranslatable_start_depth; in FlattenXmlSubtree()
458 if (Maybe<StringPiece> maybe_product = xml::FindNonEmptyAttribute(parser, "product")) { in ParseResources()
548 if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseResource()
556 if (Maybe<StringPiece> maybe_format = xml::FindNonEmptyAttribute(parser, "format")) { in ParseResource()
572 if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseResource()
583 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseResource()
791 if (Maybe<StringPiece> formatted_attr = in ParseString()
793 Maybe<bool> maybe_formatted = in ParseString()
804 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) { in ParseString()
805 Maybe<bool> maybe_translatable = ResourceUtils::ParseBool(translatable_attr.value()); in ParseString()
856 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParsePublic()
873 if (Maybe<StringPiece> maybe_id_str = xml::FindNonEmptyAttribute(parser, "id")) { in ParsePublic()
874 Maybe<ResourceId> maybe_id = ResourceUtils::ParseResourceId(maybe_id_str.value()); in ParsePublic()
905 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParsePublicGroup()
920 Maybe<StringPiece> maybe_id_str = in ParsePublicGroup()
928 Maybe<ResourceId> maybe_id = in ParsePublicGroup()
955 Maybe<StringPiece> maybe_name = in ParsePublicGroup()
999 Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type"); in ParseSymbolImpl()
1046 Maybe<StringPiece> overlayable_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseOverlayable()
1055 Maybe<StringPiece> overlayable_actor = xml::FindNonEmptyAttribute(parser, "actor"); in ParseOverlayable()
1103 Maybe<StringPiece> item_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseOverlayable()
1111 Maybe<StringPiece> item_type = xml::FindNonEmptyAttribute(parser, "type"); in ParseOverlayable()
1145 } else if (Maybe<StringPiece> maybe_type = xml::FindNonEmptyAttribute(parser, "type")) { in ParseOverlayable()
1211 Maybe<StringPiece> maybe_format = xml::FindAttribute(parser, "format"); in ParseAttrImpl()
1221 Maybe<int32_t> maybe_min, maybe_max; in ParseAttrImpl()
1223 if (Maybe<StringPiece> maybe_min_str = xml::FindAttribute(parser, "min")) { in ParseAttrImpl()
1240 if (Maybe<StringPiece> maybe_max_str = xml::FindAttribute(parser, "max")) { in ParseAttrImpl()
1307 if (Maybe<Attribute::Symbol> s = in ParseAttrImpl()
1358 Maybe<Attribute::Symbol> ResourceParser::ParseEnumOrFlagItem( in ParseEnumOrFlagItem()
1362 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseEnumOrFlagItem()
1369 Maybe<StringPiece> maybe_value = xml::FindNonEmptyAttribute(parser, "value"); in ParseEnumOrFlagItem()
1393 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseStyleItem()
1399 Maybe<Reference> maybe_key = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseStyleItem()
1424 Maybe<StringPiece> maybe_parent = xml::FindAttribute(parser, "parent"); in ParseStyle()
1480 if (Maybe<StringPiece> format_attr = xml::FindNonEmptyAttribute(parser, "format")) { in ParseArray()
1507 if (Maybe<StringPiece> translatable_attr = xml::FindAttribute(parser, "translatable")) { in ParseArrayImpl()
1508 Maybe<bool> maybe_translatable = ResourceUtils::ParseBool(translatable_attr.value()); in ParseArrayImpl()
1573 Maybe<StringPiece> maybe_quantity = in ParsePlural()
1676 Maybe<StringPiece> maybe_name = xml::FindNonEmptyAttribute(parser, "name"); in ParseDeclareStyleable()
1686 Maybe<Reference> maybe_ref = ResourceUtils::ParseXmlAttributeName(maybe_name.value()); in ParseDeclareStyleable()